Using inputenc/fontenc for Cyrillic changes the style of the paper defined in the stylefile












1















I am preparing a camera-ready version of a paper where I am required to use a specific style file. I am also allowed to write an abstract in Russian, but the example I am provided with uses CJKutf8 (a package for e.g. Chinese), which doesn't quite help me with Russian (it actually is capable of displaying Russian characters but in an ugly manner, so this won't do).



When I try to use other packages instead, such as the babel/inputenc cobination, the required style seems to get overridden throughout the paper (e.g. bolding disappears, the English font looks different throughout the paper).



How do I modify the template so that the resulting PDF displays Russian nicely but the remaining style remains unchanged?



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

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

raggedbottom

newcommandBibTeX{B{sc ib}TeX}

title{Paper Title}

author{Author 1 \
University 1/ City, State \
Department \
{tt email@uni1.edu} \And
Author 2 \
University 1/ City, State \
Department \
{tt email@uni2.edu} \}

%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}


The code above produces the following picture, where Cyrillic characters are awkwardly spaced:



enter image description here



Commenting out the CJKutf8 package and the corresponding environment and uncommenting inputenc+babel (and removing the Chinese character) produces the following picture, with the entire style changed:



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

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

raggedbottom

newcommandBibTeX{B{sc ib}TeX}

title{Paper Title}

author{Author 1 \
University 1/ City, State \
Department \
{tt email@uni1.edu} \And
Author 2 \
University 1/ City, State \
Department \
{tt email@uni2.edu} \}

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}


enter image description here



Here's the stylefile:



% 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:
% pfps@research.att.com

