Difference between revisions of "Command/setupbar"
< Command
Jump to navigation
Jump to search
m |
|||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
<cd:arguments> | <cd:arguments> | ||
<cd:keywords list="yes" optional="yes" ordinal="1"> | <cd:keywords list="yes" optional="yes" ordinal="1"> | ||
− | <cd:keywordsdoc>Name of the bar. </cd:keywordsdoc> | + | <cd:keywordsdoc>Name of the bar. See for predefined bars {{cmd|_bar}}</cd:keywordsdoc> |
<cd:constant type="cd:name"></cd:constant> | <cd:constant type="cd:name"></cd:constant> | ||
</cd:keywords> | </cd:keywords> |
Latest revision as of 21:16, 28 March 2024
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. See for predefined bars \_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.