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 230255
2773 삼각함수의 역함수인 y=arccot x의 그래프 [2] moscow 2023.07.22 223
2772 TeXworks의 초기화 file 작성법에 대한 문의 [2] 이창섭 2022.08.17 225
2771 VScode에서 책 컴파일 오류 [1] file nokdu 2022.08.23 225
2770 꺽쇠 괄호 수식 안에 한글을 넣는 방법이 있을까요? [1] yhh 2023.10.04 225
2769 mactex 설치시 tlmgr 업그레이드 문제? [2] holy 2023.07.23 226
2768 mdframe 속에 figure를 넣는 방법이 없을까요? [4] file byunss 2024.02.11 228
2767 수식 색깔과 볼드 동시에 하는 법 질 [1] yhr0110 2023.04.03 232
2766 pgfplots에서 두 선분의 길이가 같다는 표시를 어떻게 하면 좋을까요? [5] file 고양이 2023.06.01 232
2765 Texlive 2022 업데이트 [2] 바보사랑 2022.10.17 235
2764 맥북에서 latex 설치 질문 [1] 매쓰홀릭 2023.02.11 235
2763 나눔명조 폰트를 사용하지 못하는 오류 [1] Dilemian 2023.08.01 239
2762 oblivoir에서 chapter page를 만들어봤습니다. [8] file 핑크돌고래 2024.01.08 239
2761 ksminitex에서 텍포맷 선택 [1] 기철이 2023.08.30 241
2760 tikz에서 한글 사용 [3] file 판돌이 2024.01.21 246
2759 tikz 3차원에서 도형 일부분을 삭제하고 싶습니다. [4] file 남박사 2024.01.03 247
2758 에디트플러스(EditPlus) 포워드 서치(forward search) [3] 구름24 2023.07.04 252
2757 TeX을 처음 설치했습니다. [2] JWK 2023.06.20 253
2756 Texlive 2023과 기존 문서 파일의 사용 [2] 바보사랑 2023.03.30 258
2755 경로/파일명에 한글이 포함된 경우 [5] 궁뎅이 2023.09.08 258
2754 minipage 환경에서 그림이 한 줄로 나오지 않네요. [2] file moscow 2023.09.01 261



XE Login