Changes

Jump to navigation Jump to search
633 bytes added ,  15:23, 12 August 2022
add example of location settings
More info at [[Scaling_Rotating_Mirroring_Clipping#Rotating|Rotating]].</cd:description>
<cd:examples><cd:example title="Simple example"><context source="yes">
\setuppapersize[A5]
\input zapf
\rotate[rotation=45,frame=on,offset=2pt]{Hello world!}
\input ward
</context></cd:example><cd:example title="Different &lt;tt&gt;location&lt;/tt&gt; settings"><context>
\useMPlibrary[dum]
\start\setupexternalfigures[width=4em,height=3em,frame=on,]\ss\bf
\hbox{\doloopoverlist{˚,normal,depth,fit,broad,high,middle}{\inframed[width=4.25em,frame=off]{\recursestring}}}\par
\dostepwiserecurse{0}{359}{45}{\hbox{\inframed[width=3em,frame=off,align=flushright]{\recurselevel˚}\quad
\doloopoverlist{normal,depth,fit,broad,high,middle}{
\ruledhbox{%
\rotate[rotation=\recurselevel, location=\recursestring]{%
\externalfigure[\recursestring]
}%
}%
}}\par
}
\stop
</context></cd:example></cd:examples>
<cd:notes></cd:notes>

Navigation menu