
문제 설명
TeX인 것 같습니다.수직 공간을 조정하다2열 문서에서는 \titlespacing을 사용하여 늘어나거나 줄어들지 않도록 지정했지만. 아래 그림의 (a)에 간략한 시각화가 제공됩니다.
예를 들어 을 지정하더라도 \titlespacing{\section}{0pt}{**12pt**}{**0pt**}
제목 사이의 간격을 늘리는 수직 레이아웃이 있는 것 같습니다. 이는 적어도 제가 충족해야 하는 특정 회의 스타일에서는 허용되지 않습니다.
질문
이 "수직 정렬"을 제거할 수 있나요? 가능한 모든 설명을 환영합니다. 다음은 동작을 재현하는 MWE입니다(참고: xelatex를 사용하고 있지만 라텍스를 사용하면 동일한 동작이 발생합니다).
\documentclass[a4paper]{article}
\makeatletter
\usepackage{multicol}
% ----important----
\usepackage[noindentafter]{titlesec}
\titlespacing{\section}{0pt}{12pt}{0pt}
\titlespacing{\subsection}{0pt}{10pt}{0pt}
\titlespacing{\subsubsection}{0pt}{3pt}{0pt}
% -----------------
\makeatother
\begin{document}
\title{Foo Bar 2013: A personal journey through a typographic nightmare.}
\author{Waldorf A. and Stattler B.}
\maketitle
\begin{abstract}
this would in fact be longer, thus we make a space here
\vspace{10cm}
\end{abstract}
\begin{multicols}{2}
\section*{first order heading}
All that is gold does not glitter. Not all those who wander are lost. The old that is
strong does not wither.
\section*{first order heading}
\subsection*{second order heading}
Deep roots are not reached by the frost.
\section*{first order heading}
\subsection*{second order heading}
From the ashes a fire shall be woken. A light from the shadows shall spring. Renewed
shall be blade that was broken. The crownless again shall be king.
\section*{first order heading}
\subsection*{second order heading}
\subsubsection*{third order heading}
Not all that have fallen are vanquished. A king may yet be without crown. A blade
that was broken be brandished.
\end{multicols}
\end{document}
참고자료
해당 주제를 다루는 질문을 본 적이 있지만 실제로 도움이 되는 질문은 없었습니다.
접착제 스트레칭이란 무엇입니까?"모든 접착제는 고정된 부분, 늘어나는 부분 및 수축 가능한 부분으로 구성됩니다. 이러한 각 부분은 0이 될 수 있습니다. 를 통해 표현됩니다
<fixed part> plus <stretchable part> minus <shrinkable part>
. 시도해 보았지만 운이 좋지 않았습니다. 문제가 지속됩니다.예를 들어 -0을 "뒤의 공백"으로 지정해야 한다는 내용을 어딘가에서 읽어 보십시오(부끄럽게도 정확히 어디에 있는지 기억이 나지 않습니다!)
\titlespacing{\section}{0pt}{12pt}{-0}
. 불운.
답변1
위의 의견에 있는 Steven B. Segletes와 그의 조언 덕분에 저는 방법을 찾았고 여기에서 공유하고 싶습니다.
\setlength{\parskip}{0pt}
그리고 아마도 또한
\setlength{\textfloatsep}{0pt}
의도한(그리고 틀림없이 지루한) 레이아웃을 산출했습니다.
감사합니다!