Small caps across styles (bold, italics, etc.)

From Wiki
Revision as of 18:52, 19 August 2023 by Ishamid (talk | contribs) (→‎In ConTeXt MKIV: Updated obsolete information.)
Jump to navigation Jump to search

< From LaTeX to ConTeXt >

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/