Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I need to write a translation to poetry into footnote. I failed to find any good way to markup this:

\footnote{line1\\line2}

By default, footnote's first line have smaller indent that the second one. This doesn't look like a poem.

I also tried the verse environment, but it seems that in latex every environment should begin from new line.

There is some questions on stackexchange, which ask about footnotes markup, but answer is "set indents manually", which is not good way (IMHO).

So, how do I make the indent of the second text line in the footnote the same as the first line indent (plus footmark width, of course).

share|improve this question
1  
Two non-TeX solutions would be: Introduce the poem by a brief phrase or sentence, which then allows you to set the poem on the second line of the footnote; or, if it is short enough, it is quite common to mark line breaks with a '//', viz: 'Arma virumque cano, Troiae qui primus ab oris // Italiam fato profugus Laviniaque venit // litora'. –  jon Jun 7 '12 at 16:48
    
Unfortunately, both way are inapplicable in my case. –  Georg Jun 7 '12 at 17:19
    
Another possibility: if you 'hang' your footnotes (see, e.g., the hang option for footmisc), your problem would disappear. –  jon Jun 7 '12 at 17:25
    
Thanks! Your variant worked ok. By the way: is there any way to decrease indent of the footnoted text (space between footnotemark and footnotetext). Also, could you write an answer to this question so I can accept it? –  Georg Jun 7 '12 at 18:23

3 Answers 3

up vote 5 down vote accepted

An expansion of my earlier comment:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lipsum}
\usepackage[hang]{footmisc}
\setlength{\footnotemargin}{1em}% probably need at least 1.5em if >100
                                % footnotes
% default 'hang' values:
% \renewcommand{\hangfootparskip}{0.5\baselineskip}%
% \renewcommand{\hangfootparindent}{0em}

\begin{document}

Text.%
\footnote{\lipsum[1]}

\setcounter{footnote}{9}

Text.%
\footnote{\lipsum[1-2]}

\setcounter{footnote}{99}

Text.%
\footnote{\lipsum[3]}

\end{document}
share|improve this answer

You could use a verse environment inside a minipage environment in order to suppress the unwanted initial blank lines. The following MWE illustrates this method. Since it appears you may have a lot of these cases, you may want to create a new command called, say \vfootnote, that acts like a normal footnote except that it typesets its contents in a minipage that's not offset very much -- per your stated preferences -- to the right of the footnote number

\documentclass{article}
\makeatletter
\newenvironment{fnverse}
    {\let\\\@centercr
     \list{}{\itemsep 0pt
     \itemindent   -1.5em%
     \listparindent\itemindent
     \rightmargin  \leftmargin
     \advance\leftmargin-1em}% adjust to taste
     \item\relax}
     {\endlist}
\makeatother
\newcommand{\vfootnote}[1]{%
    \footnote{%
    \begin{minipage}[t]{0.9\textwidth} 
    \begin{fnverse}
    #1 
    \end{fnverse}
    \end{minipage}}}

\begin{document}
\ldots\ the opening lines of Vergil's Aeneid.\vfootnote{%
Arma virumque cano, Troiae qui primus ab oris\\
Italiam, fato profugus, Laviniaque venit\\
litora, multum ille et terris iactatus et alto\\
vi superum saevae memorem Iunonis ob iram;\\
multa quoque et bello passus, dum conderet urbem, \\
inferretque deos Latio, genus unde Latinum,\\
Albanique patres, atque altae moenia Romae.}
More text \ldots
\end{document}

The resulting footnote looks like this (note that I've kept the page marker in the image to provide a sense of the vertical separation between footnote material and the page number):

enter image description here

share|improve this answer
    
Hmm. There is still large indent at left side. Could this be fixed? By default there is no indent betweent footnote mark and footnote text (I have to add ~ to divide them one from other. –  Georg Jun 7 '12 at 18:09
    
@Georg: Do I understand you correctly that you want no horizontal separation at all between the footnote number and the footnote's text (the verses)? Please confirm. If you want a different amount, please be a bit more specific as to your preferred amount of horizontal separation. –  Mico Jun 7 '12 at 22:43
    
I want this: I specify no more than one indent, which corresponds (somehow) to indent of all lines of footnote (may be,for many foonotes). Jon added a comment which, as far as I understand, adds some automation to your variant (it also puts footnotes into minipages, and then specify minipage' indent). –  Georg Jun 8 '12 at 4:13
    
@Georg -- I've taken your suggestions and modified the MWE to set up a dedicated footnoting command called \vfootnote suitable for typesetting verse in a footnote, with a fairly narrow horizontal offset per your specifications. –  Mico Jun 9 '12 at 1:43

In article.cls you can find the definition of \@makefntext:

\newcommand\@makefntext[1]{%
    \parindent 1em%
    \noindent
    \hb@xt@1.8em{\hss\@makefnmark}#1}

The following redefinition makes footnotes' lines aligned (basically we use hangindent for this:

\documentclass{article}
\makeatletter
\renewcommand\@makefntext[1]{%
    \hangindent=1.8em\hangafter=1\parindent=0em\noindent
    \everypar{\hangindent=1.8em\hangafter=1}% 
    \hb@xt@1.8em{\hss\@makefnmark}#1}
\makeatother
\begin{document}
In the Frost's
poem\footnote{%
Whose woods these are I think I know.\\
His house is in the village though;}
\end{document}

enter image description here

share|improve this answer
    
This is hardcoded indent. I wrote about them in the question. I don't think this is a good decision. What if I change document class? –  Georg Jun 7 '12 at 18:11

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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