Difference between revisions of "Command/scale"

From ConTeXt wiki
Jump to navigationJump to search
m (moved Reference/en/scale to Command/scale: Text replace - "Reference/en/" to "Command/")
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
Line 88: Line 88:
 
== See also ==
 
== See also ==
 
[[cmd:clip|\clip]]
 
[[cmd:clip|\clip]]
 +
 +
== ConTeXt-Forum ==
 +
{{Forum|{{SUBPAGENAME}}}}
  
 
[[Category:Commands|scale]]
 
[[Category:Commands|scale]]

Revision as of 23:57, 14 March 2012

\scale

Syntax

\scale[...,...=...,...]{...}
sx number
sy number
scale number
width dimension
height dimension
{...} text


Description

Handles scaling of text by various methods.

Comment

Additionally, you can set the following parameters.

lines scales to match a number of lines
factor scales by factor
wfactor appears to scale at a lesser ratio than factor
hfactor appears to scale like factor
grid ?

Example

Spam.
\scale[factor=15 ]{Spam.}
\scale[wfactor=15]{Spam.}
\scale[hfactor=15]{Spam.}
\scale[scale=1500]{Spam.}
\scale[lines=2   ]{Egg.}
\scale[grid=6    ]{Sausage.}
Spam.

See also

\clip

ConTeXt-Forum