使用 inputenc/fontenc 来处理西里尔文会改变 stylefile 中定义的纸张样式

使用 inputenc/fontenc 来处理西里尔文会改变 stylefile 中定义的纸张样式

我正在准备一篇论文的照相排版版本,需要使用特定的样式文件。我还被允许用俄语写摘要,但我提供的示例使用了 CJKutf8(例如中文包),这对我使用俄语没有太大帮助(它实际上能够显示俄文字符,但显示方式很丑陋,所以不行)。

当我尝试使用其他软件包时,例如 babel/inputenc 组合,所需的样式似乎在整篇论文中被覆盖(例如粗体消失,英文字体在整篇论文中看起来不同)。

我如何修改模板以便生成的 PDF 能够很好地显示俄语但其余样式保持不变?

\documentclass[11pt]{article}
\usepackage{coling2018}
\usepackage{times}
\usepackage{url}
\usepackage{latexsym}

\usepackage{multirow}
\usepackage{graphicx}
\usepackage{arydshln}

\raggedbottom

\newcommand\BibTeX{B{\sc ib}\TeX}

\title{Paper Title}

\author{Author 1 \\
University 1/ City, State \\
  Department \\
  {\tt [email protected]} \\\And
  Author 2 \\
  University 1/ City, State \\
  Department  \\
  {\tt [email protected]} \\}

%\usepackage[russian]{babel}
%\usepackage[utf8x]{inputenc}
\usepackage{CJKutf8}
\slname{Russian}

\sltitle{
\begin{CJK}{UTF8}{min}COLING-2018 
русский
\end{CJK}
}

\date{}

\begin{document}
\maketitle
\begin{abstract}
  English abstract
\end{abstract}

\makesltitle
\begin{slabstract}
\begin{CJK}{UTF8}{min}
  Русский.
\end{CJK}
\end{slabstract}

\section{Introduction}
Text of the Introduction... 

\end{document}

上面的代码产生了下面的图片,其中西里尔字符的间距很奇怪:

在此处输入图片描述

注释掉CJKutf8包和对应的环境,取消注释inputenc+babel(并删除中文字符),得到下图,整个风格都改变了:

\documentclass[11pt]{article}
\usepackage{coling2018}
\usepackage{times}
\usepackage{url}
\usepackage{latexsym}

\usepackage{multirow}
\usepackage{graphicx}
\usepackage{arydshln}

\raggedbottom

\newcommand\BibTeX{B{\sc ib}\TeX}

\title{Paper Title}

 \author{Author 1 \\
  University 1/ City, State \\
  Department \\
  {\tt [email protected]} \\\And
  Author 2 \\
  University 1/ City, State \\
  Department  \\
  {\tt [email protected]} \\}

\usepackage[russian]{babel}
\usepackage[utf8x]{inputenc}
%\usepackage{CJKutf8}
\slname{Russian}
\sltitle{
%\begin{CJK}{UTF8}{min}COLING-2018 
%格 
русский
%\end{CJK}
}
%{gbsn}

\date{}

\begin{document}
\maketitle
\begin{abstract}
  English abstract
\end{abstract}

\makesltitle
 \begin{slabstract}
%\begin{CJK}{UTF8}{min}
%  格
  Русский.
%\end{CJK}
\end{slabstract}


\section{Introduction}
Text of the Introduction...

\end{document}

在此处输入图片描述

这是样式文件:

% File coling2018.sty

% This is the LaTeX style file for Coling 2018. It is identical to
% the style file for Coling 2016.

% This is the LaTeX style file for Coling 2016. It is identical to
% the style file for Coling 2014.

% This is the LaTeX style file for Coling 2014. It is nearly identical to
% the style file for ACL 2014.
%
% Changes made: switched to single column format and removed margin around
% abtract

% This is the LaTeX style file for ACL 2014. It is nearly identical to
% the style files for ACL 2013, EACL 2006, ACL2005, ACL 2002, ACL
% 2001, ACL 2000, EACL 95 and EACL 99. 
%
% Changes made include: adapt layout to A4 and centimeters, widen abstract

% This is the LaTeX style file for ACL 2000.  It is nearly identical to the
% style files for EACL 95 and EACL 99.  Minor changes include editing the
% instructions to reflect use of \documentclass rather than \documentstyle
% and removing the white space before the title on the first page
% -- John Chen, June 29, 2000

