序言一定有问题
% XeLaTeX can use any Mac OS X font. See the setromanfont command below.
% Input to XeLaTeX is full Unicode, so Unicode characters can be typed directly into the source.
% The next lines tell TeXShop to typeset with xelatex, and to open and save the source with Unicode encoding.
%!TEX TS-program = xelatex
%!TEX encoding = UTF-8 Unicode
\documentclass[11pt,twoside]{book}
\usepackage{booktabs}
\usepackage{ledmac}
\linenummargin{inner}
\sidenotemargin{outer}
\usepackage{fancyhdr}
\usepackage{adforn}
\usepackage{amsmath}
\usepackage{lmodern}
\pagestyle{myheadings}
\usepackage{hanging}
\usepackage{parskip}
\usepackage{pdfpages}
\textheight = 180.5 mm
\textwidth = 108.5 mm
\pagenumbering{arabic}
\usepackage{imakeidx}
\makeindex[name=nominum, title=Index nominum, columns=2]
\makeindex[name=rerum, title=Index rerum, columns=2]
\pretolerance=100
\usepackage{microtype}
\makeatletter
% And in the paragraphed footnotes, I'd like no colon too:
\def\parafootfmt#1#2#3{%
\normal@pars
\parindent=0pt \parfillskip=0pt plus 1fil
{\bf\printlines#1|}%
{\select@lemmafont#1|#2}~%
#3\penalty-10 }
\makeatother
\let\Afootfmt\parafootfmt
%\newcommand{\rhet}[2]{\edtext{#1}{\Afootnote{#2}}}
\newcommand{\rhet}[2]{\edtext{ #1}{\Afootnote{] #2}}}
\newcommand{\oed}[2]{\edtext{ #1}{\Bfootnote{] #2}}}
\footparagraph{A}
\footparagraph{B}
%%%%%%%%%%%%%%%%
\raggedbottom
\newcommand*{\LeftWidth}{3.0cm}%
\newcommand*{\RightWidth}{\dimexpr\linewidth-\LeftWidth-2em\relax}%
\newcommand{\AlignedBrace}[2]{%
\medskip\par\noindent%
\parbox{\LeftWidth}{\raggedleft\textbf{#1}\strut~}%
$\left\{~\parbox{\RightWidth}{\strut\textit{#2}\strut}\right.$%
}%
%\usepackage{geometry} % See geometry.pdf to learn the layout options. There are lots.
%\geometry{a4paper} % ... or a4paper or a5paper or ...
%\geometry{landscape} % Activate for for rotated page geometry
%\usepackage[parfill]{parskip} % Activate to begin paragraphs with an empty line rather than an indent
\usepackage{graphicx}
\usepackage{amssymb}
%\renewcommand %These two commands are for double-spacing
%\baselinestretch{2}
% Will Robertson's fontspec.sty can be used to simplify font choices.
% To experiment, open /Applications/Font Book to examine the fonts provided on Mac OS X,
% and change "Hoefler Text" to any of these choices.
\usepackage{fontspec,xltxtra,xunicode}
\defaultfontfeatures{Mapping=tex-text}
\setromanfont[Mapping=tex-text]{Brill}
\setsansfont[Scale=MatchLowercase,Mapping=tex-text]{Gill Sans}
\setmonofont[Scale=MatchLowercase]{Andale Mono}
\frenchspacing
\newfontfamily{\H}[Scale=0.9]{Lucida Grande}
\usepackage{caption}
\captionsetup{aboveskip=5pt}
\def\changemargin#1#2{\list{}{\rightmargin#2\leftmargin#1}\item[]}
\let\endchangemargin=\endlist
\begin{document}
\begin{hangparas}{11pt}{1}
BL, Harley MS 973
\textit{Appiani Alexandrini Romanarum Historiarum }, Basel: Hieronymus Froben und Nicolaus Episcopius 1554.
Alcuin, \textit{The Bishops, Kings, and Saints of York}, ed. Peter Godman, Oxford: Oxford University Press, 1982.
\end{hangparas}
\end{document}
答案1
导致错误的直接原因是添加了以下行:
\usepackage{parskip}
这个包试图比简单地做更智能一点
\setlength{\parskip}{10pt}% e.g.
\setlength{\parindent}{0pt}
来实现10pt
在段落之间留出空白,并使段落开头的段落缩进为零。(parskip
我认为,主要的技巧是摆弄它\parfillskip
,使段落的结尾通常在视觉上显而易见。)
但是,导致您错误的根本原因可能是您从其他文档中复制了序言,而不知道这样做的原因或“目的”是什么。这确实是一件非常不明智的事情。至少,它最终让 TeX 看起来并不比文字处理软件更神奇——或者,实际上,也许更神奇。
这是尤其如果你打算使用 LaTeX 制作批判版,那么这是真的!(我从 判断这一点\usepackage{ledmac}
。)批判版需要大量的关注和关注才能建立所谓的批判文本。对.tex
文件的细节也要给予同样的关注和关注,否则你的努力将在很大程度上白费。(比没有批判版更糟糕的是假装批判的版本,但实际上并不是。)因此,本着这种精神,我鼓励你:
如果您刚刚起步,请从 切换
ledmac
到reledmac
以使用更现代的工具(此外,这些工具是由关心批判性编辑的人员积极开发的);了解书目管理,这是任何“人文驱动”的 LaTeX 用户的关键问题之一;
花点时间了解一下你正在装载的包裹。从长远来看,这将带来巨大的回报。