tufte-latex: \section 뒤에 \newthought

tufte-latex: \section 뒤에 \newthought

\newthought새 섹션 제목 뒤에 를 사용하면 다음 예와 같이 특이한 수직 공백이 삽입됩니다.

\documentclass{tufte-book}
\usepackage{kantlipsum,cleveref}


\begin{document}

\section{Monday}
\kant[1]

\section{Tuesday}
\newthought{Let us suppose} that the noumena have nothing to do with necessity,
since knowledge of the Categories is a posteriori. 
\kant[3]

\end{document}

여기에 이미지 설명을 입력하세요

  1. 이 문제를 해결하는 (가급적 자동) 방법이 있나요?
  2. 해야 한다\newthought인쇄상의 이유로 섹션 제목 뒤에는 피해야 합니까 대답이 '예'라면 설명을 부탁드리겠습니다..

답변1

의 정의는 \tuftebreak다음과 같이 개선될 수 있습니다.

\documentclass{tufte-book}
\usepackage{kantlipsum,cleveref}

\makeatletter
\def\tuftebreak{%
  \if@nobreak\else
    \par
    \ifdim\lastskip<\tufteskipamount
      \removelastskip \penalty -100
      \tufteskip
    \fi
  \fi
}
\makeatother

\begin{document}

\section{Monday}
\kant[1]

\section{Tuesday}
\newthought{Let us suppose} that the noumena have nothing to do with necessity,
since knowledge of the Categories is a posteriori.
\kant[3]

\end{document}

여기에 이미지 설명을 입력하세요

관련 정보