答案1
除非您找到基于 Charter 的西里尔字体,否则您无法做到这一点。Charter 字体(在 TeX Live 或 MiKTeX 上)仅适用于拉丁字母,因此您可能需要购买并安装它。
TeX Live 中有西里尔字体,但最好的选择可能是切换到 XeLaTeX 或 LuaLaTeX 并使用一些系统字体。
支持西里尔文的 Charter 字体克隆现已发布(OpenType 格式,因此适用于 XeLaTeX 或 LuaLaTeX)http://sourceforge.net/projects/khartiya/
更新
自 2017 年 6 月起,该XCharter
软件包支持西里尔文。
\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english,russian]{babel}
\usepackage{XCharter}
\begin{document}
Либертарианские уроки \textit{Южного Парка}
\foreignlanguage{english}{Libertarian Philosophy in \textit{South Park}}
\end{document}
答案2
XCharter
支持西里尔符号。它可以与例如以下等式结合使用mathdesign
:
\documentclass{book}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[bitstream-charter]{mathdesign}
\begin{document}
\fontencoding{T2A}\fontfamily{XCharter-TLF}\selectfont
Видимое свечение чистых жидкостей под действием$\gamma$-радиации
\begin{equation}
a^2 + b^b = c^2
\end{equation}
\end{document}
更多信息,请参阅http://mirrors.ctan.org/fonts/xcharter/doc/xcharter-doc.pdf(第 4 部分专门介绍西里尔文)
更新:
随着 xcharter 更新至 1.1 版本(2017 年 9 月 20 日),示例需要稍作修改:
\documentclass{book}
\usepackage[T2A]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[bitstream-charter]{mathdesign}
\makeatletter
\newif\if@XCh@srb
\makeatother
\begin{document}
\fontencoding{T2A}\fontfamily{XCharter-TLF}\selectfont
Видимое свечение чистых жидкостей под действием$\gamma$-радиации
\begin{equation}
a^2 + b^b = c^2
\end{equation}
\end{document}
如果没有附加的\newif...
,则会导致错误:
(/usr/local/texlive/2017/texmf-dist/tex/latex/xcharter/T2AXCharter-TLF.fd
File: T2AXCharter-TLF.fd 2017/06/25 (autoinst) Font definitions for T2A/XCharte
r-TLF.
! Extra }, or forgotten endgroup.
l.15 \edef\XCharter@@srb{\if@XCh@srb srb\fi}
%
I've deleted a group-closing symbol because it seems to be
spurious, as in `$x}$'. But perhaps the } is legitimate and
you forgot something else, as in `\hbox{$x}'. In such cases
the way to recover is to insert both the forgotten and the
deleted material, e.g., by typing `I$}'.
)
! Extra \fi.
\pickup@font ...t@name \relax \define@newfont \fi