Difference between revisions of "Command/setupbar"
< Command
Jump to navigation
Jump to search
(Created page with "Documentation for \setupbar") |
m |
||
Line 42: | Line 42: | ||
</cd:parameter> | </cd:parameter> | ||
<cd:parameter name="order"> | <cd:parameter name="order"> | ||
− | <cd:paramdoc> | + | <cd:paramdoc>put the rules in front of, or behind the text.</cd:paramdoc> |
<cd:constant default="yes" type="foreground"></cd:constant> | <cd:constant default="yes" type="foreground"></cd:constant> | ||
<cd:constant type="background"></cd:constant> | <cd:constant type="background"></cd:constant> |
Latest revision as of 19:10, 19 September 2020
Contents
\setupbar
Summary
The command \setupbar sets up parameters for rules (lines)
Settings
\setupbar[...,...][...=...,...] | |
[...,...] | name |
color | color |
continue | yes no all |
empty | yes no |
unit | ex em pt in cm mm sp bp pc dd cc nc |
order | foreground background |
rulethickness | dimension |
method | number |
offset | number |
dy | number |
max | number |
foregroundstyle | style command |
foregroundcolor | color |
mp | name |
left | text |
right | text |
repeat | yes no |
Option | Explanation | ||||||
---|---|---|---|---|---|---|---|
Name of the bar. | |||||||
color |
| ||||||
continue |
| ||||||
unit |
| ||||||
order |
| ||||||
method |
| ||||||
offset |
| ||||||
dy |
| ||||||
max |
| ||||||
foregroundstyle |
| ||||||
foregroundcolor |
| ||||||
mp |
| ||||||
repeat |
|
Description
Set up options for 'bars': rule- and dots based decorations for running text.
See bar for the predefined instances. You can define your own instances with \definebar.
Examples
Example 1
\setupbar[overstrike][color=red] some \overstrike{stricken} text.