Difference between revisions of "Small caps across styles (bold, italics, etc.)"
Jump to navigation
Jump to search
m (Ishamid moved page Bold small caps to Small caps across styles (bold, italics, etc.): The new title is more general: smallcaps may be found in styles other than bold.) |
|||
Line 1: | Line 1: | ||
− | |||
− | + | == In ConTeXt MKIV (current) == | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | == In ConTeXt MKIV == | ||
<texcode> | <texcode> | ||
Line 22: | Line 12: | ||
Note that the legacy command <texcode>\sc</texcode> should be considered deprecated; it should no longer be used. | Note that the legacy command <texcode>\sc</texcode> should be considered deprecated; it should no longer be used. | ||
− | See also | + | See also [[Small caps and other styles]]. |
− | == In ConTeXt MKII == | + | == In ConTeXt MKII (legacy) == |
<texcode> | <texcode> | ||
Line 34: | Line 24: | ||
You can download the module t-cmscbf.tex from http://pmrb.free.fr/work/OS/ConTeXt/ | You can download the module t-cmscbf.tex from http://pmrb.free.fr/work/OS/ConTeXt/ | ||
+ | |||
+ | == In LaTeX == | ||
+ | |||
+ | See also [[From LaTeX to ConTeXt]] | ||
+ | |||
+ | <texcode> | ||
+ | \documentclass{article} | ||
+ | \usepackage[T1]{fontenc} | ||
+ | \begin{document} | ||
+ | \textbf{\textsc{bold small caps}} | ||
+ | \end{document} | ||
+ | </texcode> | ||
[[Category:Fonts]] | [[Category:Fonts]] | ||
[[Category:From LaTeX]] | [[Category:From LaTeX]] |
Revision as of 19:05, 19 August 2023
In ConTeXt MKIV (current)
\starttext \setsmallcaps Normal and \bf bold Small Caps. \style[style=smallcaps] Normal and \bf bold Small Caps. \stoptext
Note that the legacy command
\sc
should be considered deprecated; it should no longer be used.
See also Small caps and other styles.
In ConTeXt MKII (legacy)
\usemodule[cmscbf] \starttext {\sc Normal and \bf bold Small Caps.} \stoptext
You can download the module t-cmscbf.tex from http://pmrb.free.fr/work/OS/ConTeXt/
In LaTeX
See also From LaTeX to ConTeXt
\documentclass{article} \usepackage[T1]{fontenc} \begin{document} \textbf{\textsc{bold small caps}} \end{document}