KTUG 한국 텍 사용자 그룹

Menu

KTUG :: Q&A 마당

다음 코드 참고해보세요.


\\

\\ 부분이 에러를 발생시키네요.


\documentclass[a4paper]{article}

\usepackage{tikz}

\usepackage{tikz-qtree}

\usepackage{kotex}

\usepackage{pdflscape}

\addtolength{\hoffset}{-3cm}

\addtolength{\textwidth}{3cm}

%\tikzset{align=center}

\begin{document}

\begin{landscape}

\centering

우리는 민족 중흥의 역사적 사명을 띠고 이 땅에 태어났다.


\vspace{2cm}


\begin{figure}[h!]

\centering

\begin{tikzpicture}[baseline]

\tikzset{every tree node/.style={align=center,anchor=north}}

\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} \#다 ]]

\end{tikzpicture}

\end{figure}


\newpage

\centering

이윽고

\end{landscape}

\end{document}

KTUG 한국 텍 사용자 그룹