Hot answers tagged

7

Let's look at some definitions: \thanks within article.cls: \def\thanks#1{\footnotemark \protected@xdef\@thanks{\@thanks \protect\footnotetext[\the\c@footnote]{#1}}% } This macro sets a footnote mark - \footnotemark. Then it adds the footnote text to \@thanks using \protected@xdef\@thanks{\@thanks <new footnote text>}. \maketitle in ...


4

Something like this? Catching the content of the environment with \BODY and applying the \footnotetext to this? \documentclass{memoir} \usepackage{xcolor} \usepackage{environ} \NewEnviron{mynote}{% \marginpar{\footnotemark}% marginal mark for the note \footnotetext{{\color{purple}\BODY}}}[\par] \begin{document} This experimental setup has evolved ...


4

Here is a solution, with the \newtagform, usetagform commands from mathtools. However, you can't use \eqref nor \cref for equations with footnotes. \documentclass{article} \usepackage{mathtools} \newtagform{fn}{(}{)\footnotemark} \begin{document} \usetagform{fn} \begin{equation}\label{eq1} a=b \end{equation} \footnotetext{Some text. } Equation ...


4

Your custom class is loading \usepackage[perpage]{footmisc} which sets the footnotes to restart, as specified, at each page. Since you have the .cls file, you can open it, remove the offending line and save it.


3

