
나는 본질적으로 일시적인 "병렬" 텍스트를 만들려고 시도하고 있습니다. 예를 들어, 두 번째 저자가 시작 부분을 썼고, 첫 번째 저자가 두 번째 절을 썼고, 네 번째 저자가 세 번째 절을 썼고, 세 번째 저자가 네 번째 절을 썼고, 네 번째 저자가 다섯 번째 절을 썼고, 첫 번째 저자가 여섯 번째 절을 썼습니다. 등등... 텍스트는 정렬되어서는 안 되지만 독자가 순서대로 섹션 사이를 이동할 수 있어야 합니다. paracol 문서를 조사하고 문제를 검색했습니다. 문제를 잘못 지정했거나 리소스를 간과했다면 사과드립니다. MWE를 포함시켰습니다. 티아.
\documentclass{report}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{paracol}
\begin{document}
\centering Introduction \\
\raggedright
This is an introductory paragraph. \\
The document should be able to ``bounce'' back and forth between columns. For example, columns 2, 1, 4, 3, 2, 1, 4, 3, \dots
\begin{paracol}{4}
\textbf{This is the second paragraph and should align with the bottom of the first paragraph (second column).}
\switchcolumn*[1]
\textbf{This is the first paragraph.}
\blindtext
\switchcolumn*[0]
\textbf{This is the fourth paragraph and should align with the bottom of the third paragraph (fourth column).}
\blindtext
\switchcolumn*[3]
\textbf{This is the third paragraph and should align with the bottom of the second paragraph (first column).}
\blindtext
\switchcolumn*[2]
\end{paracol}
\end{document}
답변1
당신은 이것을 할 수 있습니다paracol
귀하의 코드는 그대로 매우 가깝습니다.
편집을 보면 단락이 별도의 열에 엇갈려 있지만 지정된 열이 아닌 한 열 바로 오른쪽으로 이동하고 지정된 열 번호가 실제로 대신 조판됩니다. 이는 의도된 사용법이 \switchcolumn[i]*
(LaTeX 구문에서는 거의 틀림)이기 때문입니다.
게다가 \switchcolumn
뒤가 아닌 앞에 와야 합니다(텍스트는 즉시 조판되므로 앞의 \switchcolumn
지시어에 따라 조판됩니다). 그런 다음 텍스트는 올바른 수직/시간 순서로 들어가거나 필요에 따라 단락을 저장하고 정렬할 수 있는 일부 매크로에 입력(순서를 나타내는 일부 인수와 함께)되어야 합니다. 전자는 당연히 훨씬 쉽습니다.
\documentclass{report}
\usepackage[english]{babel}
\usepackage{blindtext}
\usepackage{paracol}
\begin{document}
This is an introductory paragraph.
The document should be able to ``bounce'' back and forth between columns. For example, columns 2, 1, 4, 3, 2, 1, 4, 3, \dots
\begin{paracol}{4}
\switchcolumn[1]*
\textbf{This is the first paragraph.}
\blindtext
\switchcolumn[0]*
\textbf{This is the second paragraph and should align with the bottom of the first paragraph (second column).}
\switchcolumn[3]*
\textbf{This is the third paragraph and should align with the bottom of the second paragraph (first column).}
\blindtext
\switchcolumn[2]*
\textbf{This is the fourth paragraph and should align with the bottom of the third paragraph (fourth column).}
\blindtext
\end{paracol}
\end{document}