目前,使用pdfLaTeX,以下代码:
\epigraph{"[Boleslaus] meanwhile, because of his severity and the horrors of his crimes, … though he was awarded the crown royal, shall not be placed among the Polish kings and princes.}{Wielkopolska Chronicle}
波列斯劳斯如果不是领导者,至少也是异教反应的推动者。异教反应是 11 世纪 30 年代贵族为抵御基督教而发动的兵变。
给了我这个:
文本总体分为两栏,这就解释了为什么一些超出页面的文本是不可见的。
如果我在警句结尾和正文开头之间插入一个空行,如下所示:
\epigraph{"[Boleslaus] meanwhile, because of his severity and the horrors of his crimes, … though he was awarded the crown royal, shall not be placed among the Polish kings and princes.}{Wielkopolska Chronicle}
It seems likely that Boleslaus was, if not the leader, at least instrumental in the Pagan Reaction, a mutiny of the nobility in the 1030s in an attempt to ward off Christianity.
但多余的空白会造成孤儿现象。
提前致谢!
编辑:最小的代码错误:
\documentclass[10pt,a4paper,twocolumn,twoside]{article}
\usepackage[utf8]{inputenc}
\usepackage{epigraph}
\begin{document}
No sources from the time explicitly indicate his existence – indications of him in the earliest primary sources are limited to a mention of Boleslaus II (r. 1058-1076) with an extra ‘I’ in the Tyniec Sacramentary\footnote{A sacramentarium is a Catholic liturgical book akin to a Missal, but lacking all the parts not said by the priest.}, written about thirty years after the Forgotten’s death. The first time he is reliably mentioned is in the the Chronicle of Greater Poland, which gives some clue as to why the evidence is so scanty:
\epigraph{"[Boleslaus] meanwhile, because of his severity and the horrors of his crimes, … though he was awarded the crown royal, shall not be placed among the Polish kings and princes.}{Wielkopolska Chronicle}
It seems likely that Boleslaus was, if not the leader, at least instrumental in the Pagan Reaction, a mutiny of the nobility in the 1030s in an attempt to ward off Christianity. In an effort to quell paganism in the country, it seems that his brother, successor (and one-time monk) Casimir I and his descendants came up with an efficient solution to hiding the skeletons in the closet of the House of Piast – damnatio memoriæ.
\end{document}
答案1
问题不在于的结束\epigraph
,而在于的开始!
之前缺少的空行\epigraph
会让一切都出错,\prevdepth
如果 TeX 没有处于垂直模式,则会由于忽略了不合适的位置而导致非常低级的错误。
命令定义应该以 开头\par
。
\documentclass[10pt,a4paper,twocolumn,twoside]{article}
\usepackage[utf8]{inputenc}
\usepackage{epigraph}
\usepackage{etoolbox}
\pretocmd{\epigraph}{\par}{}{}
\begin{document}
No sources from the time explicitly indicate his existence
\epigraph{"[Boleslaus] meanwhile, because of his severity}{Wielkopolska Chronicle}
It seems likely that Boleslaus was, if not the leader, at least instrumental
\end{document}
另一方面,我觉得更清楚的是使用空行。
No sources from the time explicitly indicate his existence
\epigraph{"[Boleslaus] meanwhile, because of his severity}{Wielkopolska Chronicle}
It seems likely that Boleslaus was, if not the leader, at least instrumental
我保留了它,但是对于双引号,该字符"
永远不应该被使用。