Difference between revisions of "Command/setupinitial"

From Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
<cd:commandgroup name="setupinitial" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
 
<cd:commandgroup name="setupinitial" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc>The command <tt>\setupinitial</tt> is used for providing a decorative or ornate first letter to prose at the start of chapters, sections, and so forth.
+
<cd:shortdesc>The command <code>\setupinitial</code> is used for providing a decorative or ornate first letter to prose at the start of chapters, sections, and so forth.
  
 
</cd:shortdesc>
 
</cd:shortdesc>
Line 13: Line 13:
 
     <cd:assignmentsdoc></cd:assignmentsdoc>
 
     <cd:assignmentsdoc></cd:assignmentsdoc>
 
     <cd:parameter name="n">
 
     <cd:parameter name="n">
       <cd:paramdoc>is the number of lines in the paragraph that the initial should occupy. It defaults to 3.
+
       <cd:paramdoc>the number of lines in the paragraph that the initial should occupy. It defaults to 3.
  
 
Another description can be "line where footline of dropcapital"</cd:paramdoc>
 
Another description can be "line where footline of dropcapital"</cd:paramdoc>

Revision as of 17:01, 12 December 2020


\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
nnumber
mnumber
beforecommand
distancedimension
hoffsetdimension
voffsetline dimension
stylestyle command
colorcolor
fontfont
texttext
locationmargin text
methodfirst last auto none

OptionExplanation
n
the number of lines in the paragraph that the initial should occupy. It defaults to 3. Another description can be "line where footline of dropcapital"
m
number of letters to capitalize
before
for example, to insert 2 big space before placement of the initial, before={\blank[2*big]}]
distance
"offsets the following text" or "distance to the following text"
hoffset
shift the initial horizontally, on the "left" (positive value) or on the right (negative value)
voffset
shift the initial vertically, down (positive value) or up (negative value). Value 0pt gives a "top" alignment.
style
style of the initial, for example style=\tex{bfd} for large bold
color
color, for example color=darkred
font
font specification, for example font=Bold at 32pt

Description

Examples

Notes

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: