제발 도와주셨으면 합니다. 저는 포레스트 패키지, 옵션 언어학을 사용하여 구문 구문 구조 트리를 그리고 있습니다. 문제는 나무가 자라면 페이지에 맞지 않는다는 것입니다. 그래서 나는 그것들을 회전시키고 싶었습니다. 문제는 성장 옵션을 사용할 때 트리가 회전하지만 노드가 그에 따라 회전하지 않는다는 것입니다. 누구든지 나를 도와줄 수 있나요? 내 최소한의 코드는 다음과 같습니다.
\documentclass[10pt,a4paper]{article}
\usepackage[linguistics]{forest}
\usepackage{linguex}
\begin{document}
\ex. \begin{forest}
for tree={s sep=10mm, inner sep=0, l=0, grow=0}
[IP
[DP[The cat, roof]]
[I$'$[VP[scratched the furniture, roof]]]
]
\end{forest}
\end{document}
그러나 이것이 내가 달성하고 싶은 것입니다:
답변1
나는 이것이 좋은 생각이라고 생각하지 않지만 간단히 명령 안에 트리를 넣을 수 있습니다 \rotatebox
.
\documentclass{article}
\usepackage{graphicx}
\usepackage[linguistics]{forest}
\usepackage{linguex}
\begin{document}
This is some text.
\ex.
\rotatebox{90}{\begin{forest}
for tree={s sep=10mm, inner sep=0,}
[IP
[DP[The cat, roof]]
[I$'$[VP[scratched the furniture, roof]]]
]
\end{forest}}
This is some more text.
\end{document}