Difference between revisions of "Command/scale"

From ConTeXt wiki
Jump to navigationJump to search
((again a test comment --pg))
m (Text replace - "Reference/en|" to "Commands|")
Line 89: Line 89:
 
[[cmd:clip|\clip]]
 
[[cmd:clip|\clip]]
  
[[Category:Reference/en|scale]]
+
[[Category:Commands|scale]]

Revision as of 00:11, 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