Open main menu

Changes

< [[From LaTeX to ConTeXt]] >
== In LaTeX ConTeXt MKIV (current) == 
<texcode>
\documentclass{article}starttext\usepackage[T1]{fontenc}setsmallcaps Normal and \bf bold Small Caps.\begin{document}\textbf{style[style=smallcaps] Normal and \textsc{bf bold small caps}}Small Caps.\end{document}stoptext
</texcode>
Note that the legacy command <texcode>\sc</texcode> should be used <em>only</em> for those few typefaces where the small caps belong to a font file distinct from the main font. Latin Modern is an example.  For most (if not all) contemporary opentype fonts, the small caps (and the associated feature <code>smcp</code>) are included in the main font file; so <code>\sc</code> should no longer be used - and will not work across all weights - in most instances.  See also [[Small caps and other styles]]. == In ConTeXt MKII (legacy) ==
<texcode>
\usemodule[cmscbf]
\useregime[il9]
\enableregime[il9]
\starttext
{\sc Normal and \bf bold Small Caps.}
{\sc Äö¤½æ¼Æ \bf Äö¤½æ¼Æ}
\stoptext
</texcode>
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:From LaTeX]]
67

edits