9
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{tipa}
\usepackage{gb4e}
\usepackage{nomencl}

\begin{document}

\begin{exe}
 \ex

 \gll \noautomath \textipa{\|[to} pani pito\\
 ram.3P.M.Sg. water.F.Sg. drink.PERF.M.Sg.\\
 \trans ram drinks water


\end{exe} 

\end{document}
  • Would you mind to explain your question a little bit more? :-} – Keks Dose Mar 18 '18 at 18:54
  • 4
    You can load tipa after gb4e, but perhaps you then a clash somewhere else ... – Ulrike Fischer Mar 18 '18 at 19:02
10

This is caused by a bug in gb4e that arose after changes to the LaTeX kernel a few years ago. The solution is to add.

\makeatletter
\def\new@fontshape{}
\makeatother

before you load gb4e.

But additionally, you need to load tipa after gb4e since gb4e also defines \|. (Thanks to Ulrike for noticing this.)

Here's a full example.

\documentclass{article}
\usepackage[utf8]{inputenc}


\makeatletter
\def\new@fontshape{}
\makeatother
\usepackage{gb4e}
\noautomath
\usepackage{tipa}
\usepackage{nomencl}

\begin{document}

\begin{exe}
 \ex
 \gll  \textipa{\|[to} pani pito\\
 ram.3P.M.Sg. water.F.Sg. drink.PERF.M.Sg.\\
 \trans ram drinks water
\end{exe} 


\end{document}

output of code

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.