Difference between revisions of "Small caps across styles (bold, italics, etc.)"
Jump to navigation
Jump to search
Tag: Undo |
(→In ConTeXt MKIV: Updated obsolete information.) |
||
Line 14: | Line 14: | ||
<texcode> | <texcode> | ||
\starttext | \starttext | ||
− | \ | + | \setsmallcaps Normal and \bf bold Small Caps. |
− | \stoptext | + | |
+ | \style[style=smallcaps] | ||
+ | \stoptext Normal and \bf bold Small Caps. | ||
</texcode> | </texcode> | ||
+ | |||
+ | Note that the legacy command <texcode>\sc</texcode> should be considered deprecated; it should no longer be used. | ||
+ | |||
+ | See also <to be added>. | ||
== In ConTeXt MKII == | == In ConTeXt MKII == |
Revision as of 18:52, 19 August 2023
In LaTeX
\documentclass{article} \usepackage[T1]{fontenc} \begin{document} \textbf{\textsc{bold small caps}} \end{document}
In ConTeXt MKIV
\starttext \setsmallcaps Normal and \bf bold Small Caps. \style[style=smallcaps] \stoptext Normal and \bf bold Small Caps.
Note that the legacy command
\sc
should be considered deprecated; it should no longer be used.
See also <to be added>.
In ConTeXt MKII
\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/