while maintaining backwards compatibility (#9967).
%% Kommentieren Sie das Folgende aus, um Tableaux-Überschriften zu erzeugen:
%\floatstyle{plaintop}
%\restylefloat{tableau}
+
+% Rückwärtskompatibilität zu forest 1.x
+% Wenn Sie forest 2.0.1 oder neuer verwenden,
+% können Sie das Folgende löschen.
+\@ifpackageloaded{forest}{%
+ \@ifpackagelater{forest}{2016/02/20}{}{%
+ \forestset{
+ roof/.style={edge path={\noexpand\path[\forestoption{edge}]%
+ (.north west)--(!u.south)--(.north east)--cycle
+ \forestoption{edge label};
+ }
+ },
+ sn edges/.style={
+ for tree={parent anchor=south, child anchor=north},
+ },
+ linguistics preamble/.style={sn edges, baseline, for tree={align=center}}
+ }
+ \preto\forest@do{%
+ \forestOpreto{\forest@root}{given options}{linguistics preamble,}%
+ }
+ }
+}{}
\end_preamble
\use_default_options false
\begin_modules
\begin_inset Quotes gld
\end_inset
+roof
+\begin_inset Quotes grd
+\end_inset
+
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\noindent
+Bitte beachten Sie, dass die Option
+\begin_inset Quotes gld
+\end_inset
+
+roof
+\begin_inset Quotes grd
+\end_inset
+
+ erst ab Version 2.0 des Pakets
+\family sans
+forest
+\family default
+ verfügbar ist.
+ Für frühere Versionen haben wir in den Vorspann dieses Dokuments Code eingefügt
+, die die Verwendung dennoch gestattet.
+ Wenn Ihre Version des Pakets
+\family sans
+forest
+\family default
+ kleiner ist als 2.0 und Sie
+\begin_inset Quotes gld
+\end_inset
+
+roof
+\begin_inset Quotes grd
+\end_inset
+
+ verwenden wollen, müssen Sie diesen Code in den Vorspann Ihres Dokuments
+ kopieren.
+ Statt dessen können Sie auch die alte Option
+\begin_inset Quotes gld
+\end_inset
+
triangle
\begin_inset Quotes grd
+\end_inset
+
+ (statt
+\begin_inset Quotes gld
+\end_inset
+
+roof
+\begin_inset Quotes grd
+\end_inset
+
+) verwenden.
+\end_layout
+
\end_inset
erzeugt werden (beachten Sie, dass Kommata eine spezielle Bedeutung haben;
status open
\begin_layout Plain Layout
-[VP [DP[Hans]] [V' [V[schickt]] [DP[Maria]] [DP[einen weiteren Brief, triangle]]
+[VP [DP[Hans]] [V' [V[schickt]] [DP[Maria]] [DP[einen weiteren Brief, roof]]
] ]
\end_layout
%% Uncomment the following to translate the float caption label
%\floatname{tableau}{Cuadro}
+
+% Backwards compatibility for forest 1.x
+% If you use forest 2.0.1 or later, you can delete this
+\@ifpackageloaded{forest}{%
+ \@ifpackagelater{forest}{2016/02/20}{}{%
+ \forestset{
+ roof/.style={edge path={\noexpand\path[\forestoption{edge}]%
+ (.north west)--(!u.south)--(.north east)--cycle
+ \forestoption{edge label};
+ }
+ },
+ sn edges/.style={
+ for tree={parent anchor=south, child anchor=north},
+ },
+ linguistics preamble/.style={sn edges, baseline, for tree={align=center}}
+ }
+ \preto\forest@do{%
+ \forestOpreto{\forest@root}{given options}{linguistics preamble,}%
+ }
+ }
+}{}
\end_preamble
\use_default_options false
\begin_modules
\begin_inset Quotes fld
\end_inset
-triangle
+roof
\begin_inset Quotes frd
+\end_inset
+
+
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\noindent
+
+\lang english
+Note that the
+\begin_inset Quotes eld
+\end_inset
+
+roof
+\begin_inset Quotes erd
+\end_inset
+
+ option only exists as of
+\family sans
+forest
+\family default
+ version 2.0.
+ We have added some code to the preamble of this manual to support previous
+ versions.
+ If you use a
+\family sans
+forest
+\family default
+ version < 2.0, you either need to copy this code to your preamble or use
+ the old option
+\begin_inset Quotes eld
+\end_inset
+
+triangle
+\begin_inset Quotes erd
+\end_inset
+
+ instead of
+\begin_inset Quotes eld
+\end_inset
+
+roof
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
\end_inset
(atención al significado de la coma, pues marca opciones):
\begin_layout Standard
\begin_inset Flex Structure Tree
-status collapsed
+status open
\begin_layout Plain Layout
-[VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, triangle]] ]
- ]
+[VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, roof]] ] ]
\end_layout
\end_inset
%% Uncomment the following for Tableaux captions on top:
%\floatstyle{plaintop}
%\restylefloat{tableau}
+
+% Backwards compatibility for forest 1.x
+% If you use forest 2.0.1 or later, you can delete this
+\@ifpackageloaded{forest}{%
+ \@ifpackagelater{forest}{2016/02/20}{}{%
+ \forestset{
+ roof/.style={edge path={\noexpand\path[\forestoption{edge}]%
+ (.north west)--(!u.south)--(.north east)--cycle
+ \forestoption{edge label};
+ }
+ },
+ sn edges/.style={
+ for tree={parent anchor=south, child anchor=north},
+ },
+ linguistics preamble/.style={sn edges, baseline, for tree={align=center}}
+ }
+ \preto\forest@do{%
+ \forestOpreto{\forest@root}{given options}{linguistics preamble,}%
+ }
+ }
+}{}
\end_preamble
\use_default_options false
\begin_modules
\begin_inset Quotes fld
\end_inset
-triangle
+roof
\begin_inset Quotes frd
+\end_inset
+
+
+\begin_inset Foot
+status open
+
+\begin_layout Plain Layout
+\noindent
+
+\lang english
+Note that the
+\begin_inset Quotes eld
+\end_inset
+
+roof
+\begin_inset Quotes erd
+\end_inset
+
+ option only exists as of
+\family sans
+forest
+\family default
+ version 2.0.
+ We have added some code to the preamble of this manual to support previous
+ versions.
+ If you use a
+\family sans
+forest
+\family default
+ version < 2.0, you either need to copy this code to your preamble or use
+ the old option
+\begin_inset Quotes eld
+\end_inset
+
+triangle
+\begin_inset Quotes erd
+\end_inset
+
+ instead of
+\begin_inset Quotes eld
+\end_inset
+
+roof
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
\end_inset
(notez que la virgule a une signification spéciale, puisqu’elle marque
status open
\begin_layout Plain Layout
-[VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, triangle]] ]
- ]
+[VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, roof]] ] ]
\end_layout
\end_inset
%% Uncomment the following for Tableaux captions on top:
%\floatstyle{plaintop}
%\restylefloat{tableau}
+
+% Backwards compatibility for forest 1.x
+% If you use forest 2.0.1 or later, you can delete this
+\@ifpackageloaded{forest}{%
+ \@ifpackagelater{forest}{2016/02/20}{}{%
+ \forestset{
+ roof/.style={edge path={\noexpand\path[\forestoption{edge}]%
+ (.north west)--(!u.south)--(.north east)--cycle
+ \forestoption{edge label};
+ }
+ },
+ sn edges/.style={
+ for tree={parent anchor=south, child anchor=north},
+ },
+ linguistics preamble/.style={sn edges, baseline, for tree={align=center}}
+ }
+ \preto\forest@do{%
+ \forestOpreto{\forest@root}{given options}{linguistics preamble,}%
+ }
+ }
+}{}
\end_preamble
\use_default_options false
\begin_modules
\begin_layout Standard
expands to a real structure tree.
To view the result within the \SpecialChar LyX
- workarea, you can simply embed the Structure
+ work area, you can simply embed the Structure
Tree inset into a Preview inset (
\family sans
Insert\SpecialChar menuseparator
\begin_inset Quotes eld
\end_inset
+roof
+\begin_inset Quotes erd
+\end_inset
+
+ option
+\begin_inset Foot
+status collapsed
+
+\begin_layout Plain Layout
+\noindent
+Note that the
+\begin_inset Quotes eld
+\end_inset
+
+roof
+\begin_inset Quotes erd
+\end_inset
+
+ option only exists as of
+\family sans
+forest
+\family default
+ version 2.0.
+ We have added some code to the preamble of this manual to support previous
+ versions.
+ If you use a
+\family sans
+forest
+\family default
+ version < 2.0, you either need to copy this code to your preamble or use
+ the old option
+\begin_inset Quotes eld
+\end_inset
+
triangle
\begin_inset Quotes erd
\end_inset
- option (note that the comma has special meaning, as it marks options):
+ instead of
+\begin_inset Quotes eld
+\end_inset
+
+roof
+\begin_inset Quotes erd
+\end_inset
+
+.
+\end_layout
+
+\end_inset
+
+ (note that the comma has special meaning, as it marks options):
\end_layout
\begin_layout Standard
status open
\begin_layout Plain Layout
-[VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, triangle]] ]
- ]
+[VP [DP[John]] [V' [V[sent]] [DP[Mary]] [DP[another letter, roof]] ] ]
\end_layout
\end_inset
Requires forest
ResetsFont true
PassThruChars []
+ Preamble
+ % Load forest linguistics library, if available
+ \@ifpackagelater{forest}{2016/02/20}{%
+ \useforestlibrary*{linguistics}
+ }{}
+ EndPreamble
End
\newcommand{\lingexpr}[1]{\emph{#1}}
EndPreamble
InToc true
- ResetsFont true
+ ResetsFont true
End
\newcommand{\lingconcept}[1]{\textsc{#1}}
EndPreamble
InToc true
- ResetsFont true
+ ResetsFont true
End
\newcommand{\lingmeaning}[1]{\enquote*{#1}}
EndPreamble
InToc true
- ResetsFont true
+ ResetsFont true
End