
В настоящее время при использовании 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
Я его оставил, но для двойных кавычек этот символ "
использовать ни в коем случае нельзя.