I've got my file set up to create an interlinear two-language text (for this example using Russian). I created it using various code-snippets from this very same site.
The problem is that the interlinear texts already discussed here all deal with situations where entire sentences or paragraphs are interlinear, like my current code.
But what I want to do is have the primary language and then simply designate a word/s for interlinear glossing (i.e a gloss for a single word in a sentence rather than the whole sentence itself).
In this image I gloss every word except one.
\newenvironment{interlinear}%
{\begin{russian} \begingl}%
{\endgl \end{russian}}%
\begin{document}
\begin{interlinear}
\gla Now {\hspace{0em}} {the possibility} {to print} simple documents
with English and Russian. //
\glb Теперь есть возможность печатать простые документы с английскими и
русскими.//
\end{interlinear}
\end{document}
As you can see I can use h-space to leave a word blank. But I want to leave most blank, like this:
\gla {\hspace{0em}} {\hspace{0em}} {\hspace{0em}} {to print}
{\hspace{0em}} {\hspace{0em}} with {\hspace{0em}} {\hspace{0em}}
{\hspace{0em}}. //
\glb Теперь есть возможность печатать простые документы с английскими и русскими.//
The thing is that even if I'm not using h-space effectively, obviously this doesn't seem to be an efficient or appropriate method.
So is there a way to do something like "Это простой{^simple} Русский язык" and then get the English gloss for that single word?
Edit: the packages I'm using:
\documentclass[draft, a4paper]{article}
\usepackage{polyglossia}
\setdefaultlanguage{russian}
\setotherlanguage{english}
\newfontfamily\russianfont[Script=Cyrillic]{Lava Pro Reg}
\newfontfamily\englishfont{Equity Text B}
\usepackage{expex}
gb4e
might be useful. See Numbered linguistic examples that I can refer back to.