다음과 같이 편집하던 중에
첫째 단의 줄간격과 둘째 단의 줄간격이 다를 때
각 단 시작 부분에서 정렬이 되지 않는 문제가 있습니다.
쪽의 처음에서 이 문제가 발생하지 않지만, 쪽의 중간에서 나타납니다.
어떻게 해야 해결할 수 있을까요?
TeXlive 2019, XeLaTex, windows10 x64 En를 사용합니다.
\\\\\\\\\\\\\\\\\\ MWE
%!TEX TS-program = xelatex
%!TEX encoding = utf-8 unicode
%!TEX spellcheck = en-US
\documentclass[letterpaper,12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{paracol}
\usepackage{marginnote}
\usepackage{setspace}
\usepackage{fontspec}
\defaultfontfeatures{Ligatures=TeX}
\setmainfont[Mapping=tex-text,Scale=1]{Libertinus Serif}
\usepackage{polyglossia}
\setmainlanguage{english}
\setdefaultlanguage[variant=us]{english}
\setotherlanguage[variant=ancient]{greek}
\newfontfamily\greekfont[Mapping=tex-text,Script=Greek,Scale=.9]{Palatino Linotype}
\newcommand{\charactername}[1]{{{\marginnote{\textgreek{\footnotesize\bfseries{#1}}}}}}
\newcommand{\bekkerStephanusNumbers}[1]{{\marginnote{\normalsize{{#1}}}}}
\newcommand{\paralleltext}[4]{
\columnratio{0.75}%
\begin{paracol}{2}%
\setlength{\parindent}{0pt}%
\rule{0pt}{0pt}%anchor
\charactername{#1}%
{\Large\setstretch{5}%
{\textgreek{#2}%
}\par}%
\switchcolumn\sloppy
\rule{0pt}{0pt}%anchor
\bekkerStephanusNumbers{#4}%
{#3}%
\switchcolumn*
\end{paracol}
}
%\renewcommand{\singlespacing}{%
% \setstretch {\setspace@singlespace}% normally 1
%}
\begin{document}
\paralleltext{Ἐχεκράτης}{τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; }{Well then, what was the conversation? Well then, what was the conversation? Well then, what was the conversation? Well then, what was the conversation? Well then, what was the conversation?}{59d}
\paralleltext{Ἐχεκράτης}{τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; τί οὖν δή; τίνες φῂς ἦσαν οἱ λόγοι; }{Well then, what was the conversation? Well then, what was the conversation? Well then, what was the conversation? Well then, what was the conversation? Well then, what was the conversation?}{59d}
\end{document}
KTUG 한국 텍 사용자 그룹