Difference between revisions of "Command/scale"

From ConTeXt wiki
m (Formatting and minor editing)
Line 4: Line 4:
 
}}
 
}}
  
 +
== [[Help:Reference|Syntax]] (autogenerated)] ==
 +
<syntax>scale</syntax>
 
== [[Help:Reference|Syntax]] ==
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
<table cellspacing="4" cellpadding="2" class="cmd">

Revision as of 12:24, 11 October 2019

\scale

Syntax (autogenerated)]

\scale[...][...=...,...]{...}
[...]name
...=...,...inherits from \setupscale
{...}CONTENT


Syntax

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


Description

Scale text using different methods.

Comment

The amount of scaling is configured by 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

Help from ConTeXt-Mailinglist/Forum

All issues with: