Difference between revisions of "Command/numbers"
< Command
Jump to navigation
Jump to search
m (Text replace - "== Help from ConTeXt-Forum ==" to "== Help from ConTeXt-Forum == All issues with:") |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 3: | Line 3: | ||
|attributes= | |attributes= | ||
}} | }} | ||
+ | |||
+ | == [[Help:Reference|Syntax]] (autogenerated) == | ||
+ | <syntax>numbers</syntax> | ||
== [[Help:Reference|Syntax]] == | == [[Help:Reference|Syntax]] == | ||
Line 15: | Line 18: | ||
</table> | </table> | ||
+ | == Description == | ||
+ | Wrapper around the TeX primitive [http://en.wikibooks.org/wiki/TeX/number <code>\number</code>], with some trickery to make sure that an explicit {{cmd|space}} will not get gobbled. Useful when programming page numbers and the like. | ||
− | == | + | == Example == |
+ | <context source=yes text=gives> | ||
+ | \def\greeting{Hello} | ||
+ | \tex{number}: \number 8\space\greeting \crlf | ||
+ | \tex{numbers}: \numbers 8\space\greeting | ||
+ | </context> | ||
+ | == See Also == | ||
− | = | + | <context source=yes> |
− | < | + | \setuppapersize[A5] |
+ | Cologne Cathedral was built in \romannumerals{1248} | ||
+ | </context> | ||
== See also == | == See also == | ||
− | |||
− | == Help from ConTeXt-Forum == | + | * {{cmd|defineconversion}} |
+ | * {{cmd|characters}} | ||
+ | * {{cmd|Characters}} | ||
+ | * {{cmd|numbers}} | ||
+ | * {{cmd|Numbers}} | ||
+ | * {{cmd|mediaeval}} | ||
+ | * {{cmd|romannumerals}} | ||
+ | * {{cmd|Romannumerals}} | ||
+ | * {{cmd|greeknumerals}} | ||
+ | * {{cmd|Greeknumerals}} | ||
+ | * {{cmd|oldstylenumerals}} | ||
+ | * {{cmd|oldstyleromannumerals}} | ||
+ | |||
+ | == Help from ConTeXt-Mailinglist/Forum == | ||
All issues with: | All issues with: | ||
{{Forum|{{SUBPAGENAME}}}} | {{Forum|{{SUBPAGENAME}}}} | ||
− | [[Category: | + | [[Category:Command/Internals|numbers]] |
+ | [[Category:Command/Conversions|numbers]] |
Latest revision as of 16:26, 11 November 2019
\numbers
Syntax (autogenerated)
\numbers{...} | |
{...} | number |
Syntax
\numbers{...} | |
{...} | text |
Description
Wrapper around the TeX primitive \number
, with some trickery to make sure that an explicit \space will not get gobbled. Useful when programming page numbers and the like.
Example
\def\greeting{Hello} \tex{number}: \number 8\space\greeting \crlf \tex{numbers}: \numbers 8\space\greeting
gives
See Also
\setuppapersize[A5] Cologne Cathedral was built in \romannumerals{1248}
See also
- \defineconversion
- \characters
- \Characters
- \numbers
- \Numbers
- \mediaeval
- \romannumerals
- \Romannumerals
- \greeknumerals
- \Greeknumerals
- \oldstylenumerals
- \oldstyleromannumerals
Help from ConTeXt-Mailinglist/Forum
All issues with: