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

From Wiki
Jump to navigation Jump to search
(Problem solved.)
(Undo revision 29377 by Garulfo (talk))
Tag: Undo
(2 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
</texcode>
 
</texcode>
  
== In ConTeXt ==
+
== In ConTeXt MKIV ==
 +
 
 +
<texcode>
 +
\starttext
 +
\setff{smallcaps} Normal and \bf bold Small Caps.
 +
\stoptext
 +
</texcode>
 +
 
 +
== In ConTeXt MKII ==
  
 
<texcode>
 
<texcode>
 
\usemodule[cmscbf]
 
\usemodule[cmscbf]
\useregime[il9]
 
\enableregime[il9]
 
 
\starttext
 
\starttext
 
{\sc Normal and \bf bold Small Caps.}
 
{\sc Normal and \bf bold Small Caps.}
{\sc Äö¤½æ¼Æ \bf Äö¤½æ¼Æ}
 
 
\stoptext
 
\stoptext
 
</texcode>
 
</texcode>

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/