Can anyone please tell me simply how to use CMCS 10 and CMR10 font in LaTeX for specific text – sounds simple, but driving me nutty.
[Tex/LaTex] CMCS 10 and CMR 10 Font Inclusion
fonts
Related Solutions
If you don't provide MWE then I started with plain TeX example. All specifications (you mentioned) are implemented here.
\input opmac
\font\smcaps=cmcsc10 \regfont\smcaps
\def\printchap#1{\vfil\break
\headline={\hfil\global\headline={\printheadline}}
\gdef\headtext{#1}
\vglue 30pt
\hrule
\line{\smcaps\thefontsize[17]\vrule height22pt depth10pt width0pt \hfil
\mtext{chap} \dotocnum{\thechapnum}}
\hrule
\vskip20pt
{\typosize[17/22]\rm \hfill #1\nbpar}\mark{}%
\nobreak \vskip2cm \firstnoindent
}
\typosize[12/14]
\def\printheadline{\localcolor\Grey\bi\thefontsize[8]\the\pageno\
\hfil\ \headtext\unskip}
\chap Introduction
This is first chapter
\vfil\break
Next page where the headline occurs...
Lorem ipsum dolor sit amet, consectetuer
adipiscing elit. Ut purus elit, vestibulum ut, placerat ac,
adipiscing vitae, felis. Curabitur dictum gravida mauris. Nam arcu
libero, nonummy eget, consectetuer id, vulputate a, magna.
\bye
For the font problem you need to install the cyrillic
collection; however, you'll also need the babel-russian
and the hyphen-russian
TeX Live packages.
You can use tlmgr
(as super user) or TeX Live Utility for install the missing packages. However, I recommend you to get rid of BasicTeX and to install the full MacTeX.
In order to run the example file (which appeared in one version of your question) with XeLaTeX you need to use a font that supports Cyrillic, which the default Latin Modern doesn't.
Here we enter a mine field. The full MacTeX provides several OpenType fonts supporting Cyrillic, but you have BasicTeX, so probably none of them. You need to use fontspec
and choose a font you have available among the system fonts. For instance, if you have PT Serif, you can do
\documentclass{article}
\usepackage[russian,english]{babel}
\usepackage{fontspec}
\setmainfont{PT Serif}
\begin{document}
\begin{otherlanguage*}{russian}
Интерференция света и теорема Белла
\end{otherlanguage*}
\end{document}
Best Answer
I do not know of a
cmcs10
font so I assume you meancmcsc10
(computer modern caps and small caps).In which case
uses
cmr10
andcmsc10
.