제목 그대로입니다.
한글 본문인 문서에서 줄간격을 적당히 주었을 때(여기서는 \linespread{1.5})
수식의 행렬의 행 간격이 과도하게 벌어지는 것을 막아보고자
\everydisplay{\setstretch{1.2}}를 주었습니다.
(\setstretch 명령은 setspace 패키지에 들어있는 것으로 알고 있음)
이럴 경우, 매 display 수식에서 폰트 경고를 만나게 됩니다.
LaTeX Font Warning: Command \normalsize invalid in math mode on input line 18.
LaTeX Font Warning: Command \normalsize invalid in math mode on input line 26.
===
레이텍 수식의 폰트 크기는
우리가 본문에서 사용하는 \tiny, \small, \normalsize, \large 등과는 다르게
\textstyle, \displaystyle, \scriptstyle,\scriptscriptstyle로 구성되어 있어
이런 경고를 내뱉는 것으로 이해는 합니다만, 경고를 뱉지 않고 현명하게 처리할 수 있는 방법은 없을까 해서요.
즉 본문 간격과 수식의 행렬 간격을 다르게 주고자 하는 것입니다.
% test_everydisplay.tex
\documentclass[a4paper,nanum]{oblivoir}
\usepackage{jiwonlipsum}
\usepackage{amsmath}
\linespread{1.5}
\everydisplay{\setstretch{1.2}}
\begin{document}
\jiwon[1]
\[
\begin{bmatrix}
a & b & c \\
d & e & f \\
g & h & i
\end{bmatrix}
\]
\jiwon[2]
\begin{align}
\int_{C}{F_1 dx + F_2 dy} & = \int_{t=0}^{t=2\pi}(\cos t - \sin t)(-\sin t dt)+(\cos t)(\cos t dt) \\
& = \int_{0}^{2\pi}(-\sin t \cos t +1)dt \\
& = 2\pi
\end{align}
\jiwon[3]
\end{document}
KTUG 한국 텍 사용자 그룹