It is possible to display both 2- and 3-line glosses (where the third line
is a natural rendering of the second gloss line). However, it is necessary
to duplicate material within environments specific to LaTeX and HTML
(otherwise unwieldy images are produced by the conversion process).
Examples of how to do this follow.
2-line glosses use
a tabular, with as many columns as there are words to be glossed, the
second row containing the gloss of the first row.
De | gelovige | heeft | een | kaars | in | haar | handen. |
The | worshipper | holds | a | candle | in | her | hands.
|
This is achieved as follows:
begin{latexonly}
\ngloss{De}{The} \ngloss{gelovige}{worshipper} \ngloss{heeft}{holds}
\ngloss{een}{a} \ngloss{kaars}{candle} \ngloss{in}{in}
\ngloss{{\em haar}}{{\em her}} \ngloss{handen}{hands}
end{latexonly}
begin{htmlonly}
\begin{tabular}{llllllll}
De&gelovige&heeft&een&kaars&in&{\em haar}&handen.\\
The&worshipper&holds&a&candle&in&{\em her}&hands.
\end{tabular}
end{htmlonly}
As for 3-line glosses, these again use
a tabular, the first row containing the source expression, the
second row containing the gloss and the third row containing the natural
rendering. There are again as many columns as words to be glossed. The
natural rending of the third row is expressed as a multicolumn unit.
``Professore, | vorrei | dirle | spero | rivederla | presto |
Professor (man), | I want | to tell-her, | I hope | to see-her | soon |
`Professor, I want to tell you, I hope to see you soon.' |
This is achieved as follows:
begin{latexonly}
\ngloss{De}{The} \ngloss{gelovige}{worshipper} \ngloss{heeft}{holds}
\ngloss{een}{a} \ngloss{kaars}{candle} \ngloss{in}{in} \ngloss{{\em
haar}}{{\em her}} \ngloss{handen}{hands}
\ngloss{``Professore,}{\hspace*{0.4em}Professor (man),}
\ngloss{vorrei}{I want}
\ngloss{dirle,}{to tell-her,}
\ngloss{spero}{I hope}
\ngloss{riveder{\bf la}}{to see-her}
\ngloss{presto.''}{soon}\\
\hspace*{0.1em}`Professor, I want to tell you, I hope to see you soon.'
end{latexonly}
begin{htmlonly}
\begin{tabular}{llllll}
``Professore,&vorrei&dirle&spero&riveder{\bf la}&presto\\
Professor (man),&I want&to tell-her,&I hope&to see-her&soon\\
\multicolumn{6}{l}{`Professor, I want to tell you, I hope to see you
soon.'}
\end{tabular}
end{htmlonly}