New answers tagged

0

You can get justified text quite simply. In fact an answer with modified mwe may come as a duplicate of Paragraph of text in a an equation. However there are a reason or two to still try another answer separately. The question remains open on how to use the lipsum package in a maths environment. This could simplify the mwe as requested to not work it out ...


1

This is the closest I've been able to get. I've used glossaries-extra which extends the glossaries package and provides per-unit counting in addition to the glossaries package's document-wide counting. This makes it easier to count per page. \documentclass{book} \usepackage{everypage} \usepackage{glossaries-extra} \AddEverypageHook{% ...


3

Reset the \linespread in the side notes: \documentclass[english,aps,preprint]{revtex4} %preprint implied double spacing \usepackage[footnote=true]{snotez} %footnotes as sidenotes \setsidenotes{text-format+=\linespread{1}\selectfont} \begin{document} bla \footnote{sidenote sidenote sidenote sidenote sidenote} \end{document}


0

UPDATE! I discovered The problem! It happens when the next section begins in the following page with an epigraph. If the \section{name} and the epigraph are in the same page where the \footnote is, then there is no problem. Still, if someone knows how to avoid deleting or adding text so that the-same-page-situation happens... I'm all ears!


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!


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}


2

Let's see what happens with a standard \endnote command: \documentclass{article} \usepackage{endnotes} \newcommand{\foo}{foo} % just for the test \begin{document} Some text.\endnote{With a \foo{} explanation.} \end{document} After processing this document, you'll find a file with extension .ent containing \@doanenote {1} macro:->With a \foo {} ...


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 ...


0

Something like this, that uses the .aux file for saving the footnotes. I don't think it's a real advancement in readability. \documentclass{article} \usepackage{atveryend} \makeatletter \newcommand{\victor@fnread}[2]{% \global\@namedef{victor@#1@footnote}{#2}% \g@addto@macro\victor@footnotes{#2}% } \def\victor@footnotes{}% \let\FOOTNOTE\victor@fnread ...


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 ...


0

This is the solution I found after a few hours playing with positioning the table and footnotes. The footnote package has an environment called savenotes that allows to keep all footnotes and flush it at the end of the environment. So this is how I used it. \begin{savenotes} % put the table* here with footnotes that use \footnote command % put some text ...


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

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.& ...


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.


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} ...


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 ...


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 ...


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@ ...


0

I’m using the \label - \ref system, but do not use \footnotemark at all (someone recommended to me to use a hair space and superscript), and because of hyperref I cannot use \footnotetext either. I defined myself a variant of it that works (originally for use in tables and possibly minipages, but it will also work for you if you just want to define them ...


0

I’m using the following technique for having multiple references to the same footnote, with hyperref, combining advice from its documentation and several posts here: \newcommand{\Hair}{\kern.16667em} […] Falls hierbei Fehler auftauchen prüfen Sie […] die Logs\Hair\textsuperscript{\ref{fn:tomcatlogs}}. […] Prüfen Sie ggfs. die ...


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

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

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}


0

You might want to have a look at bigfoot which provides footnotes to footnotes. I guess you could just consider your translation as a big set of notes and attach them section by section to the beginning of the original text-chunks. Both original and translation could in turn have each their own (or even several) note-systems for annotations. Try my rough ...


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]{% ...


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

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 ...


1

Try putting \protect before \footnote.


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

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} ...


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 ...


0

Maybe you want simply to make the rule appear to the right! If so, you should use the command \rightfootnoterule [![\documentclass\[twoside=semi\]{scrbook} \usepackage{polyglossia} \setmainlanguage\[numerals=mashriq,abjadjimnotail=true\]{arabic} \newfontfamily\arabicfont\[Script=Arabic,Ligatures=TeX\]{Simplified Arabic} \rightfootnoterule % Force footnote ...



Top 50 recent answers are included