2

Footnotes of the scrbook class come with a default indentation. Unfortunately, linguex seems to ignore it and falls back on the margins of the main text.

\documentclass{scrbook}           
\usepackage{linguex} 
\begin{document}

This is where the footnote attaches.\footnote{Here comes an example sentence within a footnote:

\ex. Here it is.

And now it's over.}

\end{document}

enter image description here

Any idea how I can tell linguex to behave?

1 Answer 1

1

linguex redefines the \footnotetext which seems to be incompatible to scrbook: Try this:

\footnote{Here comes an example sentence within a footnote:\\
\parbox{\linewidth}{\ex. Here it is.

}
And now it's over.}

One needs to add \\ before \parbox here, in order to avoid the indentation with \parindent.

5
  • This solves the immediate problem, thanks! But then you have to take back parindents manually: \noindent\parbox{\linewidth}{\ex. Here it is. Is there a way to accomplish this automatically?
    – Timm
    Nov 14, 2014 at 12:55
  • sure, but you can test if you are in a footnote and then using a \parbox and not outside of a footnote
    – user2478
    Nov 14, 2014 at 14:39
  • yes, but that's not the problem I was referring to. Even if I use \parbox only in footnotes, I have to add \noindent in certain cases in order to eliminate the \parindent.
    – Timm
    Nov 14, 2014 at 14:56
  • Give an example. I cannot see such a case.
    – user2478
    Nov 14, 2014 at 16:54
  • See my addition to your answer.
    – Timm
    Nov 14, 2014 at 23:57

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .