使用 tufte-latex 删除全宽段落的缩进并添加行跳过

使用 tufte-latex 删除全宽段落的缩进并添加行跳过

部分答案如下 -使用 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}

相关内容