捷克字符排版错误

捷克字符排版错误

我正在写一份几乎全是英文的文件,但摘要将使用捷克语,标题页上还有我的名字,所以我需要捷克语字符的支持。到目前为止,我从未遇到过这个问题,但现在 TeXmaker 无法按应有的方式编译字符。我尝试过\usepackage[czech,english]{babel}结合使用,\selectlanguage{czech}但它们都不起作用。这是文档的主体,我还包括外部文件:

\documentclass[a4paper,12pt]{report}
\usepackage[cp1250]{inputenc}
\usepackage[IL2]{fontenc}
\usepackage{epsf,graphics,amsmath,amsfonts,amssymb,amsthm}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{latexsym}
\usepackage{epsfig}
\usepackage{color}
\usepackage{enumitem}
\usepackage{array}
\usepackage{booktabs}
\usepackage{caption}
\usepackage{hyperref, color, xcolor}
\definecolor{grey}{RGB}{160,160,160}
\urlstyle{same}
\usepackage{acronym}
\usepackage[nottoc]{tocbibind}
\usepackage{tablefootnote}
\usepackage{eurosym}
\newcolumntype{L}[1]{>{\raggedright\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{C}[1]{>{\centering\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\newcolumntype{R}[1]{>{\raggedleft\let\newline\\\arraybackslash\hspace{0pt}}m{#1}}
\hypersetup{linkcolor = grey,citecolor = grey,    citebordercolor = grey, linkbordercolor = grey, urlbordercolor = grey
}
\renewcommand{\baselinestretch}{1.5}
\hoffset -1.54cm \voffset -0.04pt \evensidemargin 1.5cm%\hoffset -1.54cm \voffset -0.04pt \evensidemargin 1.5cm
\oddsidemargin 2.5cm \topmargin -0.6cm  %-1,6
\textheight 237mm \textwidth 150mm

\usepackage{chngcntr}
\captionsetup{aboveskip=4pt}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{Top Left}
\fancyhead[R]{Top Right}
\renewcommand{\headrulewidth}{0.4pt}

\begin{document}\pagenumbering{roman}
\include{titlepage} 
\include{declaration}
\include{abstrakt} 
        \pagestyle{fancy}                                                           %headers style
\fancyhf{}
\fancyhead[L]{\textcolor{black} {\nouppercase  \leftmark}}
\fancyhead[R]{\textcolor{black} {\thepage}}
\renewcommand{\headrulewidth}{0.4pt}                                                        
\pdfbookmark[0]{Contents}{toc}   
\tableofcontents
\clearpage

\include{acronyms}
\include{listoffiguresandtables}

\clearpage
\pagenumbering{arabic}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[L]{\textcolor{black} {\nouppercase  \leftmark}}
\fancyhead[R]{\textcolor{black} {\thepage}}
\renewcommand{\headrulewidth}{0.4pt}

\include{maintext}
\bibliographystyle{acm}
\bibliography{Bibliography}
\include{references}
\include{appendixA}
\include{appendixB}
\end{document}

标题页如下所示:

\pagestyle{empty}
\begin{center}
\textbf{\LARGE{CHARLES UNIVERSITY IN PRAGUE}}\\
\Large{FACULTY OF SOCIAL SCIENCES}\\
\large{Institute of Economic Studies}\\
\vspace{11mm}
\includegraphics[scale=0.3]{karelII.pdf}\\
\vspace{12mm}
\Large{BACHELOR THESIS}\\
\vspace{12mm} 
\textbf{\LARGE{Predatory pricing in the airline industry}}\\
\end{center}
\vspace{55mm}

\noindent Author: \textbf{Široký}\\
\noindent Supervisor: \textbf{Name}\\
\noindent Year of defence: \textbf{2014}

有人知道可能是什么问题吗?

多谢

答案1

所以我的猜测是正确的 titlepage.tex 是 utf8,但你已经声明

\usepackage[cp1250]{inputenc}

使用 [utf8]

相关内容