
目前,使用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}
波列斯勞斯即使不是領導人,至少也可能在異教反應中發揮了重要作用,異教反應是 1030 年代貴族為了阻止基督教而發生的叛亂。
給了我這個:
文字總體分為兩列,這解釋了為什麼頁面外的一些文字是不可見的。
如果我在警句末尾和文字開頭之間插入一個空白行,如下所示:
\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
我留下了它,但對於雙引號,"
永遠不應該使用該字元。