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

From Wiki
Jump to navigation Jump to search
(added Category Fonts, From LaTeX, How to?, template added, but please help improving it)
(Undo revision 29377 by Garulfo (talk))
Tag: Undo
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
< [[From LaTeX to ConTeXt]]
+
< [[From LaTeX to ConTeXt]] >
  
 
== In LaTeX ==
 
== In LaTeX ==
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]]
[[Category:How to?]]
 

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/