好的,几天前我交了这份作业。它在我的计算机上看起来很棒(我也在其他机器上测试过它),但打印出来后看起来很糟糕。第一页使用 bookman(由 title.tex 提供)看起来不错,但其余页面(由 main.tex 提供)没有正确嵌入 baskervald 字体。这意味着字体被默认字体替换(在打印机中?打印机软件?)从而失去了正确的间距和连字……
我附上了一些比 MWE 更详细的内容,因为我怀疑这可能是软件包冲突造成的。下面我唯一没有提到的是大学标题页,它是一个 PDF 文件(我必须在 Gimp 中修复它)。
我希望有人能告诉我哪里出了问题——我当然不希望这种事情再次发生!
编译链:
pdflatex title
pdflatex main
biber main
pdflatex main
pdflatex main
主文本
\documentclass[a4paper,12pt]{report}
\usepackage[style=historian,style=verbose-ibid,isbn=false,backend=biber,bibencoding=utf8]{biblatex}
\bibliography{biblio.bib}
\DefineBibliographyStrings{danish}{%
bibliography = {Litteraturliste},
references = {Litteraturliste},
}
\usepackage{pdfpages}
\usepackage[danish]{babel}
\usepackage[utf8]{inputenc}
\usepackage{microtype}
\usepackage{xcolor}
\usepackage[T1]{fontenc}
\usepackage{baskervald}
\usepackage{csquotes}
\usepackage{fancyhdr}
\pagestyle{fancy}
\lhead{\small{\textsc{My Name\\Number: 12345}}}
\chead{\textbf{Exam\\Course}}
\rhead{\small{\textsc{My Number\\Afl. 20/1 2014}}}
\cfoot{\thepage}
\setlength{\headheight}{27.5pt}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
\linespread{1.3}
\usepackage[bottom,flushmargin,hang,multiple]{footmisc}
\usepackage{titlesec}
\definecolor{gray75}{gray}{0.75}
\newcommand{\hsp}{\hspace{.5em}}
\titleformat{\chapter}[hang]{\Huge\bfseries}{\thechapter\hsp\textcolor{white}{}\hsp}{0pt}{\Huge\bfseries}
\titlespacing*{\chapter}{0cm}{-\topskip}{0pt}[0pt]
\usepackage[hidelinks]{hyperref}
\begin{document}
\includepdf{title}
\tableofcontents
\thispagestyle{empty}
\pagestyle{fancy}
\raggedbottom
This here is the text. Here is a reference\footcite[19]{myt} and here is another\footcite[2]{oldstories}
\newpage
\appendix
\addcontentsline{toc}{chapter}{Litteraturliste}
\printbibliography
Brief final statement.
\end{document}
标题.tex
\documentclass[a4paper,12pt,oneside]{report}
\usepackage{bookman}
\usepackage[demo]{graphicx}
\usepackage{fix-cm}
\newcommand{\bigsize}{\fontsize{35pt}{20pt}\selectfont}
\begin{document}
\begin{titlepage}
\centering
\vspace{3em}
{\Huge \textsc{Course}}
\vspace{3em}
\includegraphics[width=.8\textwidth]{eck2}\\
\footnotesize{\textit{A pretty picture.}
\vfill
\begin{flushleft}
\large
My University\\
My Number\\
\vspace{1em}
My Name\\
Studienummer\\
Date
\end{flushleft}
\end{titlepage}
\end{document}
书目目录
@book{myt,
address = {London},
author = {Barthes, Roland},
publisher = {Paladin Books},
title = {Mythologies},
translator = {{A}nnette {L}avers},
year = {1986},
note= {Første gang udgivet i 1957}
}
@inbook{oldstories,
address = {New York og London},
author = {Elkins, James},
isbn = {9780415939430},
publisher = {Routledge},
title={Old Stories},
booktitle = {Stories of {A}rt},
pages={39-55},
year = {2002}
}
编辑:添加pdffonts的输出:
name type encoding emb sub uni object ID
------------------------------------ ----------------- ---------------- --- --- --- ---------
JJEBPO+URWBookmanL-Ligh Type 1 Custom yes yes no 19 0
GXGNTC+URWBookmanL-LighItal Type 1 Custom yes yes no 22 0
OWGWHH+BaskervaldADFStd-Bold Type 1 Custom yes yes no 34 0
BXKZQI+BaskervaldADFStd-Regular Type 1 Custom yes yes no 35 0
FGJHAQ+BaskervaldADFStd-Italic Type 1 Custom yes yes no 38 0
BXKZQI+BaskervaldADFStd-Regular Type 1 Custom yes yes no 48 0