편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한 줄을 비웁니다.
글줄만 바꾸려면 [shift-enter]를 누르면 <BR> 태그가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.
수식를 문서내에 삽입하시려면 에디터를 툴바에서 [소스]를 눌러 HTML로 입력할 수 있게 바꾸신 후 <pre> </pre> tag를 사용하셔서 <pre> 여러 줄의 수식 </pre>처럼 입력하시면 좋습니다.
Progress
소스를 보니 낯이 익는데...
결론부터 말하자면 booktabs 패키지 때문에 그렇습니다.
이 소스에서 booktabs 패키지를 사용한 이유는 \toprule, \midrule, \bottomrule이란 명령을 쓰기 위한 것입니다.
booktabs패키지의 철학은 가급적 세로선(vertical line)을 쓰지 않도록 하는 것입니다. 그래서 사용자가 세로선을 그으면 가로선과 겹치는 부분(즉 '十'자 표시, 네거리 부분)에서 약간의 간격을 주어 떼도록 하고 있습니다. 가로선을 우대하고 세로선을 홀대(?)하지요.
대략 두 가지 해결 방법이 있겠습니다.
1. booktabs 패키지를 얹지 않고 \toprule, \midrule, \bottomrule 대신 tabu 패키지의 선 긋는 명령어인 \tabucline 명령과 굵기 옵션을 주는 방법
소스를 보니 낯이 익는데...
결론부터 말하자면 booktabs 패키지 때문에 그렇습니다.
이 소스에서 booktabs 패키지를 사용한 이유는 \toprule, \midrule, \bottomrule이란 명령을 쓰기 위한 것입니다.
booktabs 패키지의 철학은 가급적 세로선(vertical line)을 쓰지 않도록 하는 것입니다. 그래서 사용자가 세로선을 그으면 가로선과 겹치는 부분(즉 '十'자 표시, 네거리 부분)에서 약간의 간격을 주어 떼도록 하고 있습니다. 가로선을 우대하고 세로선을 홀대(?)하지요.
대략 두 가지 해결 방법이 있겠습니다.
1. booktabs 패키지를 얹지 않고 \toprule, \midrule, \bottomrule 대신 tabu 패키지의 선 긋는 명령어인 \tabucline 명령과 굵기 옵션을 주는 방법
\documentclass{article}
\usepackage{tabu}
% \usepackage{booktabs,longtable}
\usepackage{longtable}
\usepackage{xcolor}
\usepackage{colortbl}
\begin{document}
\begin{center}
\begin{longtabu}spread 10pt {|X[c]|X[2]|X[2]|X[2]|}
% \toprule
\tabucline[.25pt]{-}
\rowcolor{lightgray}\rowfont{\sffamily}$x$(도) & $\sin x$ & $\cos x$ & $\tan x$ \\
% \midrule
\tabucline[.125pt]{-}
\endfirsthead
% \toprule
\tabucline[.25pt]{-}
\rowcolor{lightgray}\rowfont{\sffamily}$x$(도) & $\sin x$ & $\cos x$ & $\tan x$ \\
% \midrule
\tabucline[.125pt]{-}
\endhead
% \bottomrule
\tabucline[.25pt]{-}
\endfoot
% \bottomrule
\tabucline[.25pt]{-}
\endlastfoot
0 & 0 & 1 & 0 \\
2. booktabs를 사용하되, 네거리 교차지점을 메워주는 개선된 \TopRule, \MidRule, \BottomRule을 사용하는 방법
(예전에 Karnes 님이 만들어두신 http://faq.ktug.or.kr/faq/Karnes/2010-11)
\documentclass{article}
\usepackage{tabu}
\usepackage{booktabs,longtable}
\makeatletter
\def\TopRule{\noalign{\ifnum0=`}\fi
\@aboverulesep=\abovetopsep
\global\@belowrulesep=\z@
\global\@thisruleclass=\@ne
\@ifnextchar[{\@BTrule}{\@BTrule[\heavyrulewidth]}}
\def\MidRule{\noalign{\ifnum0=`}\fi
\@aboverulesep=\z@
\global\@belowrulesep=\z@
\global\@thisruleclass=\@ne
\@ifnextchar[{\@BTrule}{\@BTrule[\lightrulewidth]}}
\def\BottomRule{\noalign{\ifnum0=`}\fi
\@aboverulesep=\z@
\global\@belowrulesep=\belowbottomsep
\global\@thisruleclass=\@ne
\@ifnextchar[{\@BTrule}{\@BTrule[\heavyrulewidth]}}
\makeatother
\usepackage{xcolor}
\usepackage{colortbl}
\begin{document}
\begin{center}
\begin{longtabu}spread 10pt {|X[c]|X[2]|X[2]|X[2]|}
\TopRule
\rowcolor{lightgray}\rowfont{\sffamily}$x$(도) & $\sin x$ & $\cos x$ & $\tan x$ \\
\MidRule
\endfirsthead
\TopRule
\rowcolor{lightgray}\rowfont{\sffamily}$x$(도) & $\sin x$ & $\cos x$ & $\tan x$ \\
\MidRule
\endhead
\BottomRule
\endfoot
\BottomRule
\endlastfoot
0 & 0 & 1 & 0 \\
...
(이하 생략)
http://cfile6.uf.tistory.com/original/125C65154CE9CFD83A49BA