Difference between revisions of "Command/setupscale"
< Command
Jump to navigation
Jump to search
(new) |
|||
Line 14: | Line 14: | ||
<cd:parameter name="scale"> | <cd:parameter name="scale"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="cd:number"></cd:constant> | + | <cd:constant type="cd:number">this is expressed in permille units, so 1000 = natural size</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="xscale"> | <cd:parameter name="xscale"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="cd:number"></cd:constant> | + | <cd:constant type="cd:number">this is expressed in permille units, so 1000 = natural size</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="yscale"> | <cd:parameter name="yscale"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="cd:number"></cd:constant> | + | <cd:constant type="cd:number">this is expressed in permille units, so 1000 = natural size</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="width"> | <cd:parameter name="width"> | ||
Line 42: | Line 42: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="factor"> | <cd:parameter name="factor"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>the factor settings take the enclosing environment into account, in some way (?)</cd:paramdoc> |
<cd:constant type="fit"></cd:constant> | <cd:constant type="fit"></cd:constant> | ||
<cd:constant type="broad"></cd:constant> | <cd:constant type="broad"></cd:constant> | ||
Line 78: | Line 78: | ||
<cd:parameter name="s"> | <cd:parameter name="s"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="cd:number"></cd:constant> | + | <cd:constant type="cd:number">This is the scale as a simple multiplier, so 1 = natural size</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="sx"> | <cd:parameter name="sx"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="cd:number"></cd:constant> | + | <cd:constant type="cd:number">This is the scale as a simple multiplier, so 1 = natural size</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="sy"> | <cd:parameter name="sy"> | ||
<cd:paramdoc></cd:paramdoc> | <cd:paramdoc></cd:paramdoc> | ||
− | <cd:constant type="cd:number"></cd:constant> | + | <cd:constant type="cd:number">This is the scale as a simple multiplier, so 1 = natural size</cd:constant> |
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="equalwidth"> | <cd:parameter name="equalwidth"> | ||
Line 108: | Line 108: | ||
</cd:command> | </cd:command> | ||
</cd:variants> | </cd:variants> | ||
− | <cd:description | + | <cd:description> |
</cd:description> | </cd:description> | ||
<cd:examples></cd:examples> | <cd:examples></cd:examples> |
Latest revision as of 13:36, 5 November 2021
Contents
\setupscale
Summary
The command \setupscale is used to define the general behaviour of \scale.
Settings
\setupscale[...,...][...=...,...] | |
[...,...] | name |
scale | number |
xscale | number |
yscale | number |
width | dimension |
height | dimension |
depth | yes no |
lines | number |
factor | fit broad max min auto default |
hfactor | fit broad max min auto default |
wfactor | fit broad max min auto default |
maxwidth | dimension |
maxheight | dimension |
s | number |
sx | number |
sy | number |
equalwidth | dimension |
equalheight | dimension |
grid | yes fit height depth halfline |
Option | Explanation | ||
---|---|---|---|
scale |
| ||
xscale |
| ||
yscale |
| ||
factor |
| ||
s |
| ||
sx |
| ||
sy |
|