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

From Wiki
Jump to navigation Jump to search
m (Reverted edit of 67.159.5.117, changed back to last version by Brooks)
(ConTeXt MKIV example for small caps)
(One intermediate revision by one other user not shown)
Line 10: Line 10:
 
</texcode>
 
</texcode>
  
== In ConTeXt ==
+
== In ConTeXt MKIV ==
  
{{howto}}
+
<texcode>
 +
\starttext
 +
\setff{smallcaps} Normal and \bf bold Small Caps.
 +
\stoptext
 +
</texcode>
 +
 
 +
== In ConTeXt MKII ==
 +
 
 +
<texcode>
 +
\usemodule[cmscbf]
 +
\starttext
 +
{\sc Normal and \bf bold Small Caps.}
 +
\stoptext
 +
</texcode>
 +
 
 +
You can download the module t-cmscbf.tex from http://pmrb.free.fr/work/OS/ConTeXt/
  
 
[[Category:Fonts]]
 
[[Category:Fonts]]
 
[[Category:From LaTeX]]
 
[[Category:From LaTeX]]

Revision as of 15:43, 23 May 2014

< 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/