Difference between revisions of "Small caps across styles (bold, italics, etc.)"

From Wiki
Jump to navigation Jump to search
(ConTeXt MKIV example for small caps)
m (texcode ==> context)
Line 12: Line 12:
 
== In ConTeXt MKIV ==
 
== In ConTeXt MKIV ==
  
<texcode>
+
<context source=yes>
 
\starttext
 
\starttext
 
\setff{smallcaps} Normal and \bf bold Small Caps.
 
\setff{smallcaps} Normal and \bf bold Small Caps.
 
\stoptext
 
\stoptext
</texcode>
+
</context>
  
 
== In ConTeXt MKII ==
 
== In ConTeXt MKII ==

Revision as of 15:09, 20 June 2020

< From LaTeX to ConTeXt >

In LaTeX

\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
\textbf{\textsc{bold small caps}}
\end{document}

In ConTeXt MKIV

\starttext
\setff{smallcaps} Normal and \bf bold Small Caps.
\stoptext

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/