Difference between revisions of "Command/scale"

From Wiki
Jump to navigation Jump to search
m (Text replace - "[[Category:Commands|" to "== ConTeXt-Forum == {{Forum|{{SUBPAGENAME}}}} [[Category:Commands|")
m (Text replace - "ConTeXt-Forum " to "Help from ConTeXt-Forum ")
Line 89: Line 89:
 
[[cmd:clip|\clip]]
 
[[cmd:clip|\clip]]
  
== ConTeXt-Forum ==
+
== Help from ConTeXt-Forum ==
 
{{Forum|{{SUBPAGENAME}}}}
 
{{Forum|{{SUBPAGENAME}}}}
  
 
[[Category:Commands|scale]]
 
[[Category:Commands|scale]]

Revision as of 01:29, 15 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

Help from ConTeXt-Forum