Text FormattingUsing \hfill with linguex

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Bartosz_W
Posts: 3
Joined: Mon Nov 24, 2008 3:56 pm

Using \hfill with linguex

Post by Bartosz_W »

\hill simply does not work with glossed examples using the popular linguex package. While the placement of \hfill will correctly flush the following text right in a simple \ex. environment as below

Code: Select all

\usepackage{linguex}
\begin{document}

\ex. 
example \hfill (Italian)
it fails to do so in the \exg. environment:

Code: Select all

\exg.  
example \hfill (Italian) \\
gloss\\
\flushright or placing the material to be glossed in {} or playing with \\ seems to fail either. Interestingly, \hspace{} in lieu of \hill does work in this case, though it obviously doesn't give you what you want. Any idea?
Hey, I know you. You work at the hardware store.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Post Reply