% 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 setlengthtitlebox{<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
setlengthtopmargin{-0.5cm}
setlengthoddsidemargin{0cm}
setlengthtextheight{24.7cm}
setlengthtextwidth{16.0cm}
setlengthcolumnsep{0.6cm}
newlengthtitlebox
setlengthtitlebox{5cm}
setlengthheadheight{5pt}
setlengthheadsep{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
defaddcontentsline#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.
defblfootnote{xdef@thefnmark{}@footnotetext}

% Title stuff, taken from deproc.
defmaketitle{par
% vbox to 0.5textheightbgroup
begingroup
defthefootnote{fnsymbol{footnote}}
def@makefnmark{hbox to 0pt{$^{@thefnmark}$hss}}
@maketitle @thanks
endgroup
setcounter{footnote}{0}
letmaketitlerelax let@maketitlerelax
gdef@thanks{}gdef@author{}gdef@title{}letthanksrelax}
def@maketitle{vbox to titlebox{hsizetextwidth
linewidthhsize vskip 0.125in minus 0.125in centering
{Largebf @title par} vskip 0.2in plus 1fil minus 0.1in
{defand{unskipenspace{rm and}enspace}%
defAnd{end{tabular}hss egroup hskip 1in plus 2fil
hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}%
defAND{end{tabular}hssegroup hfilhfilegroup
vskip 0.25in plus 1fil minus 0.125in
hbox to linewidthbgrouplarge hfilhfil
hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}
hbox to linewidthbgrouplarge hfilhfil
hbox to 0ptbgrouphss begin{tabular}[t]{c}bf@author
end{tabular}hssegroup
hfilhfilegroup}
vskip 0.3in plus 2fil minus 0.1in
}}

% margins for abstract
renewenvironment{abstract}%
{centerline{largebf Abstract}%
begin{list}{}%
{setlength{rightmargin}{0.6cm}%
setlength{leftmargin}{0.6cm}}%
itemignorespaces}%
{unskipend{list}%
% egroup%
}


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

defmakesltitle{par
centerline{largebf Title and Abstract in @slname}%
let@slnamerelaxvskip 10pt
centerline{@sltitle}%
letmakesltitlerelax
gdef@sltitle{}}


newenvironment{slabstract}%
{begin{list}{}%
{setlength{rightmargin}{0.6cm}%
setlength{leftmargin}{0.6cm}}%
itemignorespaces}%
{unskipend{list}}

%renewenvironment{abstract}{centerline{largebf
% Abstract}vspace{0.5ex}begin{quote}}{parend{quote}vskip 1ex}


% bibliography

defthebibliography#1{section*{References}
globaldef@listi{leftmarginleftmargini
labelwidthleftmargini advancelabelwidth-labelsep
topsep 1pt plus 2pt minus 1pt
parsep 0.25ex plus 1pt itemsep 0.25ex plus 1pt}
list {[arabic{enumi}]}
{settowidthlabelwidth{[#1]}leftmarginlabelwidth
advanceleftmarginlabelsepusecounter{enumi}}
defnewblock{hskip .11em plus .33em minus -.07em}
sloppy
sfcode`.=1000relax}

def@up#1{raise.2exhbox{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
% def@citea{}@cite{@for@citeb:=#2do
% {@citeadef@citea{;penalty@citeseppen }@ifundefined
% {b@@citeb}{{bf ?}@warning
% {Citation `@citeb' on page thepage space undefined}}%
% {csname b@@citebendcsname}}}{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
def@citea{}@cite{@for@citeb:=#2do
{@citeadef@citea{; }@ifundefined
{b@@citeb}{{bf ?}@warning
{Citation `@citeb' on page thepage space undefined}}%
{csname b@@citebendcsname}}}{#1}}

% Allow short (name-less) citations, when used in
% conjunction with a bibliography style that creates labels like
% citename{<names>, }<year>
%
let@internalcitecite
defcite{defcitename##1{##1, }@internalcite}
defshortcite{defcitename##1{}@internalcite}
defnewcite{defcitename##1{{frenchspacing##1} (}@internalciteb}

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



def@citexb[#1]#2{if@fileswimmediatewrite@auxout{stringcitation{#2}}fi

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

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

def@biblabel#1{defcitename##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{({#1if@tempswa , #2fi})}

% Don't put a label in the bibliography at all. Just use the unlabeled format
% instead.
defthebibliography#1{vskipparskip%
vskipbaselineskip%
defbaselinestretch{1}%
ifx@currsizenormalsize@normalsizeelse@currsizefi%
vskip-parskip%
vskip-baselineskip%
section*{References@mkboth
{References}{References}}list
{}{setlength{labelwidth}{0pt}setlength{leftmargin}{parindent}
setlength{itemindent}{-parindent}}
defnewblock{hskip .11em plus .33em minus -.07em}
sloppyclubpenalty4000widowpenalty4000
sfcode`.=1000relax}
letendthebibliography=endlist

% Allow for a bibliography of sources of attested examples
defthesourcebibliography#1{vskipparskip%
vskipbaselineskip%
defbaselinestretch{1}%
ifx@currsizenormalsize@normalsizeelse@currsizefi%
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}}
defnewblock{hskip .11em plus .33em minus -.07em}
sloppyclubpenalty4000widowpenalty4000
sfcode`.=1000relax}
letendthesourcebibliography=endlist

def@lbibitem[#1]#2{itemif@filesw
{ defprotect##1{string ##1space}immediate
write@auxout{stringbibcite{#2}{#1}}fiignorespaces}}

def@bibitem#1{itemif@filesw immediatewrite@auxout
{stringbibcite{#1}{thec@enumi}}fiignorespaces}

% sections with less space
defsection{@startsection {section}{1}{z@}{-2.0ex plus
-0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{largebfraggedright}}
defsubsection{@startsection{subsection}{2}{z@}{-1.8ex plus
-0.5ex minus -.2ex}{0.8ex plus .2ex}{normalsizebfraggedright}}
%% changed by KO to - values to get teh initial parindent right
defsubsubsection{@startsection{subsubsection}{3}{z@}{-1.5ex plus
-0.5ex minus -.2ex}{0.5ex plus .2ex}{normalsizebfraggedright}}
defparagraph{@startsection{paragraph}{4}{z@}{1.5ex plus
0.5ex minus .2ex}{-1em}{normalsizebf}}
defsubparagraph{@startsection{subparagraph}{5}{parindent}{1.5ex plus
0.5ex minus .2ex}{-1em}{normalsizebf}}

% Footnotes
footnotesep 6.65pt %
skipfootins 9pt plus 4pt minus 2pt
deffootnoterule{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 leftmarginileftmargin leftmarginii 2em
leftmarginiii 1.5em leftmarginiv 1.0em leftmarginv .5em leftmarginvi .5em
labelwidthleftmarginiadvancelabelwidth-labelsep labelsep 5pt

def@listi{leftmarginleftmargini}
def@listii{leftmarginleftmarginii
labelwidthleftmarginiiadvancelabelwidth-labelsep
topsep 2pt plus 1pt minus 0.5pt
parsep 1pt plus 0.5pt minus 0.5pt
itemsep parsep}
def@listiii{leftmarginleftmarginiii
labelwidthleftmarginiiiadvancelabelwidth-labelsep
topsep 1pt plus 0.5pt minus 0.5pt
parsep z@ partopsep 0.5pt plus 0pt minus 0.5pt
itemsep topsep}
def@listiv{leftmarginleftmarginiv
labelwidthleftmarginivadvancelabelwidth-labelsep}
def@listv{leftmarginleftmarginv
labelwidthleftmarginvadvancelabelwidth-labelsep}
def@listvi{leftmarginleftmarginvi
labelwidthleftmarginviadvancelabelwidth-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{@setsizenormalsize{11pt}xpt@xpt}
defsmall{@setsizesmall{10pt}ixpt@ixpt}
deffootnotesize{@setsizefootnotesize{10pt}ixpt@ixpt}
defscriptsize{@setsizescriptsize{8pt}viipt@viipt}
deftiny{@setsizetiny{7pt}vipt@vipt}
deflarge{@setsizelarge{14pt}xiipt@xiipt}
defLarge{@setsizeLarge{16pt}xivpt@xivpt}
defLARGE{@setsizeLARGE{20pt}xviipt@xviipt}
defhuge{@setsizehuge{23pt}xxpt@xxpt}
defHuge{@setsizeHuge{28pt}xxvpt@xxvpt}









share|improve this question





























    1















    I am preparing a camera-ready version of a paper where I am required to use a specific style file. I am also allowed to write an abstract in Russian, but the example I am provided with uses CJKutf8 (a package for e.g. Chinese), which doesn't quite help me with Russian (it actually is capable of displaying Russian characters but in an ugly manner, so this won't do).



    When I try to use other packages instead, such as the babel/inputenc cobination, the required style seems to get overridden throughout the paper (e.g. bolding disappears, the English font looks different throughout the paper).



    How do I modify the template so that the resulting PDF displays Russian nicely but the remaining style remains unchanged?



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

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

    raggedbottom

    newcommandBibTeX{B{sc ib}TeX}

    title{Paper Title}

    author{Author 1 \
    University 1/ City, State \
    Department \
    {tt email@uni1.edu} \And
    Author 2 \
    University 1/ City, State \
    Department \
    {tt email@uni2.edu} \}

    %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}


    The code above produces the following picture, where Cyrillic characters are awkwardly spaced:



    enter image description here



    Commenting out the CJKutf8 package and the corresponding environment and uncommenting inputenc+babel (and removing the Chinese character) produces the following picture, with the entire style changed:



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

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

    raggedbottom

    newcommandBibTeX{B{sc ib}TeX}

    title{Paper Title}

    author{Author 1 \
    University 1/ City, State \
    Department \
    {tt email@uni1.edu} \And
    Author 2 \
    University 1/ City, State \
    Department \
    {tt email@uni2.edu} \}

    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}


    enter image description here



    Here's the stylefile:



    % 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:
    % pfps@research.att.com

    % 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 setlengthtitlebox{<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
    setlengthtopmargin{-0.5cm}
    setlengthoddsidemargin{0cm}
    setlengthtextheight{24.7cm}
    setlengthtextwidth{16.0cm}
    setlengthcolumnsep{0.6cm}
    newlengthtitlebox
    setlengthtitlebox{5cm}
    setlengthheadheight{5pt}
    setlengthheadsep{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
    defaddcontentsline#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.
    defblfootnote{xdef@thefnmark{}@footnotetext}

    % Title stuff, taken from deproc.
    defmaketitle{par
    % vbox to 0.5textheightbgroup
    begingroup
    defthefootnote{fnsymbol{footnote}}
    def@makefnmark{hbox to 0pt{$^{@thefnmark}$hss}}
    @maketitle @thanks
    endgroup
    setcounter{footnote}{0}
    letmaketitlerelax let@maketitlerelax
    gdef@thanks{}gdef@author{}gdef@title{}letthanksrelax}
    def@maketitle{vbox to titlebox{hsizetextwidth
    linewidthhsize vskip 0.125in minus 0.125in centering
    {Largebf @title par} vskip 0.2in plus 1fil minus 0.1in
    {defand{unskipenspace{rm and}enspace}%
    defAnd{end{tabular}hss egroup hskip 1in plus 2fil
    hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}%
    defAND{end{tabular}hssegroup hfilhfilegroup
    vskip 0.25in plus 1fil minus 0.125in
    hbox to linewidthbgrouplarge hfilhfil
    hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}
    hbox to linewidthbgrouplarge hfilhfil
    hbox to 0ptbgrouphss begin{tabular}[t]{c}bf@author
    end{tabular}hssegroup
    hfilhfilegroup}
    vskip 0.3in plus 2fil minus 0.1in
    }}

    % margins for abstract
    renewenvironment{abstract}%
    {centerline{largebf Abstract}%
    begin{list}{}%
    {setlength{rightmargin}{0.6cm}%
    setlength{leftmargin}{0.6cm}}%
    itemignorespaces}%
    {unskipend{list}%
    % egroup%
    }


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

    defmakesltitle{par
    centerline{largebf Title and Abstract in @slname}%
    let@slnamerelaxvskip 10pt
    centerline{@sltitle}%
    letmakesltitlerelax
    gdef@sltitle{}}


    newenvironment{slabstract}%
    {begin{list}{}%
    {setlength{rightmargin}{0.6cm}%
    setlength{leftmargin}{0.6cm}}%
    itemignorespaces}%
    {unskipend{list}}

    %renewenvironment{abstract}{centerline{largebf
    % Abstract}vspace{0.5ex}begin{quote}}{parend{quote}vskip 1ex}


    % bibliography

    defthebibliography#1{section*{References}
    globaldef@listi{leftmarginleftmargini
    labelwidthleftmargini advancelabelwidth-labelsep
    topsep 1pt plus 2pt minus 1pt
    parsep 0.25ex plus 1pt itemsep 0.25ex plus 1pt}
    list {[arabic{enumi}]}
    {settowidthlabelwidth{[#1]}leftmarginlabelwidth
    advanceleftmarginlabelsepusecounter{enumi}}
    defnewblock{hskip .11em plus .33em minus -.07em}
    sloppy
    sfcode`.=1000relax}

    def@up#1{raise.2exhbox{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
    % def@citea{}@cite{@for@citeb:=#2do
    % {@citeadef@citea{;penalty@citeseppen }@ifundefined
    % {b@@citeb}{{bf ?}@warning
    % {Citation `@citeb' on page thepage space undefined}}%
    % {csname b@@citebendcsname}}}{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
    def@citea{}@cite{@for@citeb:=#2do
    {@citeadef@citea{; }@ifundefined
    {b@@citeb}{{bf ?}@warning
    {Citation `@citeb' on page thepage space undefined}}%
    {csname b@@citebendcsname}}}{#1}}

    % Allow short (name-less) citations, when used in
    % conjunction with a bibliography style that creates labels like
    % citename{<names>, }<year>
    %
    let@internalcitecite
    defcite{defcitename##1{##1, }@internalcite}
    defshortcite{defcitename##1{}@internalcite}
    defnewcite{defcitename##1{{frenchspacing##1} (}@internalciteb}

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



    def@citexb[#1]#2{if@fileswimmediatewrite@auxout{stringcitation{#2}}fi

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

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

    def@biblabel#1{defcitename##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{({#1if@tempswa , #2fi})}

    % Don't put a label in the bibliography at all. Just use the unlabeled format
    % instead.
    defthebibliography#1{vskipparskip%
    vskipbaselineskip%
    defbaselinestretch{1}%
    ifx@currsizenormalsize@normalsizeelse@currsizefi%
    vskip-parskip%
    vskip-baselineskip%
    section*{References@mkboth
    {References}{References}}list
    {}{setlength{labelwidth}{0pt}setlength{leftmargin}{parindent}
    setlength{itemindent}{-parindent}}
    defnewblock{hskip .11em plus .33em minus -.07em}
    sloppyclubpenalty4000widowpenalty4000
    sfcode`.=1000relax}
    letendthebibliography=endlist

    % Allow for a bibliography of sources of attested examples
    defthesourcebibliography#1{vskipparskip%
    vskipbaselineskip%
    defbaselinestretch{1}%
    ifx@currsizenormalsize@normalsizeelse@currsizefi%
    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}}
    defnewblock{hskip .11em plus .33em minus -.07em}
    sloppyclubpenalty4000widowpenalty4000
    sfcode`.=1000relax}
    letendthesourcebibliography=endlist

    def@lbibitem[#1]#2{itemif@filesw
    { defprotect##1{string ##1space}immediate
    write@auxout{stringbibcite{#2}{#1}}fiignorespaces}}

    def@bibitem#1{itemif@filesw immediatewrite@auxout
    {stringbibcite{#1}{thec@enumi}}fiignorespaces}

    % sections with less space
    defsection{@startsection {section}{1}{z@}{-2.0ex plus
    -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{largebfraggedright}}
    defsubsection{@startsection{subsection}{2}{z@}{-1.8ex plus
    -0.5ex minus -.2ex}{0.8ex plus .2ex}{normalsizebfraggedright}}
    %% changed by KO to - values to get teh initial parindent right
    defsubsubsection{@startsection{subsubsection}{3}{z@}{-1.5ex plus
    -0.5ex minus -.2ex}{0.5ex plus .2ex}{normalsizebfraggedright}}
    defparagraph{@startsection{paragraph}{4}{z@}{1.5ex plus
    0.5ex minus .2ex}{-1em}{normalsizebf}}
    defsubparagraph{@startsection{subparagraph}{5}{parindent}{1.5ex plus
    0.5ex minus .2ex}{-1em}{normalsizebf}}

    % Footnotes
    footnotesep 6.65pt %
    skipfootins 9pt plus 4pt minus 2pt
    deffootnoterule{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 leftmarginileftmargin leftmarginii 2em
    leftmarginiii 1.5em leftmarginiv 1.0em leftmarginv .5em leftmarginvi .5em
    labelwidthleftmarginiadvancelabelwidth-labelsep labelsep 5pt

    def@listi{leftmarginleftmargini}
    def@listii{leftmarginleftmarginii
    labelwidthleftmarginiiadvancelabelwidth-labelsep
    topsep 2pt plus 1pt minus 0.5pt
    parsep 1pt plus 0.5pt minus 0.5pt
    itemsep parsep}
    def@listiii{leftmarginleftmarginiii
    labelwidthleftmarginiiiadvancelabelwidth-labelsep
    topsep 1pt plus 0.5pt minus 0.5pt
    parsep z@ partopsep 0.5pt plus 0pt minus 0.5pt
    itemsep topsep}
    def@listiv{leftmarginleftmarginiv
    labelwidthleftmarginivadvancelabelwidth-labelsep}
    def@listv{leftmarginleftmarginv
    labelwidthleftmarginvadvancelabelwidth-labelsep}
    def@listvi{leftmarginleftmarginvi
    labelwidthleftmarginviadvancelabelwidth-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{@setsizenormalsize{11pt}xpt@xpt}
    defsmall{@setsizesmall{10pt}ixpt@ixpt}
    deffootnotesize{@setsizefootnotesize{10pt}ixpt@ixpt}
    defscriptsize{@setsizescriptsize{8pt}viipt@viipt}
    deftiny{@setsizetiny{7pt}vipt@vipt}
    deflarge{@setsizelarge{14pt}xiipt@xiipt}
    defLarge{@setsizeLarge{16pt}xivpt@xivpt}
    defLARGE{@setsizeLARGE{20pt}xviipt@xviipt}
    defhuge{@setsizehuge{23pt}xxpt@xxpt}
    defHuge{@setsizeHuge{28pt}xxvpt@xxvpt}









    share|improve this question



























      1












      1








      1








      I am preparing a camera-ready version of a paper where I am required to use a specific style file. I am also allowed to write an abstract in Russian, but the example I am provided with uses CJKutf8 (a package for e.g. Chinese), which doesn't quite help me with Russian (it actually is capable of displaying Russian characters but in an ugly manner, so this won't do).



      When I try to use other packages instead, such as the babel/inputenc cobination, the required style seems to get overridden throughout the paper (e.g. bolding disappears, the English font looks different throughout the paper).



      How do I modify the template so that the resulting PDF displays Russian nicely but the remaining style remains unchanged?



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

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

      raggedbottom

      newcommandBibTeX{B{sc ib}TeX}

      title{Paper Title}

      author{Author 1 \
      University 1/ City, State \
      Department \
      {tt email@uni1.edu} \And
      Author 2 \
      University 1/ City, State \
      Department \
      {tt email@uni2.edu} \}

      %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}


      The code above produces the following picture, where Cyrillic characters are awkwardly spaced:



      enter image description here



      Commenting out the CJKutf8 package and the corresponding environment and uncommenting inputenc+babel (and removing the Chinese character) produces the following picture, with the entire style changed:



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

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

      raggedbottom

      newcommandBibTeX{B{sc ib}TeX}

      title{Paper Title}

      author{Author 1 \
      University 1/ City, State \
      Department \
      {tt email@uni1.edu} \And
      Author 2 \
      University 1/ City, State \
      Department \
      {tt email@uni2.edu} \}

      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}


      enter image description here



      Here's the stylefile:



      % 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:
      % pfps@research.att.com

      % 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 setlengthtitlebox{<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
      setlengthtopmargin{-0.5cm}
      setlengthoddsidemargin{0cm}
      setlengthtextheight{24.7cm}
      setlengthtextwidth{16.0cm}
      setlengthcolumnsep{0.6cm}
      newlengthtitlebox
      setlengthtitlebox{5cm}
      setlengthheadheight{5pt}
      setlengthheadsep{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
      defaddcontentsline#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.
      defblfootnote{xdef@thefnmark{}@footnotetext}

      % Title stuff, taken from deproc.
      defmaketitle{par
      % vbox to 0.5textheightbgroup
      begingroup
      defthefootnote{fnsymbol{footnote}}
      def@makefnmark{hbox to 0pt{$^{@thefnmark}$hss}}
      @maketitle @thanks
      endgroup
      setcounter{footnote}{0}
      letmaketitlerelax let@maketitlerelax
      gdef@thanks{}gdef@author{}gdef@title{}letthanksrelax}
      def@maketitle{vbox to titlebox{hsizetextwidth
      linewidthhsize vskip 0.125in minus 0.125in centering
      {Largebf @title par} vskip 0.2in plus 1fil minus 0.1in
      {defand{unskipenspace{rm and}enspace}%
      defAnd{end{tabular}hss egroup hskip 1in plus 2fil
      hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}%
      defAND{end{tabular}hssegroup hfilhfilegroup
      vskip 0.25in plus 1fil minus 0.125in
      hbox to linewidthbgrouplarge hfilhfil
      hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}
      hbox to linewidthbgrouplarge hfilhfil
      hbox to 0ptbgrouphss begin{tabular}[t]{c}bf@author
      end{tabular}hssegroup
      hfilhfilegroup}
      vskip 0.3in plus 2fil minus 0.1in
      }}

      % margins for abstract
      renewenvironment{abstract}%
      {centerline{largebf Abstract}%
      begin{list}{}%
      {setlength{rightmargin}{0.6cm}%
      setlength{leftmargin}{0.6cm}}%
      itemignorespaces}%
      {unskipend{list}%
      % egroup%
      }


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

      defmakesltitle{par
      centerline{largebf Title and Abstract in @slname}%
      let@slnamerelaxvskip 10pt
      centerline{@sltitle}%
      letmakesltitlerelax
      gdef@sltitle{}}


      newenvironment{slabstract}%
      {begin{list}{}%
      {setlength{rightmargin}{0.6cm}%
      setlength{leftmargin}{0.6cm}}%
      itemignorespaces}%
      {unskipend{list}}

      %renewenvironment{abstract}{centerline{largebf
      % Abstract}vspace{0.5ex}begin{quote}}{parend{quote}vskip 1ex}


      % bibliography

      defthebibliography#1{section*{References}
      globaldef@listi{leftmarginleftmargini
      labelwidthleftmargini advancelabelwidth-labelsep
      topsep 1pt plus 2pt minus 1pt
      parsep 0.25ex plus 1pt itemsep 0.25ex plus 1pt}
      list {[arabic{enumi}]}
      {settowidthlabelwidth{[#1]}leftmarginlabelwidth
      advanceleftmarginlabelsepusecounter{enumi}}
      defnewblock{hskip .11em plus .33em minus -.07em}
      sloppy
      sfcode`.=1000relax}

      def@up#1{raise.2exhbox{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
      % def@citea{}@cite{@for@citeb:=#2do
      % {@citeadef@citea{;penalty@citeseppen }@ifundefined
      % {b@@citeb}{{bf ?}@warning
      % {Citation `@citeb' on page thepage space undefined}}%
      % {csname b@@citebendcsname}}}{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
      def@citea{}@cite{@for@citeb:=#2do
      {@citeadef@citea{; }@ifundefined
      {b@@citeb}{{bf ?}@warning
      {Citation `@citeb' on page thepage space undefined}}%
      {csname b@@citebendcsname}}}{#1}}

      % Allow short (name-less) citations, when used in
      % conjunction with a bibliography style that creates labels like
      % citename{<names>, }<year>
      %
      let@internalcitecite
      defcite{defcitename##1{##1, }@internalcite}
      defshortcite{defcitename##1{}@internalcite}
      defnewcite{defcitename##1{{frenchspacing##1} (}@internalciteb}

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



      def@citexb[#1]#2{if@fileswimmediatewrite@auxout{stringcitation{#2}}fi

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

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

      def@biblabel#1{defcitename##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{({#1if@tempswa , #2fi})}

      % Don't put a label in the bibliography at all. Just use the unlabeled format
      % instead.
      defthebibliography#1{vskipparskip%
      vskipbaselineskip%
      defbaselinestretch{1}%
      ifx@currsizenormalsize@normalsizeelse@currsizefi%
      vskip-parskip%
      vskip-baselineskip%
      section*{References@mkboth
      {References}{References}}list
      {}{setlength{labelwidth}{0pt}setlength{leftmargin}{parindent}
      setlength{itemindent}{-parindent}}
      defnewblock{hskip .11em plus .33em minus -.07em}
      sloppyclubpenalty4000widowpenalty4000
      sfcode`.=1000relax}
      letendthebibliography=endlist

      % Allow for a bibliography of sources of attested examples
      defthesourcebibliography#1{vskipparskip%
      vskipbaselineskip%
      defbaselinestretch{1}%
      ifx@currsizenormalsize@normalsizeelse@currsizefi%
      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}}
      defnewblock{hskip .11em plus .33em minus -.07em}
      sloppyclubpenalty4000widowpenalty4000
      sfcode`.=1000relax}
      letendthesourcebibliography=endlist

      def@lbibitem[#1]#2{itemif@filesw
      { defprotect##1{string ##1space}immediate
      write@auxout{stringbibcite{#2}{#1}}fiignorespaces}}

      def@bibitem#1{itemif@filesw immediatewrite@auxout
      {stringbibcite{#1}{thec@enumi}}fiignorespaces}

      % sections with less space
      defsection{@startsection {section}{1}{z@}{-2.0ex plus
      -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{largebfraggedright}}
      defsubsection{@startsection{subsection}{2}{z@}{-1.8ex plus
      -0.5ex minus -.2ex}{0.8ex plus .2ex}{normalsizebfraggedright}}
      %% changed by KO to - values to get teh initial parindent right
      defsubsubsection{@startsection{subsubsection}{3}{z@}{-1.5ex plus
      -0.5ex minus -.2ex}{0.5ex plus .2ex}{normalsizebfraggedright}}
      defparagraph{@startsection{paragraph}{4}{z@}{1.5ex plus
      0.5ex minus .2ex}{-1em}{normalsizebf}}
      defsubparagraph{@startsection{subparagraph}{5}{parindent}{1.5ex plus
      0.5ex minus .2ex}{-1em}{normalsizebf}}

      % Footnotes
      footnotesep 6.65pt %
      skipfootins 9pt plus 4pt minus 2pt
      deffootnoterule{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 leftmarginileftmargin leftmarginii 2em
      leftmarginiii 1.5em leftmarginiv 1.0em leftmarginv .5em leftmarginvi .5em
      labelwidthleftmarginiadvancelabelwidth-labelsep labelsep 5pt

      def@listi{leftmarginleftmargini}
      def@listii{leftmarginleftmarginii
      labelwidthleftmarginiiadvancelabelwidth-labelsep
      topsep 2pt plus 1pt minus 0.5pt
      parsep 1pt plus 0.5pt minus 0.5pt
      itemsep parsep}
      def@listiii{leftmarginleftmarginiii
      labelwidthleftmarginiiiadvancelabelwidth-labelsep
      topsep 1pt plus 0.5pt minus 0.5pt
      parsep z@ partopsep 0.5pt plus 0pt minus 0.5pt
      itemsep topsep}
      def@listiv{leftmarginleftmarginiv
      labelwidthleftmarginivadvancelabelwidth-labelsep}
      def@listv{leftmarginleftmarginv
      labelwidthleftmarginvadvancelabelwidth-labelsep}
      def@listvi{leftmarginleftmarginvi
      labelwidthleftmarginviadvancelabelwidth-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{@setsizenormalsize{11pt}xpt@xpt}
      defsmall{@setsizesmall{10pt}ixpt@ixpt}
      deffootnotesize{@setsizefootnotesize{10pt}ixpt@ixpt}
      defscriptsize{@setsizescriptsize{8pt}viipt@viipt}
      deftiny{@setsizetiny{7pt}vipt@vipt}
      deflarge{@setsizelarge{14pt}xiipt@xiipt}
      defLarge{@setsizeLarge{16pt}xivpt@xivpt}
      defLARGE{@setsizeLARGE{20pt}xviipt@xviipt}
      defhuge{@setsizehuge{23pt}xxpt@xxpt}
      defHuge{@setsizeHuge{28pt}xxvpt@xxvpt}









      share|improve this question
















      I am preparing a camera-ready version of a paper where I am required to use a specific style file. I am also allowed to write an abstract in Russian, but the example I am provided with uses CJKutf8 (a package for e.g. Chinese), which doesn't quite help me with Russian (it actually is capable of displaying Russian characters but in an ugly manner, so this won't do).



      When I try to use other packages instead, such as the babel/inputenc cobination, the required style seems to get overridden throughout the paper (e.g. bolding disappears, the English font looks different throughout the paper).



      How do I modify the template so that the resulting PDF displays Russian nicely but the remaining style remains unchanged?



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

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

      raggedbottom

      newcommandBibTeX{B{sc ib}TeX}

      title{Paper Title}

      author{Author 1 \
      University 1/ City, State \
      Department \
      {tt email@uni1.edu} \And
      Author 2 \
      University 1/ City, State \
      Department \
      {tt email@uni2.edu} \}

      %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}


      The code above produces the following picture, where Cyrillic characters are awkwardly spaced:



      enter image description here



      Commenting out the CJKutf8 package and the corresponding environment and uncommenting inputenc+babel (and removing the Chinese character) produces the following picture, with the entire style changed:



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

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

      raggedbottom

      newcommandBibTeX{B{sc ib}TeX}

      title{Paper Title}

      author{Author 1 \
      University 1/ City, State \
      Department \
      {tt email@uni1.edu} \And
      Author 2 \
      University 1/ City, State \
      Department \
      {tt email@uni2.edu} \}

      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}


      enter image description here



      Here's the stylefile:



      % 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:
      % pfps@research.att.com

      % 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 setlengthtitlebox{<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
      setlengthtopmargin{-0.5cm}
      setlengthoddsidemargin{0cm}
      setlengthtextheight{24.7cm}
      setlengthtextwidth{16.0cm}
      setlengthcolumnsep{0.6cm}
      newlengthtitlebox
      setlengthtitlebox{5cm}
      setlengthheadheight{5pt}
      setlengthheadsep{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
      defaddcontentsline#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.
      defblfootnote{xdef@thefnmark{}@footnotetext}

      % Title stuff, taken from deproc.
      defmaketitle{par
      % vbox to 0.5textheightbgroup
      begingroup
      defthefootnote{fnsymbol{footnote}}
      def@makefnmark{hbox to 0pt{$^{@thefnmark}$hss}}
      @maketitle @thanks
      endgroup
      setcounter{footnote}{0}
      letmaketitlerelax let@maketitlerelax
      gdef@thanks{}gdef@author{}gdef@title{}letthanksrelax}
      def@maketitle{vbox to titlebox{hsizetextwidth
      linewidthhsize vskip 0.125in minus 0.125in centering
      {Largebf @title par} vskip 0.2in plus 1fil minus 0.1in
      {defand{unskipenspace{rm and}enspace}%
      defAnd{end{tabular}hss egroup hskip 1in plus 2fil
      hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}%
      defAND{end{tabular}hssegroup hfilhfilegroup
      vskip 0.25in plus 1fil minus 0.125in
      hbox to linewidthbgrouplarge hfilhfil
      hbox to 0ptbgrouphss begin{tabular}[t]{c}bf}
      hbox to linewidthbgrouplarge hfilhfil
      hbox to 0ptbgrouphss begin{tabular}[t]{c}bf@author
      end{tabular}hssegroup
      hfilhfilegroup}
      vskip 0.3in plus 2fil minus 0.1in
      }}

      % margins for abstract
      renewenvironment{abstract}%
      {centerline{largebf Abstract}%
      begin{list}{}%
      {setlength{rightmargin}{0.6cm}%
      setlength{leftmargin}{0.6cm}}%
      itemignorespaces}%
      {unskipend{list}%
      % egroup%
      }


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

      defmakesltitle{par
      centerline{largebf Title and Abstract in @slname}%
      let@slnamerelaxvskip 10pt
      centerline{@sltitle}%
      letmakesltitlerelax
      gdef@sltitle{}}


      newenvironment{slabstract}%
      {begin{list}{}%
      {setlength{rightmargin}{0.6cm}%
      setlength{leftmargin}{0.6cm}}%
      itemignorespaces}%
      {unskipend{list}}

      %renewenvironment{abstract}{centerline{largebf
      % Abstract}vspace{0.5ex}begin{quote}}{parend{quote}vskip 1ex}


      % bibliography

      defthebibliography#1{section*{References}
      globaldef@listi{leftmarginleftmargini
      labelwidthleftmargini advancelabelwidth-labelsep
      topsep 1pt plus 2pt minus 1pt
      parsep 0.25ex plus 1pt itemsep 0.25ex plus 1pt}
      list {[arabic{enumi}]}
      {settowidthlabelwidth{[#1]}leftmarginlabelwidth
      advanceleftmarginlabelsepusecounter{enumi}}
      defnewblock{hskip .11em plus .33em minus -.07em}
      sloppy
      sfcode`.=1000relax}

      def@up#1{raise.2exhbox{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
      % def@citea{}@cite{@for@citeb:=#2do
      % {@citeadef@citea{;penalty@citeseppen }@ifundefined
      % {b@@citeb}{{bf ?}@warning
      % {Citation `@citeb' on page thepage space undefined}}%
      % {csname b@@citebendcsname}}}{#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@fileswimmediatewrite@auxout{stringcitation{#2}}fi
      def@citea{}@cite{@for@citeb:=#2do
      {@citeadef@citea{; }@ifundefined
      {b@@citeb}{{bf ?}@warning
      {Citation `@citeb' on page thepage space undefined}}%
      {csname b@@citebendcsname}}}{#1}}

      % Allow short (name-less) citations, when used in
      % conjunction with a bibliography style that creates labels like
      % citename{<names>, }<year>
      %
      let@internalcitecite
      defcite{defcitename##1{##1, }@internalcite}
      defshortcite{defcitename##1{}@internalcite}
      defnewcite{defcitename##1{{frenchspacing##1} (}@internalciteb}

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



      def@citexb[#1]#2{if@fileswimmediatewrite@auxout{stringcitation{#2}}fi

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

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

      def@biblabel#1{defcitename##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{({#1if@tempswa , #2fi})}

      % Don't put a label in the bibliography at all. Just use the unlabeled format
      % instead.
      defthebibliography#1{vskipparskip%
      vskipbaselineskip%
      defbaselinestretch{1}%
      ifx@currsizenormalsize@normalsizeelse@currsizefi%
      vskip-parskip%
      vskip-baselineskip%
      section*{References@mkboth
      {References}{References}}list
      {}{setlength{labelwidth}{0pt}setlength{leftmargin}{parindent}
      setlength{itemindent}{-parindent}}
      defnewblock{hskip .11em plus .33em minus -.07em}
      sloppyclubpenalty4000widowpenalty4000
      sfcode`.=1000relax}
      letendthebibliography=endlist

      % Allow for a bibliography of sources of attested examples
      defthesourcebibliography#1{vskipparskip%
      vskipbaselineskip%
      defbaselinestretch{1}%
      ifx@currsizenormalsize@normalsizeelse@currsizefi%
      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}}
      defnewblock{hskip .11em plus .33em minus -.07em}
      sloppyclubpenalty4000widowpenalty4000
      sfcode`.=1000relax}
      letendthesourcebibliography=endlist

      def@lbibitem[#1]#2{itemif@filesw
      { defprotect##1{string ##1space}immediate
      write@auxout{stringbibcite{#2}{#1}}fiignorespaces}}

      def@bibitem#1{itemif@filesw immediatewrite@auxout
      {stringbibcite{#1}{thec@enumi}}fiignorespaces}

      % sections with less space
      defsection{@startsection {section}{1}{z@}{-2.0ex plus
      -0.5ex minus -.2ex}{1.5ex plus 0.3ex minus .2ex}{largebfraggedright}}
      defsubsection{@startsection{subsection}{2}{z@}{-1.8ex plus
      -0.5ex minus -.2ex}{0.8ex plus .2ex}{normalsizebfraggedright}}
      %% changed by KO to - values to get teh initial parindent right
      defsubsubsection{@startsection{subsubsection}{3}{z@}{-1.5ex plus
      -0.5ex minus -.2ex}{0.5ex plus .2ex}{normalsizebfraggedright}}
      defparagraph{@startsection{paragraph}{4}{z@}{1.5ex plus
      0.5ex minus .2ex}{-1em}{normalsizebf}}
      defsubparagraph{@startsection{subparagraph}{5}{parindent}{1.5ex plus
      0.5ex minus .2ex}{-1em}{normalsizebf}}

      % Footnotes
      footnotesep 6.65pt %
      skipfootins 9pt plus 4pt minus 2pt
      deffootnoterule{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 leftmarginileftmargin leftmarginii 2em
      leftmarginiii 1.5em leftmarginiv 1.0em leftmarginv .5em leftmarginvi .5em
      labelwidthleftmarginiadvancelabelwidth-labelsep labelsep 5pt

      def@listi{leftmarginleftmargini}
      def@listii{leftmarginleftmarginii
      labelwidthleftmarginiiadvancelabelwidth-labelsep
      topsep 2pt plus 1pt minus 0.5pt
      parsep 1pt plus 0.5pt minus 0.5pt
      itemsep parsep}
      def@listiii{leftmarginleftmarginiii
      labelwidthleftmarginiiiadvancelabelwidth-labelsep
      topsep 1pt plus 0.5pt minus 0.5pt
      parsep z@ partopsep 0.5pt plus 0pt minus 0.5pt
      itemsep topsep}
      def@listiv{leftmarginleftmarginiv
      labelwidthleftmarginivadvancelabelwidth-labelsep}
      def@listv{leftmarginleftmarginv
      labelwidthleftmarginvadvancelabelwidth-labelsep}
      def@listvi{leftmarginleftmarginvi
      labelwidthleftmarginviadvancelabelwidth-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{@setsizenormalsize{11pt}xpt@xpt}
      defsmall{@setsizesmall{10pt}ixpt@ixpt}
      deffootnotesize{@setsizefootnotesize{10pt}ixpt@ixpt}
      defscriptsize{@setsizescriptsize{8pt}viipt@viipt}
      deftiny{@setsizetiny{7pt}vipt@vipt}
      deflarge{@setsizelarge{14pt}xiipt@xiipt}
      defLarge{@setsizeLarge{16pt}xivpt@xivpt}
      defLARGE{@setsizeLARGE{20pt}xviipt@xviipt}
      defhuge{@setsizehuge{23pt}xxpt@xxpt}
      defHuge{@setsizeHuge{28pt}xxvpt@xxvpt}






      cyrillic






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 29 '18 at 21:58







      olzama

















      asked May 29 '18 at 21:41









      olzamaolzama

      234




      234






















          2 Answers
          2






          active

          oldest

          votes


















          3














          Cyrillic glyphs use the T2A font encoding instead of the default T1 (or OT1) for Roman glyphs. However, the T2A version of the Times font does not provide bold, italic, or typewriter glyphs, so when T2A is used as the default encoding, the bf commands don’t work.





          One solution to the problem is to not use T2A as the default encoding. This is done with the fontenc package while using a specific order of package parameters. Here you need to put T2A before T1, because LaTeX treats the last encoding as the default one. So, put the following in your preamble:



          usepackage[T2A,T1]{fontenc}


          Whenever Cyrillic characters are needed, put them in a separate group (i.e. in brackets) and temporarily switch the encoding, like this:



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




          Another solution is to substitute the default T2A font with another one that looks like Times but do provide bold glyphs. The Tempora-TLF font is a nice substitute. Font substitution can be performed with the substitutefont package, just add the following to your preamble:



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


          The only problem is that it does not provide typewriter fonts so the author emails look strange. But this solution can be combined with the one above, which gives you the correct format and bold Cyrillic glyphs when you need them.





          Credits:




          1. How does LaTeX know which of multiple loaded output encodings to use?

          2. Italic Cyrillic in Times






          share|improve this answer































            0














            If at all possible, use the modern toolchain with XeTeX or LuaTeX. In Babel, you would want to wrap short phrases in Russian with foreignlanguage{russian}{...} and longer passages in Russian with begin{otherlanguage}{russian}...end{otherlanguage}.



            I also re-enabled Chinese without 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

            newcommandBibTeX{B{sc ib}TeX}

            title{Paper Title}

            slname{Russian}

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

            author{Author 1 \
            University 1/ City, State \
            Department \
            {tt email@uni1.edu} \ And
            Author 2 \
            University 1/ City, State \
            Department \
            {tt email@uni2.edu} \}

            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 sample



            This allows you to set your font to any desktop font. (You could also select different fonts for English and Russian, and have them scale automatically.) I went with Times New Roman for English and Russian, since it supports Cyrillic, and Noto Serif CJK SC for simplified Chinese. I also went ahead and added microtype, which should work better for you in LuaLaTeX than XeLaTeX.



            I did need to fix an apparent error with the definition of @citex in coling2018.sty.



            Another option is to use polyglossia instead of babel.



            If you are forced to use PDFTeX and the legacy 8-bit fonts, you must load the T2A encoding and a Times-compatible Cyrillic font, such as Tempora. (This is similar to Zecong Hu’s answer.)



            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

            newcommandBibTeX{B{sc ib}TeX}

            title{Paper Title}

            slname{Russian}

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

            author{Author 1 \
            University 1/ City, State \
            Department \
            {tt email@uni1.edu} \ And
            Author 2 \
            University 1/ City, State \
            Department \
            {tt email@uni2.edu} \}

            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 font sample






            share|improve this answer

























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "85"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: false,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: null,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f434047%2fusing-inputenc-fontenc-for-cyrillic-changes-the-style-of-the-paper-defined-in-th%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              3














              Cyrillic glyphs use the T2A font encoding instead of the default T1 (or OT1) for Roman glyphs. However, the T2A version of the Times font does not provide bold, italic, or typewriter glyphs, so when T2A is used as the default encoding, the bf commands don’t work.





              One solution to the problem is to not use T2A as the default encoding. This is done with the fontenc package while using a specific order of package parameters. Here you need to put T2A before T1, because LaTeX treats the last encoding as the default one. So, put the following in your preamble:



              usepackage[T2A,T1]{fontenc}


              Whenever Cyrillic characters are needed, put them in a separate group (i.e. in brackets) and temporarily switch the encoding, like this:



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




              Another solution is to substitute the default T2A font with another one that looks like Times but do provide bold glyphs. The Tempora-TLF font is a nice substitute. Font substitution can be performed with the substitutefont package, just add the following to your preamble:



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


              The only problem is that it does not provide typewriter fonts so the author emails look strange. But this solution can be combined with the one above, which gives you the correct format and bold Cyrillic glyphs when you need them.





              Credits:




              1. How does LaTeX know which of multiple loaded output encodings to use?

              2. Italic Cyrillic in Times






              share|improve this answer




























                3














                Cyrillic glyphs use the T2A font encoding instead of the default T1 (or OT1) for Roman glyphs. However, the T2A version of the Times font does not provide bold, italic, or typewriter glyphs, so when T2A is used as the default encoding, the bf commands don’t work.





                One solution to the problem is to not use T2A as the default encoding. This is done with the fontenc package while using a specific order of package parameters. Here you need to put T2A before T1, because LaTeX treats the last encoding as the default one. So, put the following in your preamble:



                usepackage[T2A,T1]{fontenc}


                Whenever Cyrillic characters are needed, put them in a separate group (i.e. in brackets) and temporarily switch the encoding, like this:



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




                Another solution is to substitute the default T2A font with another one that looks like Times but do provide bold glyphs. The Tempora-TLF font is a nice substitute. Font substitution can be performed with the substitutefont package, just add the following to your preamble:



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


                The only problem is that it does not provide typewriter fonts so the author emails look strange. But this solution can be combined with the one above, which gives you the correct format and bold Cyrillic glyphs when you need them.





                Credits:




                1. How does LaTeX know which of multiple loaded output encodings to use?

                2. Italic Cyrillic in Times






                share|improve this answer


























                  3












                  3








                  3







                  Cyrillic glyphs use the T2A font encoding instead of the default T1 (or OT1) for Roman glyphs. However, the T2A version of the Times font does not provide bold, italic, or typewriter glyphs, so when T2A is used as the default encoding, the bf commands don’t work.





                  One solution to the problem is to not use T2A as the default encoding. This is done with the fontenc package while using a specific order of package parameters. Here you need to put T2A before T1, because LaTeX treats the last encoding as the default one. So, put the following in your preamble:



                  usepackage[T2A,T1]{fontenc}


                  Whenever Cyrillic characters are needed, put them in a separate group (i.e. in brackets) and temporarily switch the encoding, like this:



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




                  Another solution is to substitute the default T2A font with another one that looks like Times but do provide bold glyphs. The Tempora-TLF font is a nice substitute. Font substitution can be performed with the substitutefont package, just add the following to your preamble:



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


                  The only problem is that it does not provide typewriter fonts so the author emails look strange. But this solution can be combined with the one above, which gives you the correct format and bold Cyrillic glyphs when you need them.





                  Credits:




                  1. How does LaTeX know which of multiple loaded output encodings to use?

                  2. Italic Cyrillic in Times






                  share|improve this answer













                  Cyrillic glyphs use the T2A font encoding instead of the default T1 (or OT1) for Roman glyphs. However, the T2A version of the Times font does not provide bold, italic, or typewriter glyphs, so when T2A is used as the default encoding, the bf commands don’t work.





                  One solution to the problem is to not use T2A as the default encoding. This is done with the fontenc package while using a specific order of package parameters. Here you need to put T2A before T1, because LaTeX treats the last encoding as the default one. So, put the following in your preamble:



                  usepackage[T2A,T1]{fontenc}


                  Whenever Cyrillic characters are needed, put them in a separate group (i.e. in brackets) and temporarily switch the encoding, like this:



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




                  Another solution is to substitute the default T2A font with another one that looks like Times but do provide bold glyphs. The Tempora-TLF font is a nice substitute. Font substitution can be performed with the substitutefont package, just add the following to your preamble:



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


                  The only problem is that it does not provide typewriter fonts so the author emails look strange. But this solution can be combined with the one above, which gives you the correct format and bold Cyrillic glyphs when you need them.





                  Credits:




                  1. How does LaTeX know which of multiple loaded output encodings to use?

                  2. Italic Cyrillic in Times







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered May 31 '18 at 2:42









                  Zecong HuZecong Hu

                  563




                  563























                      0














                      If at all possible, use the modern toolchain with XeTeX or LuaTeX. In Babel, you would want to wrap short phrases in Russian with foreignlanguage{russian}{...} and longer passages in Russian with begin{otherlanguage}{russian}...end{otherlanguage}.



                      I also re-enabled Chinese without 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

                      newcommandBibTeX{B{sc ib}TeX}

                      title{Paper Title}

                      slname{Russian}

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

                      author{Author 1 \
                      University 1/ City, State \
                      Department \
                      {tt email@uni1.edu} \ And
                      Author 2 \
                      University 1/ City, State \
                      Department \
                      {tt email@uni2.edu} \}

                      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 sample



                      This allows you to set your font to any desktop font. (You could also select different fonts for English and Russian, and have them scale automatically.) I went with Times New Roman for English and Russian, since it supports Cyrillic, and Noto Serif CJK SC for simplified Chinese. I also went ahead and added microtype, which should work better for you in LuaLaTeX than XeLaTeX.



                      I did need to fix an apparent error with the definition of @citex in coling2018.sty.



                      Another option is to use polyglossia instead of babel.



                      If you are forced to use PDFTeX and the legacy 8-bit fonts, you must load the T2A encoding and a Times-compatible Cyrillic font, such as Tempora. (This is similar to Zecong Hu’s answer.)



                      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

                      newcommandBibTeX{B{sc ib}TeX}

                      title{Paper Title}

                      slname{Russian}

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

                      author{Author 1 \
                      University 1/ City, State \
                      Department \
                      {tt email@uni1.edu} \ And
                      Author 2 \
                      University 1/ City, State \
                      Department \
                      {tt email@uni2.edu} \}

                      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 font sample






                      share|improve this answer






























                        0














                        If at all possible, use the modern toolchain with XeTeX or LuaTeX. In Babel, you would want to wrap short phrases in Russian with foreignlanguage{russian}{...} and longer passages in Russian with begin{otherlanguage}{russian}...end{otherlanguage}.



                        I also re-enabled Chinese without 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

                        newcommandBibTeX{B{sc ib}TeX}

                        title{Paper Title}

                        slname{Russian}

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

                        author{Author 1 \
                        University 1/ City, State \
                        Department \
                        {tt email@uni1.edu} \ And
                        Author 2 \
                        University 1/ City, State \
                        Department \
                        {tt email@uni2.edu} \}

                        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 sample



                        This allows you to set your font to any desktop font. (You could also select different fonts for English and Russian, and have them scale automatically.) I went with Times New Roman for English and Russian, since it supports Cyrillic, and Noto Serif CJK SC for simplified Chinese. I also went ahead and added microtype, which should work better for you in LuaLaTeX than XeLaTeX.



                        I did need to fix an apparent error with the definition of @citex in coling2018.sty.



                        Another option is to use polyglossia instead of babel.



                        If you are forced to use PDFTeX and the legacy 8-bit fonts, you must load the T2A encoding and a Times-compatible Cyrillic font, such as Tempora. (This is similar to Zecong Hu’s answer.)



                        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

                        newcommandBibTeX{B{sc ib}TeX}

                        title{Paper Title}

                        slname{Russian}

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

                        author{Author 1 \
                        University 1/ City, State \
                        Department \
                        {tt email@uni1.edu} \ And
                        Author 2 \
                        University 1/ City, State \
                        Department \
                        {tt email@uni2.edu} \}

                        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 font sample






                        share|improve this answer




























                          0












                          0








                          0







                          If at all possible, use the modern toolchain with XeTeX or LuaTeX. In Babel, you would want to wrap short phrases in Russian with foreignlanguage{russian}{...} and longer passages in Russian with begin{otherlanguage}{russian}...end{otherlanguage}.



                          I also re-enabled Chinese without 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

                          newcommandBibTeX{B{sc ib}TeX}

                          title{Paper Title}

                          slname{Russian}

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

                          author{Author 1 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni1.edu} \ And
                          Author 2 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni2.edu} \}

                          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 sample



                          This allows you to set your font to any desktop font. (You could also select different fonts for English and Russian, and have them scale automatically.) I went with Times New Roman for English and Russian, since it supports Cyrillic, and Noto Serif CJK SC for simplified Chinese. I also went ahead and added microtype, which should work better for you in LuaLaTeX than XeLaTeX.



                          I did need to fix an apparent error with the definition of @citex in coling2018.sty.



                          Another option is to use polyglossia instead of babel.



                          If you are forced to use PDFTeX and the legacy 8-bit fonts, you must load the T2A encoding and a Times-compatible Cyrillic font, such as Tempora. (This is similar to Zecong Hu’s answer.)



                          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

                          newcommandBibTeX{B{sc ib}TeX}

                          title{Paper Title}

                          slname{Russian}

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

                          author{Author 1 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni1.edu} \ And
                          Author 2 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni2.edu} \}

                          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 font sample






                          share|improve this answer















                          If at all possible, use the modern toolchain with XeTeX or LuaTeX. In Babel, you would want to wrap short phrases in Russian with foreignlanguage{russian}{...} and longer passages in Russian with begin{otherlanguage}{russian}...end{otherlanguage}.



                          I also re-enabled Chinese without 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

                          newcommandBibTeX{B{sc ib}TeX}

                          title{Paper Title}

                          slname{Russian}

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

                          author{Author 1 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni1.edu} \ And
                          Author 2 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni2.edu} \}

                          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 sample



                          This allows you to set your font to any desktop font. (You could also select different fonts for English and Russian, and have them scale automatically.) I went with Times New Roman for English and Russian, since it supports Cyrillic, and Noto Serif CJK SC for simplified Chinese. I also went ahead and added microtype, which should work better for you in LuaLaTeX than XeLaTeX.



                          I did need to fix an apparent error with the definition of @citex in coling2018.sty.



                          Another option is to use polyglossia instead of babel.



                          If you are forced to use PDFTeX and the legacy 8-bit fonts, you must load the T2A encoding and a Times-compatible Cyrillic font, such as Tempora. (This is similar to Zecong Hu’s answer.)



                          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

                          newcommandBibTeX{B{sc ib}TeX}

                          title{Paper Title}

                          slname{Russian}

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

                          author{Author 1 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni1.edu} \ And
                          Author 2 \
                          University 1/ City, State \
                          Department \
                          {tt email@uni2.edu} \}

                          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 font sample







                          share|improve this answer














                          share|improve this answer



                          share|improve this answer








                          edited Jan 16 at 5:09

























                          answered Jan 16 at 4:38









                          DavislorDavislor

                          5,5721127




                          5,5721127






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f434047%2fusing-inputenc-fontenc-for-cyrillic-changes-the-style-of-the-paper-defined-in-th%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              Biblatex bibliography style without URLs when DOI exists (in Overleaf with Zotero bibliography)

                              ComboBox Display Member on multiple fields

                              Is it possible to collect Nectar points via Trainline?