Q&A 마당은 텍 관련 질문/답변을 위해 만들었습니다.

  • 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
  • 질문 전에 아래를 읽어 보세요. 좋은 질문이 좋은 답을 받을 수 있는 좋은 방법입니다.
    • 질문에 맞는 제목을 붙이세요. 질문의 내용과 관련없는 "고수님", "긴급질문", "도와주세요"와 같은 제목은 답이 잘 올라오지 않습니다. 이 게시판에 올라오는 모든 글은 질문입니다. 굳이 [질문], [Q]를 적으실 필요도 없습니다.
    • 내용을 충실히 적어 주시고, 같은 상황을 재현할 수 있는 최소한의 예제가 같이 있어야 합니다.
    • 최소 예제는 "Minimal working example"을 읽어 보세요.
  • 파일을 첨부하실 때에는 가능한 압축하여 파일 크기를 줄여서 올려주시길 바랍니다.
  • 개인적으로 사용하신 글꼴이 들어 있는 경우, preparefont.sty에 관한 답변을 참조하세요.
  • 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
    • 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
  • MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
  • 사용하는 편집기는 CKeditor입니다.
    • 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한 줄을 비웁니다.
    • 글줄만 바꾸려면 [shift-enter]를 누르면 <BR> 태그가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
    • 수식를 문서내에 삽입하시려면 에디터를 툴바에서 [소스]를 눌러 HTML로 입력할 수 있게 바꾸신 후 <pre> </pre> tag를 사용하셔서 <pre> 여러 줄의 수식 </pre>처럼 입력하시면 좋습니다.

다음과 같이 편집하던 중에
첫째 단의 줄간격과 둘째 단의 줄간격이 다를 때
각 단 시작 부분에서 정렬이 되지 않는 문제가 있습니다.

쪽의 처음에서 이 문제가 발생하지 않지만, 쪽의 중간에서 나타납니다.
어떻게 해야 해결할 수 있을까요?

TeXlive 2019, XeLaTex, windows10 x64 En를 사용합니다.

Capture2.PNG

\\\\\\\\\\\\\\\\\\ 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}

번호 제목 글쓴이 날짜 조회 수
공지 Minimal Working Example을 첨부해주세요 [4] nanim 2015.06.23 230467
282 Tikz로 만든 프렉탈 곡선 관련 질문입니다. [2] file 이여현 2020.04.08 1956
281 아랍어 사용 문제 [11] file 큰바위 2020.03.18 2020
280 박스 안에 그림 넣기 [7] file 바보사랑 2020.02.18 2063
» paracol 환경에서 각 단의 시작이 정렬되지 않는 문제 [4] file 이기문 2020.02.14 1848
278 pdflatex으로 컴파일 하는데요 [5] 바보사랑 2020.02.08 2300
277 한글 글꼴 관련 질문입니다. [4] file Pi 2020.02.07 2127
276 oblivoir, amsmath 충돌 오류? [8] 달팽이 2020.01.20 2119
275 XeLaTeX으로 인도어 쓰기 충돌 문제 [2] file 김인동 2019.12.22 3199
274 XeLaTeX으로 옛 그리스어 조판하기. [4] file 김인동 2019.12.16 1577
273 목차 생성 좀 도와주세요 ㅜ [1] beginner! 2019.12.12 1558
272 pdfpages를 쓰려는데 문제가 생겼습니다. [12] file 구름 2019.11.27 1751
271 xetexko에서 은신문 글꼴 지원 문제. [10] file 김인동 2019.11.14 1821
270 한글로 작성하고 pdflatex으로 컴파일 한 PDF에서 검색이 되지 않습니다. [12] 기파랑 2019.11.11 2100
269 유니코드 기호를 제대로 출력하는 폰트 추천 부탁 드립니다. [11] file 유니코드입력 2019.09.15 4888
268 XeLaTeX에서 글꼴에 관한 질문 [1] hongksa19 2019.07.16 2100
267 File `kotex.sty' not found. [2] 초보 2019.07.09 24682
266 TeX Live 2019와 Noto Serif KR [8] 옛한글 2019.05.05 2868
265 XeLaTeX과 LuaLaTeX의 옛한글 세로쓰기 [3] file 옛한글 2019.04.29 17581
264 xelatex tabu 에러 [1] noob 2019.03.30 2174
263 절댓값기호(크기)와 괄호의 크기 [1] file Kriss 2019.03.24 4704



XE Login