What you need is the customization of \footfootmark defined in extrafootnotefeatures-xetex-bidi like this \bidi@ensure@newcommand{\footfootmark}{% \ifdim\footmarkwidth < \z@ \llap{\hb@xt@ -\footmarkwidth{% \hss\normalfont\footscript{\@thefnmark}}% \hspace*{-\footmarkwidth}}% \else \ifdim\footmarkwidth = \z@ ...


3

You have to set it separately using \footnotemark and \footnotetext outside the \raisebox: \documentclass{article} \usepackage[paperheight=15\baselineskip]{geometry} \begin{document} Heavy\raisebox{1ex}{things are difficult to lift!\footnotemark}\footnotetext{You are right!} \end{document}


3

The symbols are actually footnote markers, so fnsymbol comes into action. An easy way to change this is using footmisc and define another set of fnsymbols with \DefineFNsymbolsTM{somename}. Please note that the syntax of this command is a list of macro name pairs, i.e. a text symbol and the 'corresponding' command in math mode. I just added some symbols ...


3

Update This version deals with other families of MinionPro with different names (one for each style of figures), per a request in the comments without relying on nesting \if...\fi loops. One way to do this is to compare the current font family with a comma-separated list of qualifying families. Various package implement this kind of facility. Here, I rely ...


3

Margin notes are actually floats and therefore separate entities by default. If you want them merged in such instances you should be willing to do some manual legwork. This shouldn't be an issue, really, and can be left until the end of the document preparation. \documentclass{memoir} \footnotesinmargin \newcommand{\labelfootnotemark}[1]{% ...


2

You could use the fancyhdr package for that. \documentclass{article} \usepackage{blindtext} \usepackage{fancyhdr} \begin{document} \thispagestyle{fancy} \renewcommand{\headrulewidth}{0pt} \fancyfoot[C]{My name, my laboratory, my email ...} \Blinddocument \end{document}


2

Never use manual mark up in commands like \title. I'd suggest using something like titling here. I'm not sure if you really want what you seem to - it seems strange. But you can no doubt adapt: \documentclass[twocolumn, twoside]{article} \usepackage{fancyhdr} \usepackage{titling} \pretitle{\begin{center}\fontsize{24pt}{10pt}\selectfont\bfseries} ...


2

cfr's solution clearly works. For people without much experience like myself, I found a simpler solution from stackoverflow and would like to share here: Use footmisc package: \usepackage[hang,flushmargin]{footmisc}


2

I had a similar issue that was solved in the following manner. The citations disappear because each overlay is a new citation of the same cite, so, beamer is not the problem, indeed biblatex is. You have to check, for your special style (numeric-comp), how biblatex writes a new entry of a cited cite (i.e. ídem, ibidem, nothing, just a number). I use verbose ...


2

The llncs class treats \thanks differently from the standard classes. But some tricks make the thing possible. \documentclass[runningheads]{llncs} \usepackage{etoolbox} \usepackage{kantlipsum} % just for the example \newcommand{\repthanks}[1]{\textsuperscript{\ref{#1}}} \makeatletter \patchcmd{\maketitle} {\def\thanks} ...


2

I don't see the point in not using the \makeatletter...\makeatother pair but if really necessary: Here's a package based wrap around (I stole the full code from Werner's answer in the given link Make all footnotes numbered subsequently, but one with a symbol ;-) -- but the splitting is by me) withoutatletter.sty: \NeedsTeXFormat{LaTeX2e} ...


2

For code in a class or package @ is already a letter so if you go \makeatletter ... new code \makeatother ... rest of original code then the rest of the original code is broken as @ is no longer a letter. \makeatletter is intended for use in teh preamble for short sections of code to avoid needing to make a package or class file so ...


2

The main thing here seems to be the requirement to have multiple representations of the same footnote: \arabic in the text (say, the default), and \alph in the actual footnote (say). You can change the default by adding \renewcommand{\thefootnote}{\whatever{footnote}} to the preamble (where you define \whatever). Here's an implementation that uses the ...


2

If you really really need to this the general mechanism is \footnotemark in the title, and then \footnotetext{text} later, outside the title. The catch is the \footnotemark needs to be proceeded by \protect and you need to fix the counter. However, you can do something simpler: give \paragraph an optional argument too. That optional argument is for the ...


1

Try putting \protect before \footnote.


1

Just go with \DeclareAutoCiteCommand{footnote}{\footcite}{\footcites} to let biblatex-mla know what to do with autocite=footnote. MWE \documentclass[11pt]{article} \usepackage[backend=biber, style=mla, autocite=footnote]{biblatex} \addbibresource{biblatex-examples.bib} \DeclareAutoCiteCommand{footnote}{\footcite}{\footcites} \begin{document} foo ...


1

If you are using plain TeX then you can try this: \input opmac \let\fnoteori=\fnote \def\fnote#1{\fnoteori{% \expandafter\ifx\csname fn:#1\endcsname\relax Footnote not declared yet.% \else \csname fn:#1\endcsname\fi}} \def\fnotedef#1#2{\toks0={#2}\openref\immediate\wref\sdef{{fn:#1}{\the\toks0}}} Something pretty complicated\fnote{ref:1} % at the ...


1

Finally found this answer: http://tex.stackexchange.com/a/35669/97184 After looking at all the different workarounds and not getting savenotes to work, tablefootnote-package seems to be the only solution that is simple and works. Too bad I get the footnote on the previous page, but I'll try fixing that too. Other answers still welcome!


1

Don't change \footnotesize... We need to change three components to address your three requirements. Change the footnote number. For this we need to adjust \@makefnmark, which starts out like this (from latex.ltx): \def\@makefnmark{\hbox{\@textsuperscript{\normalfont\@thefnmark}}} We can replace the insertion of \normalfont with ...


1

Apparently \BODY is not expanded when the endnote text is processed, due to a complicated interaction between LaTeX's footnote commands, endnote's redefinition of them, and the environ package. So (thanks to @clemens), we have to renew the Footnote environment to add two \expandafter commands. This makes sure the \BODY is expanded before it is written to ...


1

Try: \documentclass{article} \usepackage{tabu} \begin{document} \begin{tabu}{|X[-1]|X|} \hline Text\footnotemark[1] & Some long text. Some long text. Some long text. Some long text.\\ \hline \end{tabu} \footnotetext[1]{Foo Bar} \end{document} Note: In tabu documentation is warning, that footnotes is not implemented yet (I didn't test this).


1

In the lack of a MWE this is a quick and dirty solution using the article class … \documentclass{article} \newcommand{\repeatthanks}{\textsuperscript{\thefootnote}} \begin{document} \title{Title} \author{Author1\thanks{Text}, Author2\repeatthanks} \maketitle \end{document} It will only work if there’s no other \thanks in between.


1

It is a bit odd to have a footnote in a section heading, but if you do, you need to supply a version without the footnote for the table of contents and page headings. Here \paragraph is used directly to keep the example small but it is a 4th level heading so should only be used after \section, \subsection and \subsubsection. \documentclass{article} ...


1

Here is a solution, using longtable instead of tabbing \documentclass{report} \usepackage{longtable} \begin{document} paragraph before longtable\footnote{testing footnote outside longtable environment} \begin{longtable}[l]{lll} 1. & i. & first\footnote{testing footnote inside longtable environment}\\ 2. & ii. & second\\ 3. & iii.& ...


1

You might not like my answer as it will suggest adding yet another package ! Try to use the chngcntr package. I know that you can use it to avoid restarting the counter at every chapter through \usepackage{chngcntr} \counterwithout{footnote}{chapter} This basically overrides the resetting of the counter at every chapter. Try \usepackage{chngcntr} ...



Only top voted, non community-wiki answers of a minimum length are eligible