% To convert from submissions prepared using the style file aclsub.sty
% prepared for the ACL 2000 conference, proceed as follows:
% 1) Remove submission-specific information:  \whichsession, \id,
%    \wordcount, \otherconferences, \area, \keywords
% 2) \summary should be removed.  The summary material should come
%     after \maketitle and should be in the ``abstract'' environment
% 3) Check all citations.  This style should handle citations correctly
%    and also allows multiple citations separated by semicolons.
% 4) Check figures and examples.  Because the final format is double-
%    column, some adjustments may have to be made to fit text in the column
%    or to choose full-width (\figure*} figures.
% 5) Change the style reference from aclsub to acl2000, and be sure
%    this style file is in your TeX search path


% This is the LaTeX style file for EACL-95.  It is identical to the
% style file for ANLP '94 except that the margins are adjusted for A4
% paper.  -- abney 13 Dec 94

% The ANLP '94 style file is a slightly modified
% version of the style used for AAAI and IJCAI, using some changes
% prepared by Fernando Pereira and others and some minor changes 
% by Paul Jacobs.

% Papers prepared using the aclsub.sty file and acl.bst bibtex style
% should be easily converted to final format using this style.  
% (1) Submission information (\wordcount, \subject, and \makeidpage)
% should be removed.
% (2) \summary should be removed.  The summary material should come
% after \maketitle and should be in the ``abstract'' environment
% (between \begin{abstract} and \end{abstract}).
% (3) Check all citations.  This style should handle citations correctly
% and also allows multiple citations separated by semicolons.
% (4) Check figures and examples.  Because the final format is double-
% column, some adjustments may have to be made to fit text in the column
% or to choose full-width (\figure*} figures.

% Place this in a file called aclap.sty in the TeX search path.  
% (Placing it in the same directory as the paper should also work.)

% Prepared by Peter F. Patel-Schneider, liberally using the ideas of
% other style hackers, including Barbara Beeton.
% This style is NOT guaranteed to work.  It is provided in the hope
% that it will make the preparation of papers easier.
%
% There are undoubtably bugs in this style.  If you make bug fixes,
% improvements, etc.  please let me know.  My e-mail address is:
%       [email protected]

% Papers are to be prepared using the ``acl'' bibliography style,
% as follows:
%       \documentclass[11pt]{article}
%       \usepackage{acl2000}
%       \title{Title}
%       \author{Author 1 \and Author 2 \\ Address line \\ Address line \And
%               Author 3 \\ Address line \\ Address line}
%       \begin{document}
%       ...
%       \bibliography{bibliography-file}
 %       \bibliographystyle{acl}
 %       \end{document}

% Author information can be set in various styles:
% For several authors from the same institution:
% \author{Author 1 \and ... \and Author n \\
%         Address line \\ ... \\ Address line}
% if the names do not fit well on one line use
%         Author 1 \\ {\bf Author 2} \\ ... \\ {\bf Author n} \\
% For authors from different institutions:
% \author{Author 1 \\ Address line \\  ... \\ Address line
%         \And  ... \And
%         Author n \\ Address line \\ ... \\ Address line}
% To start a seperate ``row'' of authors use \AND, as in
% \author{Author 1 \\ Address line \\  ... \\ Address line
%         \AND
%         Author 2 \\ Address line \\ ... \\ Address line \And
%         Author 3 \\ Address line \\ ... \\ Address line}

% If the title and author information does not fit in the area allocated,
% place \setlength\titlebox{<new height>} right after
% \usepackage{coling2018}
% where <new height> can be something larger than 5cm

\typeout{Conference Style for COLING 2018 -- prepared 15th Oct. 2017}

% NOTE:  Some laser printers have a serious problem printing TeX output.
% These printing devices, commonly known as ``write-white'' laser
% printers, tend to make characters too light.  To get around this
% problem, a darker set of fonts must be created for these devices.
%



% A4 modified by Eneko; again modified by Alexander for 5cm titlebox
\setlength{\paperwidth}{21cm}   % A4
\setlength{\paperheight}{29.7cm}% A4
\setlength\topmargin{-0.5cm}    
\setlength\oddsidemargin{0cm}   
\setlength\textheight{24.7cm} 
\setlength\textwidth{16.0cm}
\setlength\columnsep{0.6cm}  
\newlength\titlebox 
\setlength\titlebox{5cm}
\setlength\headheight{5pt}   
\setlength\headsep{0pt}
\thispagestyle{empty}        
\pagestyle{empty}


