我正在使用 LyX,我必须创建一棵茎基树。我使用了一个forest
带有森林库的包linguistics
。获得的结果很好,但我仍然需要创建一个链接L
到的箭头\Gamma
。有人能帮帮我吗?
\documentclass[oneside,italian,english]{book}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{forest}
\usepackage{amsmath}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% Load forest linguistics library, if available
\@ifpackagelater{forest}{2016/02/20}{%
\useforestlibrary*{linguistics}
}{}
\makeatother
\usepackage{babel}
\begin{document}
\selectlanguage{italian}%
\begin{forest}
[$\Omega$, fit=band [[$\varGamma$][V]] [, fit=band[[S][F]][[C][L]]]]]]
\end{forest}
\selectlanguage{english}%
\end{document}
答案1
像这样?
\documentclass{book}
\usepackage{amsmath}
\usepackage{forest}
\useforestlibrary*{linguistics}
\begin{document}
\begin{forest}
[$\Omega$, fit=band
[[$\varGamma$, name=a][V]]
[, fit=band
[[S][F]]
[[C][L,name=b]]]
]%]]
\draw[red,->] (a) to [out=300, in=210] (b);
\end{forest}
\end{document}
在您的代码中,你有太多]
。