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

From Wiki
Jump to navigation Jump to search
 
(Undo revision 29377 by Garulfo (talk))
Tag: Undo
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
< [[From LaTeX to ConTeXt]]
+
< [[From LaTeX to ConTeXt]] >
  
LaTeX:
+
== In LaTeX ==
<pre>
+
<texcode>
 
\documentclass{article}
 
\documentclass{article}
 
\usepackage[T1]{fontenc}
 
\usepackage[T1]{fontenc}
Line 8: Line 8:
 
\textbf{\textsc{bold small caps}}
 
\textbf{\textsc{bold small caps}}
 
\end{document}
 
\end{document}
</pre>
+
</texcode>
  
ConTeXt: ?? (todo)
+
== In ConTeXt MKIV ==
 +
 
 +
<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:From LaTeX]]

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/