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.

How to modify

\footnote

in ConTeXt, such that the complete footnote is indented?

share|improve this question
    
By default footnotes are not indented. Can you add a complete minimal example that demonstrates your problem? –  Marco Oct 16 '12 at 7:44
    
I am not sure, what you are asking for. Yes, footnotes are not indented, but I want them to indent. I think I should modify \setupfootenotes. Of course I can add a minexample (any footnote), if needed. Edit: Ok, my question could be misunderstood: I know there is no indentation, no complete and no first line, but Im looking for that (complete) indentation. Thats the question. –  Mustafa Oct 16 '12 at 7:48
    
Sorry, I misread the question. I thought you asked how to get rid of the indentation. So you want the entire footnote to be shifted or only the first line? –  Marco Oct 16 '12 at 7:52
    
Footnotes respect the indenting parameter: \setupnotation[footnote][indenting={small,yes}]. –  phg Oct 16 '12 at 7:58
    
Yes, I want the entire footnote to indent. @phq: This does not work, no indentation of the footnote, where I have to place the \setupnotation? –  Mustafa Oct 16 '12 at 8:11

1 Answer 1

up vote 5 down vote accepted

I'm not quite sure how you want your footnotes to look like and what to indent. You find further information on the Wiki - Footnotes.

Use the \setupnotation [footnote] command to adjust the layout, here are some examples.

%% left align the footnote number and shift the footnotes
\setupnotation
  [footnote]
  [alternative=left]

%% indents the entire footnote by 2em and the number by 1em
\setupnotation
  [footnote]
  [alternative=left,
   width=2em,
   numbercommand=\hskip1em]

%% left align the footnote number, which practically indents the
%% first line
\setupnotation
  [footnote]
  [alternative=left,
   hang=1]

%% Indents the first line inclusive the footnote number
\setupnotation
  [footnote]
  [alternative=left,
   numbercommand=\hskip1cm]

%% Indents all footnotes and right-aligns the number
\setupnotation
  [footnote]
  [alternative=left,
   headalign=flushright,
   width=2em]

Full example:

\setupnotation
  [footnote]
  [alternative=left,
   hang=1,
   numbercommand=\hskip1cm]

\starttext

Lorem \startfootnote
        \input ward
      \stopfootnote

Ipsum \startfootnote
        \input ward
      \stopfootnote

\stoptext

result

share|improve this answer
    
That works, but I want to indent the entire footnote, not only it's first line. In LaTeX that is \deffootnote{2em}{2em}{\textsuperscript{\normalfont \thefootnotemark} } –  Mustafa Oct 16 '12 at 8:17
    
The footnote number as well? –  Marco Oct 16 '12 at 8:23
    
Yes, everything (f.e.) 2em to the right. –  Mustafa Oct 16 '12 at 8:25
1  
Something like \setupnotation[footnote][alternative=left,width=2em,numbercommand=\hskip1em]? –  Marco Oct 16 '12 at 8:30
1  
numbercommand=\hskip1.6em\high –  Marco Oct 16 '12 at 8:49

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.