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'm using footmisc package for handling footnotes. I want to remove the star (*) from the symbol list?

I tried all the combination of

\DefineFNsymbols*{}{}

and

\setfnsymbol{}

except the correct one!:)

Could someone be so kind to point me to the correct command? Thanks!

share|improve this question
    
Do you only want to remove the * from the list of used symbols or not have any symbols at all? Your code shown suggest more the latter. –  Martin Scharrer Apr 20 '11 at 11:25
    
No, just *. I just showed the commands I was trying to use! –  Pie86 Apr 20 '11 at 11:55
1  
I see. In such cases either write the macro without {} or with {...} instead. Note that you can also format code inline in posts here using backticks `. –  Martin Scharrer Apr 20 '11 at 12:39
add comment

2 Answers

up vote 8 down vote accepted

The manual of footmisc states that the default symbol list is defined as:

\DefineFNsymbols*{lamport}[math]{*\dagger\ddagger\S\P\|{**}{\dagger\dagger}{\ddagger\ddagger}}

and then set using:

\setfnsymbol{lamport}

So, if you only want to remove the * (and maybe **) you can use:

\DefineFNsymbols*{lamportnostar}[math]{\dagger\ddagger\S\P\|{\dagger\dagger}{\ddagger\ddagger}}
\setfnsymbol{lamportnostar}

Otherwise use:

\DefineFNsymbols*{mysymbols}[math]{<some symbols>}
\setfnsymbol{mysymbols}

Note: The math option ensures that the symbol are used in math-mode.

share|improve this answer
    
I can't compile \documentclass[pdftex, a4paper, numbers=noendperiod]{scrbook} \usepackage[perpage,symbol*]{footmisc} \DefineFNsymbols*{lamportnostar}{\dagger\ddagger\S\P\|{\dagger\dagger}{\ddagger\‌​ddagger}} \setfnsymbol{lamportnostar} \begin{document} ciao\footnote{means hello.} \end{document} –  Pie86 Apr 20 '11 at 11:51
    
@Pie86: I had a look on it and added the required math option which fixes this. The manual seems to be inaccurate at one point (no [math]) which caused this. –  Martin Scharrer Apr 20 '11 at 12:37
add comment

You can use this way:

\documentclass{article}
\usepackage[paperheight=4cm]{geometry}% just for the example
\usepackage[perpage,para]{footmisc}

\usepackage{alphalph}
\makeatletter
\newcommand*{\fnsymbolsingle}[1]{%
  \ensuremath{%
    \ifcase#1%
%    \or *%
    \or \dagger
    \or \ddagger
    \or \mathsection
    \or \mathparagraph
    \else
      \@ctrerr
    \fi
  }%
}
\makeatother
\newalphalph{\fnsymbolmult}[mult]{\fnsymbolsingle}{}
\renewcommand*{\thefootnote}{%
  \fnsymbolmult{\value{footnote}}%
}


%\renewcommand\thefootnote{\itshape\arabic{footnote}}

\begin{document}

text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.} text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.} text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.}

text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.} text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.} text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.}

text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.} text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.} text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.}
\clearpage
text\footnote{First footnote.} text\footnote{Second footnote.} text\footnote{Third footnote.} text\footnote{First footnote.} text\footnote{Second footnote.}
\end{document}
share|improve this answer
    
If you indent your code by four spaces (or select it and hit the {} button), it formats up nicely as above. –  Brent.Longborough May 4 '12 at 9:53
add comment

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.