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 231872
1815 TexLive 2018 설치 후 ko Tex 설정 중 발생한 오류메세지 해결을 ... [1] file JKim 2018.10.06 1805
1814 Mac Lyx에서 한글 사용시 PDF compile안되요 [4] SWM 2018.07.21 1808
1813 hzmisc 가 xoblivoir에서 작동을 하는지요? [1] 태준 2014.03.13 1810
1812 \wrapfigure 명령이 오작동하는 문제 [1] file 이기문 2020.10.30 1810
1811 프로그램 소스 라인 번호 크기 좀 크게 [3] tex_초보자... 2015.07.27 1812
1810 lshort 원본을 읽다가...한국어 관련... [2] 세벌 2015.05.17 1817
1809 텍 2018 설치 과정에서 경로를 찾을 수 없다고 나오는데요... [9] 아무개 2018.05.21 1817
1808 Visual Studio Code + Skim sync [3] 초보 2019.11.25 1819
1807 oblivoir에서 서울서체중 일부를 쓸 수 없습니다 [6] 텍린이 2020.12.18 1821
1806 저자 작성 file nari 2014.01.20 1825
1805 texshop compile 문제 [1] yoon 2018.10.29 1826
1804 Texlive 2019 업데이트시 나타난 현상 하나 [3] file 바보사랑 2020.02.16 1828
1803 Two column 양식에 Equation을 삽입할때 전체 다 커버하는 방법 [4] file onsagerian 2020.10.22 1828
1802 xetexko에서 은신문 글꼴 지원 문제. [10] file 김인동 2019.11.14 1830
1801 caption오류 [7] 작은섬 2014.10.17 1832
1800 Tikz 에서 \coordinate 는 어디까지 영향을 주는지 알고 싶습니다. [3] 그림 2020.05.28 1832
1799 안녕하세요, 표 그리기 질문 드립니다. [2] file 킹조 2018.09.21 1833
1798 array 문제가 발생했습니다. [2] file 큰바위 2020.08.22 1834
1797 바탕색에 대해 알고 싶습니다. [2] mason8888 2020.08.12 1835
1796 \cdot 보다 큰 점 명령어 [3] 람맘 2020.02.28 1836



XE Login