I am using \ex to enumerate my examples in the text. Sometimes I would like to have the example start without line feed, i.e. in the same line. (for instance if the sentence is short, to save space) So I would like to have the output:
"Balala, as in (2) example. Blablabal"
And the exe environment is producing
"Balala, as in
(2) example.
Blablabal"
Aslo for items in the xlist it would be nice to put the next to each other, so (1) a) Blaa. b) blla.
I was not able to find how it is possible. Nothing seems to work for me. Does anyone have a solution?
I removed other packages. I thought there should be a way to adjust it. I do not know any alternative that would allow for what I need.
\documentclass[11pt,a4paper]{article}
\usepackage{gb4e}
\begin{document}
Consider (\ref{exe:0}).
\begin{exe}
\ex\label{exe:some}
\begin{xlist}
\ex \emph{Some...}\label{exe:0}
\ex \emph{Not ...} \label{exe:1} %% I want to have them next to each other
\end{xlist}
\end{exe}
Blabla:
\begin{exe}
\ex \emph{Some...} % I want to have this "inline"
\end{exe}
\end{document}
\documentclass{...}
and ending with\end{document}
? With out it the question is unclear to me. Welcome to TeX.SE. – Zarko Nov 1 '16 at 0:10gb4e
is not designed for inline examples. – Alan Munn Nov 1 '16 at 0:11