![使用 tufte-latex 删除全宽段落的缩进并添加行跳过](https://linux22.com/image/271132/%E4%BD%BF%E7%94%A8%20tufte-latex%20%E5%88%A0%E9%99%A4%E5%85%A8%E5%AE%BD%E6%AE%B5%E8%90%BD%E7%9A%84%E7%BC%A9%E8%BF%9B%E5%B9%B6%E6%B7%BB%E5%8A%A0%E8%A1%8C%E8%B7%B3%E8%BF%87.png)
部分答案如下 -使用 tufte-latex 删除段落缩进并添加行跳过
它不适用于全宽文本。如何实现?
\documentclass[nols,symmetric,justified,marginals=raggedouter]{tufte-book} % Use the tufte-book class which in turn uses the tufte-common class
\begin{document}
\bigskip
\begin{fullwidth}
The design of the front matter in Tufte's books varies slightly from the traditional design of front matter. First, the pages in front matter are traditionally numbered with lowercase roman numerals ( i, ii, iii, iv,). Second, the front matter page numbering sequence is usually separate from the main matter page numbering. That is, the page numbers restart at 1 when the main matter begins. In contrast, Tufte has enumerated his pages with arabic numerals that share the same page counting sequence as the main matter.
There are also some variations in design across Tufte's four books. The page opposite the full title page (labeled ``frontispiece'' in the above table) has different content in each of the books. I
The dedication appears on page~6 in age of the introduction.
None of the page numbers (folios) ofedication page.
\end{fullwidth}
\end{document}
答案1
这是一个简短的示例,使用了您链接的答案中的代码。这是否达到了您想要的效果?
\documentclass{tufte-book}
\usepackage{lipsum}% provides dummy text
% From <http://tex.stackexchange.com/questions/77999>
\usepackage[parfill]{parskip}
\makeatletter
% Paragraph indentation and separation for normal text
\renewcommand{\@tufte@reset@par}{%
\setlength{\RaggedRightParindent}{0.0pc}%
\setlength{\JustifyingParindent}{0.0pc}%
\setlength{\parindent}{0pc}%
\setlength{\parskip}{\baselineskip}%
}
\@tufte@reset@par
% Paragraph indentation and separation for marginal text
\renewcommand{\@tufte@margin@par}{%
\setlength{\RaggedRightParindent}{0.0pc}%
\setlength{\JustifyingParindent}{0.0pc}%
\setlength{\parindent}{0.0pc}%
\setlength{\parskip}{10pt}%
}
\makeatother
\begin{document}
\lipsum
\begin{fullwidth}
\lipsum[1-2]
\end{fullwidth}
\lipsum
\end{document}