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 229514
582 수식을 바르게 정렬하고 싶습니다. [2] file BlueTEAR 2015.11.09 1344
581 무시되는 수직 간격 [2] file yihoze 2015.10.02 1344
580 문자열 읽어오기 [7] yihoze 2015.05.22 1344
579 MacTex 설치 후 샘플파일 돌려봤는데, 오류가 납니다. [6] file 초보네요 2015.05.06 1344
578 그림과 글씨가 겹칩니다ㅜㅜ [6] file 강한성 2014.09.22 1344
577 TeX Live, Visual Studio Code extension 환경에서 minted 사용 [1] 레린이 2021.06.17 1343
576 안녕하세요 REFERENCES에서 글 정렬문제를 여쭙니다 [5] file 아랑우랑 2021.03.05 1343
575 kocircnum 은 이제 작동을 하지 않나요?? [6] 처음처럼 2017.07.15 1343
574 추천할만한 book 스타일 좀 부탁합니다. [2] 처음처럼 2017.03.11 1343
573 폰트 설정 시 Vertical 옵션이 듣질 않아요? [2] file aswater 2017.02.17 1343
572 컴파일 에러 ('kjas_kor.sty') [2] file dropoff 2017.02.08 1343
571 TeXShop 문제 해결되었습니다. 느림보 2016.12.03 1343
570 컴마 구분명령어 만들기 [2] file 하늘연 2016.01.05 1343
569 오늘(9/29) 업뎃이후에 이와 같은 폰트 에러가 납니다. [5] file 처음처럼 2015.09.29 1343
568 Appendix에서 counter가 증가하지 않는 문제 [2] mike 2015.08.04 1343
567 캡션 모양 바꾸기 [1] file fortune 2015.05.15 1343
566 \RequirePackage or \LoadClass in Options Section 에러 질문 [2] file aeronova 2015.03.08 1343
565 .txt에서 import한 string을 변수로 저장하고 싶습니다. [3] 위대한 서씨 2014.11.15 1343
564 axodraw2 컴파일 방법을 알려주세요 [5] 나나난 2018.05.23 1342
563 beamer + luatex 사용시 pdf viewer의 bookmark와 pdf title이 깨져보이는 현상 [3] sm 2017.11.25 1342



XE Login