\flushbottom \sloppy

% We're never going to need a table of contents, so just flush it to
% save space --- suggested by drstrip@sandia-2
\def\addcontentsline#1#2#3{}

% Footnote without marker for copyright/licence statement
% Code taken from
% http://tex.stackexchange.com/questions/30720/footnote-without-a-marker
% which claims to have taken it, in turn, from
% http://help-csli.stanford.edu/tex/latex-footnotes.shtml#unnumber
% Note the comment that there may be numbering problems if
% you are using the hyperref package. 
\def\blfootnote{\xdef\@thefnmark{}\@footnotetext}

% Title stuff, taken from deproc.
\def\maketitle{\par
% \vbox to 0.5\textheight\bgroup
 \begingroup
   \def\thefootnote{\fnsymbol{footnote}}
   \def\@makefnmark{\hbox to 0pt{$^{\@thefnmark}$\hss}}
   \@maketitle \@thanks
 \endgroup
 \setcounter{footnote}{0}
 \let\maketitle\relax \let\@maketitle\relax
  \gdef\@thanks{}\gdef\@author{}\gdef\@title{}\let\thanks\relax}
\def\@maketitle{\vbox to \titlebox{\hsize\textwidth
 \linewidth\hsize \vskip 0.125in minus 0.125in \centering
 {\Large\bf \@title \par} \vskip 0.2in plus 1fil minus 0.1in
 {\def\and{\unskip\enspace{\rm and}\enspace}%
  \def\And{\end{tabular}\hss \egroup \hskip 1in plus 2fil 
           \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}%
  \def\AND{\end{tabular}\hss\egroup \hfil\hfil\egroup
         \vskip 0.25in plus 1fil minus 0.125in
           \hbox to \linewidth\bgroup\large \hfil\hfil
              \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf}
   \hbox to \linewidth\bgroup\large \hfil\hfil
    \hbox to 0pt\bgroup\hss \begin{tabular}[t]{c}\bf\@author 
                             \end{tabular}\hss\egroup
    \hfil\hfil\egroup}
  \vskip 0.3in plus 2fil minus 0.1in
 }}

% margins for abstract
\renewenvironment{abstract}%
         {\centerline{\large\bf Abstract}%
          \begin{list}{}%
             {\setlength{\rightmargin}{0.6cm}%
              \setlength{\leftmargin}{0.6cm}}%
           \item[]\ignorespaces}%
         {\unskip\end{list}%
          % \egroup%
          }


