I am glossing linguistic examples with the linguex package and generally I am very happy with it, so I don't want to use any other enumerating/glossing package. But when I use the Libertine Biolinum (=sans serif) font with it, the glossed examples always appear with serifs. How can I get sans serif glosses?
\documentclass[a4paper]{article}
\usepackage[utf8]{inputenc}
\usepackage{libertine}
\renewcommand*\familydefault{\sfdefault}
\usepackage[T1]{fontenc}
\usepackage{linguex}
\begin{document}
\section{Sans serif font: Libertine Biolinum}
Text text text text text
\ex. Linguex numbered example without interlinear glossing
\a. Every layer
\a. appears in
\a. sans serif font without interlinear glossing
But as soon as I use interlinear glossing
\exg. Both object language and \\
glossing appear with serifs\\
'Last line is sans serif again.\\
\end{document}
\\
in\exg
, it just causes a warning and does nothing good. – egreg Feb 20 '18 at 17:41\glt
macro to introduce the translation. – Alan Munn Feb 20 '18 at 17:48