안녕하세요? LaTeX 초보자입니다. 염치불구하고 고수님들께 질문드립니다.
텍으로 수형도를 작성하는 중에 \centering 명령어에서 자꾸 에러가 납니다.
애초에 센터링 명령어 없이 작성했다가 센터링 명령어를 추가하니 컴파일할 때 에러가 납니다.
뒤에 \newpage 다음의 센터링 명령어는 제대로 작동합니다.
앞에 것은 안 되고 뒤의 명령어는 되니 무엇이 문제인지 잘 모르겠습니다.
고수님들께 도움 요청합니다. 감사합니다.
\documentclass[a4paper]{article}
\usepackage{tikz}
\usepackage{tikz-qtree}
\usepackage{kotex}
\usepackage{pdflscape}
\addtolength{\hoffset}{-3cm}
\addtolength{\textwidth}{3cm}
\begin{document}
\begin{landscape}
%\centering
우리는 민족 중흥의 역사적 사명을 띠고 이 땅에 태어났다.
\\
\\
\Tree[.\textit{S} [.\textit{S}
[.\textit{NP} 우리 =는 ]
[.\textit{VP} [.\textit{advP}
[.\textit{S} [.\textit{NP} $\phi$ ]
[.\textit{VP} [.\textit{NP} [.\textit{NP} [.\textit{NP} 민족 ] [.\textit{N}$'$ 중흥 ] [.\\ =의 ]]
[.\textit{N}$'$ [.\textit{NP} [.\textit{NP} 역사 ] [.\textit{N}$'$ \#적 ]]
[.\textit{N}$'$ 사명 ]]
[.\\ =을 ]]
[.\textit{V} 띠 ]]]
[.\textit{Adv} \#고 ]]
[.\textit{V}$'$ [.\textit{PP} [.\textit{NP} [.\textit{PreN} 이 ] [.\textit{N}$'$ 땅 ]]
[.\textit{P} \#에 ]]
[.\textit{V}$'$ [.\textit{V}$'$ 태-어 ]
[.\textit{V} 나-았 ]]]]]
[.\textit{SE} \#다 ]]
\newpage
\centering
이윽고
\end{landscape}
\end{document}