\newcommand{\slname}[1]{\def\@slname{#1}}
\newcommand{\sltitle}[1]{\def\@sltitle{#1}}

\def\makesltitle{\par
 \centerline{\large\bf Title and Abstract in \@slname}%
 \let\@slname\relax\vskip 10pt
 \centerline{\@sltitle}%
 \let\makesltitle\relax
 \gdef\@sltitle{}}


 \newenvironment{slabstract}%
     {\begin{list}{}%
         {\setlength{\rightmargin}{0.6cm}%
          \setlength{\leftmargin}{0.6cm}}%
       \item[]\ignorespaces}%
     {\unskip\end{list}}

%\renewenvironment{abstract}{\centerline{\large\bf  
% Abstract}\vspace{0.5ex}\begin{quote}}{\par\end{quote}\vskip 1ex}


% bibliography

\def\thebibliography#1{\section*{References}
  \global\def\@listi{\leftmargin\leftmargini
               \labelwidth\leftmargini \advance\labelwidth-\labelsep
               \topsep 1pt plus 2pt minus 1pt
               \parsep 0.25ex plus 1pt \itemsep 0.25ex plus 1pt}
  \list {[\arabic{enumi}]} 
 {\settowidth\labelwidth{[#1]}\leftmargin\labelwidth
    \advance\leftmargin\labelsep\usecounter{enumi}}
    \def\newblock{\hskip .11em plus .33em minus -.07em}
    \sloppy
    \sfcode`\.=1000\relax}

\def\@up#1{\raise.2ex\hbox{#1}}

% most of cite format is from aclsub.sty by SMS

% don't box citations, separate with ; and a space
% also, make the penalty between citations negative: a good place to break
% changed comma back to semicolon pj 2/1/90
% 
\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
% \def\@citea{}\@cite{\@for\@citeb:=#2\do
%   {\@citea\def\@citea{;\penalty\@citeseppen\ }\@ifundefined
%      {b@\@citeb}{{\bf ?}\@warning
%      {Citation `\@citeb' on page \thepage \space undefined}}%
% {\csname b@\@citeb\endcsname}}}{#1}}

% don't box citations, separate with ; and a space
% Replaced for multiple citations (pj) 
% don't box citations and also add space, semicolon between multiple citations

\def\@citex[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi
  \def\@citea{}\@cite{\@for\@citeb:=#2\do
     {\@citea\def\@citea{; }\@ifundefined
       {b@\@citeb}{{\bf ?}\@warning
        {Citation `\@citeb' on page \thepage \space undefined}}%
 {\csname b@\@citeb\endcsname}}}{#1}}

% Allow short (name-less) citations, when used in
% conjunction with a bibliography style that creates labels like
%       \citename{<names>, }<year>
% 
\let\@internalcite\cite
\def\cite{\def\citename##1{##1, }\@internalcite}
\def\shortcite{\def\citename##1{}\@internalcite}
\def\newcite{\def\citename##1{{\frenchspacing##1} (}\@internalciteb}

% Macros for \newcite, which leaves name in running text, and is
% otherwise like \shortcite.



\def\@citexb[#1]#2{\if@filesw\immediate\write\@auxout{\string\citation{#2}}\fi

  \def\@citea{}\@newcite{\@for\@citeb:=#2\do
    {\@citea\def\@citea{;\penalty\@m\ }\@ifundefined
       {b@\@citeb}{{\bf ?}\@warning
       {Citation `\@citeb' on page \thepage \space undefined}}%
{\csname b@\@citeb\endcsname}}}{#1}}
\def\@internalciteb{\@ifnextchar [{\@tempswatrue\@citexb} 
{\@tempswafalse\@citexb[]}}

\def\@newcite#1#2{{#1\if@tempswa, #2\fi)}}

\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}

%%% More changes made by SMS (originals in latex.tex)
% Use parentheses instead of square brackets in the text.
\def\@cite#1#2{({#1\if@tempswa , #2\fi})}

% Don't put a label in the bibliography at all.  Just use the unlabeled format
 % instead.
\def\thebibliography#1{\vskip\parskip%
\vskip\baselineskip%
\def\baselinestretch{1}%
\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
\vskip-\parskip%
\vskip-\baselineskip%
\section*{References\@mkboth
 {References}{References}}\list
 {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
 \setlength{\itemindent}{-\parindent}}
 \def\newblock{\hskip .11em plus .33em minus -.07em}
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
\let\endthebibliography=\endlist

% Allow for a bibliography of sources of attested examples
\def\thesourcebibliography#1{\vskip\parskip%
\vskip\baselineskip%
\def\baselinestretch{1}%
\ifx\@currsize\normalsize\@normalsize\else\@currsize\fi%
\vskip-\parskip%
\vskip-\baselineskip%
 \section*{Sources of Attested Examples\@mkboth
 {Sources of Attested Examples}{Sources of Attested Examples}}\list
 {}{\setlength{\labelwidth}{0pt}\setlength{\leftmargin}{\parindent}
 \setlength{\itemindent}{-\parindent}}
 \def\newblock{\hskip .11em plus .33em minus -.07em}
 \sloppy\clubpenalty4000\widowpenalty4000
 \sfcode`\.=1000\relax}
\let\endthesourcebibliography=\endlist

\def\@lbibitem[#1]#2{\item[]\if@filesw 
      { \def\protect##1{\string ##1\space}\immediate
        \write\@auxout{\string\bibcite{#2}{#1}}\fi\ignorespaces}}

\def\@bibitem#1{\item\if@filesw \immediate\write\@auxout
       {\string\bibcite{#1}{\the\c@enumi}}\fi\ignorespaces}

% sections with less space
\def\section{\@startsection {section}{1}{\z@}{-2.0ex plus
    -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{\large\bf\raggedright}}
\def\subsection{\@startsection{subsection}{2}{\z@}{-1.8ex plus
    -0.5ex minus -.2ex}{0.8ex plus .2ex}{\normalsize\bf\raggedright}}
%% changed by KO to - values to get teh initial parindent right
\def\subsubsection{\@startsection{subsubsection}{3}{\z@}{-1.5ex plus
   -0.5ex minus -.2ex}{0.5ex plus .2ex}{\normalsize\bf\raggedright}}
\def\paragraph{\@startsection{paragraph}{4}{\z@}{1.5ex plus
   0.5ex minus .2ex}{-1em}{\normalsize\bf}}
\def\subparagraph{\@startsection{subparagraph}{5}{\parindent}{1.5ex plus
   0.5ex minus .2ex}{-1em}{\normalsize\bf}}

% Footnotes
\footnotesep 6.65pt %
\skip\footins 9pt plus 4pt minus 2pt
\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
\setcounter{footnote}{0}

% Lists and paragraphs
\parindent 1em
\topsep 4pt plus 1pt minus 2pt
\partopsep 1pt plus 0.5pt minus 0.5pt
\itemsep 2pt plus 1pt minus 0.5pt
\parsep 2pt plus 1pt minus 0.5pt

\leftmargin 2em \leftmargini\leftmargin \leftmarginii 2em
\leftmarginiii 1.5em \leftmarginiv 1.0em \leftmarginv .5em \leftmarginvi .5em
\labelwidth\leftmargini\advance\labelwidth-\labelsep \labelsep 5pt

\def\@listi{\leftmargin\leftmargini}
\def\@listii{\leftmargin\leftmarginii
   \labelwidth\leftmarginii\advance\labelwidth-\labelsep
   \topsep 2pt plus 1pt minus 0.5pt
   \parsep 1pt plus 0.5pt minus 0.5pt
   \itemsep \parsep}
\def\@listiii{\leftmargin\leftmarginiii
    \labelwidth\leftmarginiii\advance\labelwidth-\labelsep
    \topsep 1pt plus 0.5pt minus 0.5pt 
    \parsep \z@ \partopsep 0.5pt plus 0pt minus 0.5pt
    \itemsep \topsep}
\def\@listiv{\leftmargin\leftmarginiv
     \labelwidth\leftmarginiv\advance\labelwidth-\labelsep}
\def\@listv{\leftmargin\leftmarginv
     \labelwidth\leftmarginv\advance\labelwidth-\labelsep}
\def\@listvi{\leftmargin\leftmarginvi
     \labelwidth\leftmarginvi\advance\labelwidth-\labelsep}

\abovedisplayskip 7pt plus2pt minus5pt%
\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip  0pt plus3pt%   
\belowdisplayshortskip  4pt plus3pt minus3pt%

% Less leading in most fonts (due to the narrow columns)
% The choices were between 1-pt and 1.5-pt leading
\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt}
\def\small{\@setsize\small{10pt}\ixpt\@ixpt}
\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt}
\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt}
\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt}
\def\large{\@setsize\large{14pt}\xiipt\@xiipt}
\def\Large{\@setsize\Large{16pt}\xivpt\@xivpt}
\def\LARGE{\@setsize\LARGE{20pt}\xviipt\@xviipt}
\def\huge{\@setsize\huge{23pt}\xxpt\@xxpt}
\def\Huge{\@setsize\Huge{28pt}\xxvpt\@xxvpt}

答案1

西里尔字形使用 T2A 字体编码,而不是罗马字形的默认 T1(或 OT1)。但是,Times 字体的 T2A 版本不提供粗体、斜体或打字机字形,因此当使用 T2A 作为默认编码时,命令\bf不起作用。


解决该问题的一个方法是不使用 T2A 作为默认编码。这是通过fontenc包来实现的,同时使用包参数的特定顺序。在这里你需要将 T2A 放在 T1 之前,因为 LaTeX 将最后一个编码视为默认编码。因此,在你的序言中放入以下内容:

\usepackage[T2A,T1]{fontenc}

每当需要西里尔字符时,就把它们放在单独的组中(即放在括号中)并暂时切换编码,如下所示:

\begin{slabstract}
    \fontencoding{T2A}\selectfont  % add this line here
    Русский.
\end{slabstract}

另一个解决方案是将默认的 T2A 字体替换为另一个看起来像 Times 但提供粗体字形的字体。该Tempora-TLF字体是一个不错的替代品。可以使用软件包执行字体替换substitutefont,只需将以下内容添加到您的序言中:

\usepackage{substitutefont}
\substitutefont{T2A}{\familydefault}{Tempora-TLF}

唯一的问题是它不提供打字机字体,因此作者的电子邮件看起来很奇怪。但此解决方案可以与上面的解决方案结合使用,这样可以在您需要时提供正确的格式和粗体西里尔字母。


致谢:

  1. LaTeX 如何知道使用多个已加载的输出编码中的哪一个?
  2. 泰晤士斜体西里尔字母

答案2

如果可能的话,请使用 XeTeX 或 LuaTeX 的现代工具链。在 Babel 中,您可能希望用 包装俄语短语,用\foreignlanguage{russian}{...}包装俄语较长的段落\begin{otherlanguage}{russian}...\end{otherlanguage}

我也重新启用了没有 CJKutf8 的中文。

\documentclass[11pt]{article}
\usepackage{fontspec}
\usepackage[russian, english]{babel}
\usepackage{microtype}
\usepackage{coling2018}
\usepackage{url}

\usepackage{multirow}
\usepackage{graphicx}
\usepackage{arydshln}

% Babel 3.22 has a bug where it does not pass fontspec the correct Script =
% or Language = options for some languages.  This workaround overrides it.
\babelprovide[script=CJK, language={Chinese Simplified}]{chinese-simplified}

\defaultfontfeatures{Scale=MatchUppercase, Ligatures=TeX}
\babelfont{rm}[Scale=1.0]{Times New Roman}
\babelfont[chinese-simplified]{rm}{Noto Serif CJK SC}

\raggedbottom

\newcommand\BibTeX{B{\sc ib}\TeX}

\title{Paper Title}

\slname{Russian}

\sltitle{\foreignlanguage{russian}{русский}}

 \author{Author 1 \\
  University 1/ City, State \\
  Department \\
  {\tt [email protected]} \\ \And
  Author 2 \\
  University 1/ City, State \\
  Department  \\
  {\tt [email protected]} \\}

\date{}

\begin{document}
\maketitle
\begin{abstract}
  English abstract
\end{abstract}

\makesltitle
\begin{slabstract}
  COLING-2018
  \foreignlanguage{chinese-simplified}{格}
  \foreignlanguage{russian}{русский}
\end{slabstract}

\section{Introduction}
Text of the Introduction...

\end{document}

Times New Roman/Noto Serif CJK SC 示例

这样您就可以将字体设置为任何桌面字体。(您还可以为英语和俄语选择不同的字体,并让它们自动缩放。)我为英语和俄语选择了 Times New Roman,因为它支持西里尔文,为简体中文选择了 Noto Serif CJK SC。我还继续添加了microtype,这在 LuaLaTeX 中应该比在 XeLaTeX 中更适合您。

@citex我确实需要修复中的定义的一个明显错误coling2018.sty

另一个选择是使用polyglossia而不是babel

如果被迫使用 PDFTeX 和旧版 8 位字体,则必须加载 T2A 编码和与 Times 兼容的西里尔字体,例如 Tempora。(这与 Zecong Hu 的回答类似。)

\documentclass[11pt]{article}
\usepackage[T2A, T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc} % The default since 2018
\usepackage[russian, english]{babel}
\usepackage{substitutefont}
\usepackage{tempora}
\usepackage{times}
\usepackage{microtype}
\usepackage{coling2018}
\usepackage{url}

\usepackage{multirow}
\usepackage{graphicx}
\usepackage{arydshln}

\substitutefont{T2A}{\rmdefault}{Tempora-TLF} % use Tempora to render Russian

\raggedbottom

\newcommand\BibTeX{B{\sc ib}\TeX}

\title{Paper Title}

\slname{Russian}

\sltitle{\foreignlanguage{russian}{русский}}

 \author{Author 1 \\
  University 1/ City, State \\
  Department \\
  {\tt [email protected]} \\ \And
  Author 2 \\
  University 1/ City, State \\
  Department  \\
  {\tt [email protected]} \\}

\date{}

\begin{document}
\maketitle
\begin{abstract}
  English abstract
\end{abstract}

\makesltitle
\begin{slabstract}
  \begin{otherlanguage}{russian}
  русский
  \end{otherlanguage}
\end{slabstract}

\section{Introduction}
Text of the Introduction...

\end{document}

Tempora 字体示例

相关内容