Open main menu

Changes

m
Text replacement - "</cmd>" to "}}"
< [[Graphics]] | [[Using_Graphics]] >You can use the commands for text, but also for graphics or other “building blocks”.
In [http://source.contextgarden.net/tex/context/base/core-mis.mkii core-mis.mkii] ([http://source.contextgarden.net/tex/context/base/core-mis.mkiv core-mis.mkiv] for MkIV) there are some handy commands for graphical text manipulation defined. This page’s title is misleading, since you can use the commands also for graphics and other “building blocks”. == \scale =Scaling=
You can insert symbols at a reduced size in the text flow.
</context>
== \mirror =Mirroring =
<context source=yes>
There is a \mirror{\sl mirorred} {\sl word} in this sentence.
</context>
== \rotate =Rotating =
You can rotate something by an arbitrary angle by saying something like
</context>
=== location Location parameter ===
An example by Hans Hagen showing the influence of <code>location=</code> argument at different angles:
You can rotate a long paragraph as well.
=== in In a box ===
Depending on the usage you will sometimes probably want to include the content of what you wish to rotate into a box. Compare the following two examples:
</context>
=== page Page dependent landscape figures ===
Sometimes, in a double-sided portrait document, you may wish to rotate a landscape figure so that the top is towards the spine of the book – no matter whether it's on an odd or even page. In this case the <{{cmd>|doifoddpageelse</cmd> }} command can help:
<texcode>
This example is by Wolfgang, from [http://www.ntg.nl/pipermail/ntg-context/2011/059834.html the thread starting here]. The thread contains other solutions to the problem.
== \clip =Clipping=
You can adjust the size of an element by cropping/clipping its borders:
</context>
see also <{{cmd>|setupclipping</cmd> }} and <{{cmd>|clip<}} =Further reading= In [https:/cmd>/source.contextgarden.net/tex/context/base/mkii/core-mis.mkii core-mis.mkii] (for MkII), there are some handy commands for graphical text manipulation defined. {{todo|What is the equivalent for mkiv ?}} [[Category:Basics]][[Category:Graphics]]