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 want that my footnotes have numbers like this:

  • in the text : like this : (7) instead of just 7.
  • in the bottom of the page (where the note text is) : like this : 7. This is my note... blah...

If I use :

 \renewcommand{\thefootnote}{(\arabic{footnote})}

then there is parantheses (...) in the text, but also in the bottom : (7). This is my note... blah..., and I don't want this.

Any idea?

share|improve this question
    
I would use the footmisc package with the footref macro, but there's got to be a way of redefining it, which is what you're asking for. In a pinch, though... –  Sean Allred Apr 30 '13 at 8:30

3 Answers 3

up vote 12 down vote accepted

It's quite easy with scrextend

\documentclass{article}
\usepackage{scrextend}
\deffootnote{1.5em}{1em}{\thefootnotemark.\ }
\deffootnotemark{\textsuperscript{(\thefootnotemark)}}

\usepackage{lipsum}

\setlength{\textheight}{10cm} % just for the example

\begin{document}
A footnote.\footnote{\lipsum[1]\lipsum*[2]}
\end{document}

enter image description here

share|improve this answer
    
Side note: The explanation can be found in KOMA-Script documentation, since scrextend is made to provide a lot of KOMA-Script specific stuff to users of other document classes. –  Speravir Apr 30 '13 at 20:03

You want \thefootnote not to have the brackets

\renewcommand{\thefootnote}{\arabic{footnote})

then define

\makeatletter

\def\@footnotemark{%
  \leavevmode
  \ifhmode\edef\@x@sf{\the\spacefactor}\nobreak\fi
  \hbox{\@textsuperscript{\normalfont(\@thefnmark)}}%
  \ifhmode\spacefactor\@x@sf\fi
  \relax}

\makeatother

To put the brackets back in the mark.

share|improve this answer

Does the following produce the desired result?

enter image description here

\documentclass[a4paper]{article}

\usepackage{lipsum}

\makeatletter
\long\def\@makefnmark{%
    \hbox {\@textsuperscript {\normalfont (\@thefnmark) }}
}
\long\def\@makefntext#1{%
    \parindent 1em\noindent \hb@xt@ 1.8em%
    {\hss \hbox {\normalfont \@thefnmark.} }#1
}
\makeatother

\begin{document}
\lipsum[1-5]
My footnote\footnote{\lipsum[6]}
\end{document}
share|improve this answer
    
+1 for this answer for illustrating what I was missing while trying to answer. –  kan Apr 30 '13 at 9:26

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.