我似乎无法正确使用引号。我已加载引用包,我也在使用字符类自动更改文本中的连字规则。您可以在下面看到 MWE 和结果:
以下是 MWE:
\documentclass[12pt]{extarticle}
%%%Font and Languages%%%%%%%%%%%%%%%%%
\usepackage{fontspec}
\usepackage{csquotes} % Suggested Prerequisite for babel package
\setromanfont{Kerkis}
\usepackage[Latin,Greek]{ucharclasses} % This Package allows the setTransitionTo commands, which are necessary for bilingual text
\usepackage[english,greek]{babel}
\setTransitionTo{BasicLatin}{\hyphenrules{english}} % Try to change hyphenation only, lighter
\setTransitionTo{GreekAndCoptic}{\hyphenrules{greek}} % Change language depending on character read
%%%%Bibliography%%%%%%%%%%%%
\usepackage[backend=biber]{biblatex}
\addbibresource{bibliography.bib}
\usepackage{url}
\urlstyle{same}
\usepackage[hidelinks,unicode,colorlinks]{hyperref}
\usepackage[normalem]{ulem} %For Uline command below
\usepackage{xcolor}
\hypersetup{colorlinks,urlcolor=blue,citecolor=black,linkcolor=black} %Make URLS blue
% %% Underline in line URLS hyperef
\makeatletter
\begingroup
\catcode`\$=6 %
\catcode`\#=12 %
\gdef\href@split$1#$2#$3\\$4{%
\hyper@@link{$1}{$2}{\uline{$4}}% or \underline
\endgroup
}%
\endgroup
\begin{document}
\subsubsection{Ελληνικά}
\selectlanguage{greek}
"Ελληνικά"
"English"\cite{libreThermo}
\selectlanguage{english}
"Ελληνικά" \cite{feynman1992there}
"English" \cite{dawon1963electric}
\printbibliography[title={Βιβλιογραφία}]
\end{document}
您可以看到,在文本中,无论我选择哪种语言,都会出现英文引号。另一方面,在参考书目中,无论哪种语言,我都会得到希腊风格的引号。