Difference between revisions of "Command/setupinitial"
< Command
Jump to navigation
Jump to search
Line 24: | Line 24: | ||
<cd:parameter name="before"> | <cd:parameter name="before"> | ||
<cd:paramdoc>for example, to insert 2 big space before placement of the initial, | <cd:paramdoc>for example, to insert 2 big space before placement of the initial, | ||
− | < | + | <code>before={\blank[2*big]}]</code></cd:paramdoc> |
<cd:constant type="cd:command"></cd:constant> | <cd:constant type="cd:command"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
Line 42: | Line 42: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="style"> | <cd:parameter name="style"> | ||
− | <cd:paramdoc>style of the initial, for example < | + | <cd:paramdoc>style of the initial, for example <code>style=\tex{bfd}</code> for large bold</cd:paramdoc> |
<cd:constant type="cd:style"></cd:constant> | <cd:constant type="cd:style"></cd:constant> | ||
<cd:constant type="cd:command"></cd:constant> | <cd:constant type="cd:command"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="color"> | <cd:parameter name="color"> | ||
− | <cd:paramdoc>color, for example < | + | <cd:paramdoc>color, for example <code>color=darkred</code></cd:paramdoc> |
<cd:constant type="cd:color"></cd:constant> | <cd:constant type="cd:color"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="font"> | <cd:parameter name="font"> | ||
− | <cd:paramdoc>font specification, for example < | + | <cd:paramdoc>font specification, for example <code>font=Bold at 32pt</code></cd:paramdoc> |
<cd:constant type="cd:font"></cd:constant> | <cd:constant type="cd:font"></cd:constant> | ||
</cd:parameter> | </cd:parameter> | ||
Line 59: | Line 59: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="location"> | <cd:parameter name="location"> | ||
− | <cd:paramdoc></cd:paramdoc> | + | <cd:paramdoc>default is <code>text</code>, but initial can be placed in the margin with <code>location=margin</code></cd:paramdoc> |
<cd:constant type="margin"></cd:constant> | <cd:constant type="margin"></cd:constant> | ||
<cd:constant default="yes" type="text"></cd:constant> | <cd:constant default="yes" type="text"></cd:constant> |
Revision as of 17:02, 12 December 2020
Contents
\setupinitial
Summary
The command
\setupinitial
is used for providing a decorative or ornate first letter to prose at the start of chapters, sections, and so forth.
Settings
\setupinitial[...,...][...=...,...] | |
[...,...] | name |
n | number |
m | number |
before | command |
distance | dimension |
hoffset | dimension |
voffset | line dimension |
style | style command |
color | color |
font | font |
text | text |
location | margin text |
method | first last auto none |
Option | Explanation | ||
---|---|---|---|
n |
| ||
m |
| ||
before |
| ||
distance |
| ||
hoffset |
| ||
voffset |
| ||
style |
| ||
color |
| ||
font |
| ||
location |
|
Description
Examples
Notes
See also
- \defineinitial placeinitial
- typo-drp.mkiv
- \placeinitial placeinitial