Difference between revisions of "Command/defineconversion"

From ConTeXt wiki
Jump to navigationJump to search
(One intermediate revision by the same user not shown)
Line 4: Line 4:
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==
<table cellspacing="4" cellpadding="2" class="cmd">
<table cellspacing="4" cellpadding="2" class="cmd">

Latest revision as of 14:33, 13 October 2019


Syntax (autogenerated)




[...] name
[...] command text


Predefined conversions:

a \characters
A \Characters
AK \cap\characters
KA \cap\characters
n \numbers
N \Numbers
m \mediaeval
i \romannumerals
I \Romannumerals
r \romannumerals
R \Romannumerals
KR \cap\romannumerals
RK \cap\romannumerals
g \greeknumerals
G \Greeknumerals
o \oldstylenumerals
O \oldstylenumerals
or \oldstyleromannumerals


Change numbering in itemize to '(i)', '(ii)', ...


Three be the things I shall never attain:
\startitemize[bracketroman, packed][stopper=), width=2em]
    \item Envy, 
    \item content, and 
    \item sufficient champagne.
\leftaligned{---Dorothy Parker, \quote{Inventory} (fragment)}

Define wholly new conversionset


Four are the things I'd been better without:
\startitemize[inventory, packed][stopper=, width=2em]
    \item Love, 
    \item curiosity,
    \item freckles,
    \item and doubt.
\leftaligned{---Dorothy Parker, \quote{Inventory} (fragment)}

Conversion set of stars

\defineconversion[starred][\m{*},\m{**},\m{***}] % Math mode gives better spacing, thus \m{...}

    \item First, 
    \item second,
    \item third.

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: