# Tag Info

## New answers tagged footnotes

1

Both babel and polyglossia redefine footnote macros at the beginning of the document, and so undo the changes made by footnotebackref. For babel this can be turned off, with the command \StandardFootnotes but not for polyglossia. Since babel works fine with XeTeX and LuaTeX, for most European languages, you should just use babel and not polyglossia. ...

1

I know this question was asked and answered, however such a question is still relevant today and due to updates in the ctable package I thought I should add my contribution to this question for future visitors. From ctablev1.26 onwards there's an option footerwidth=.. where a width can be specified for the footer seperate to mincapwidth. I should add that ...

0

There are some different things going on here and I did not entirely grasp what your purpose is after the review by your tutor and girlfriend. I will start with the comment part. Then you need to be able to write comments and you want at least two different sets that can be turned on and off. For the first part, how to write comments, one alternative is ...

1

Maybe this is what you want? I used ltablex, which brings the functionalities of longtable to tabularx: \documentclass[12pt]{article} \usepackage{amssymb} \usepackage{amsfonts} \usepackage[capposition=top]{floatrow} \usepackage{amsmath} \usepackage[nohead]{geometry} \usepackage[singlespacing]{setspace} \usepackage[bottom]{footmisc} \usepackage{graphicx} \...

3

You could redefined \@makefnmark as per the MWE: \documentclass{article} \makeatletter \def\@makefnmark{\hbox{[\normalfont\@thefnmark]}} \makeatother \begin{document} This is test.\footnote{Test footnote.} \end{document}

0

According to this question, I should use zref package as follows \usepackage{xepersian} \usepackage{zref-perpage} \zmakeperpage{footnote}

1

Either use \makeatletter \@addtoreset{footnote}{section} \makeatother or \counterwithin*{footnote}{section} The * prevents \counterwithin from prepending the section number to the footnote number. The first version does not need a package, the second one requires the chngcntr package. \documentclass[12pt, a4paper, twoside]{article} \usepackage[...

2

Since you're only mentioning multi-lined footnotes (and not multi-paragraph footnotes), the following provides what you're after: \documentclass{article} \usepackage[paperheight=20\baselineskip]{geometry}% Just for this example \usepackage{lipsum} \makeatletter \renewcommand\@makefntext[1]{% \parshape \@ne 1.25cm \dimexpr\hsize-1.25cm\relax% Set up ...

2

Are you looking for something like this? \documentclass{article} \usepackage{lipsum} \makeatletter \renewcommand\@makefntext[1]{% \@setpar{% \@@par \@tempdima=\hsize \advance\@tempdima by -1.25cm\relax \parshape \@ne 1.25cm \@tempdima }% \par \parindent=\z@ \noindent \hb@xt@ \z@{\hss \hb@xt@ 1.25cm{\@thefnmark.\hss}}% #1% } \...

2

With package url use: \footnote{\url{http://chasen.org/~taku/software/yamcha/}} and not \~, which is a command for the tilde as accent, eg \~n

0

You specifically mentioned using a sidewaystable. In that case I would recomment to use threeparttable, with which you can achieve the following: \documentclass[a4paper,12pt]{scrreprt} \usepackage{rotating} \usepackage[para]{threeparttable} \begin{document} \begin{sidewaystable}[htbp] \centering \caption{Super informative caption} ...

2

You can use \DeclareFieldFormat for this, which allows formatting on a per-entry type. (I've changed your documentclass to article, since I don't have your class). Note: This is a temporary answer, which although it works has some problems as noted in the comments. I will update with a better solution. \documentclass[]{article} \begin{filecontents}{\...

3

\documentclass{article} \usepackage{endnotes} \let\svthefootnote\thefootnote \newcommand\freefootnote[1]{% \let\thefootnote\relax% \footnotetext{#1}% \let\thefootnote\svthefootnote% } \textheight 2in \begin{document} This is a free footnote% \freefootnote{Here is my free footnote, unlabeled here or in text}. Now for an endnote\endnote{Here is an ...

1

LyX (even the last version 2.2.0) doesn't provide native support for BibLaTeX yet, but if you see here: https://wiki.lyx.org/BibTeX/Biblatex you'll find how to use the built-in citation manager with BibLaTeX with some little tricks. In pratice you leave the the BibTeX inset (Insert→List/TOC→BibTeX Bibliography...) in a LyX note or comment, in this way LyX ...

0

This (almost) answers the whole question. I'm going with FN in this solution as the new trigger instead of \fn. It's less elegant, but works for now. This document lays out the process that'll take \mymessage, which contains FN..., creates a new command using that name, and replaces the original FN... with that new command; additionally, it generates a new ...

3

\ding is not designed for math mode, if you use \newcommand*{\fnsymbolsingle}[1]{% \ensuremath{% \ifcase#1% \or *% \or \mbox{\ding{71}}% \else \@ctrerr \fi }% } You get a symbol not a G The Gamma in your error example is due to the fact that tex recovers from the negative char code by using ...

1

Is this what you are looking for? \documentclass{scrartcl} \usepackage{xparse} \ExplSyntaxOn \NewDocumentCommand \command { m m } { \group_begin: \keyval_parse:NNn \use_none:n \jshivers_command:nn { #1 } #2 \group_end: } \cs_generate_variant:Nn \seq_set_split:Nnn { NnV } \cs_new_protected:Npn \jshivers_command:nn #1 #2 { \tl_set:Nn \...

1

My understanding now is that \insert\footins{...} will cause anything written inside the group to wind up in \box\footins but only AFTER the page is output. Also, \global\insert is not allowed. The macro \global@insert doesn't precisely mimic the \insert "migration" in that the contents show up immediately, but it seems to work good enough for footnotes. \...

3

Neither mdframed nor tcolorbox (which I would always prefer over mdframed) can handle "global" footnotes in combination with breakable boxes. You could try something like the following to draw your background manually, but be aware that is fiddles with the output routine. This means it can clash with packages which fiddle with the output too it can break ...

1

Here's an idea, but it's not easy to understand what you're after. \documentclass{article} \begin{document} \newcommand{\lymessage}[3]{% \item \begingroup \let\par\fpar % don't really do \par \linepenalty=10000 % no page break inside a paragraph % the text #1\par #2\par #3\par #3\par #3\par #3\par #3\par #3\par #3\par #...

0

In my case the problem was not "getting the footnote to span two columns" -- it was quite willing to do that without any help from me. its own API, so rengas can also be generated on demand.\footnote{{\tt curl --data "ws\_token=6B6JHXiKUAJ9VXTBymeGMWgvvpQMZ8uU\&cid=214\&t1=great\&t2=snakes" http://ccg.doc.gold.ac.uk/research/flowr/flowrweb/}} (...

2

The standard setting of xstring is \fullexpandarg; depending on how you need to use it, you can go \documentclass{article} \usepackage{xstring} \noexpandarg % don't do full expansion in `purple' arguments \begin{document} \newcommand{\lymessage}{This is my\footnote{footnote text} message.} \expandafter\IfEndWith\expandafter{\lymessage}{message}{It might ...

2

\documentclass{article} \usepackage{etex} \usepackage{xstring} \begin{document} \newcommand{\lymessage}{This is my\footnote{footnote text} message.} \begingroup \def\footnote#1{}% \IfEndWith{\lymessage}{message}{It might be true.}{It is definitely false.}% \endgroup \lymessage \end{document}

1

This is a nice case of short term thinking. Your solution will cause more issues than it solves. How will you mark new footnotes of a next revision? If you need to display the changes between two revisions of a document, provide a »diff« between document-version-1.tex and document-version-2.tex, the latter being the latest revision. Please have a look at ...

8

Here's an addition of an extrastuff counter, that is stepped each time \myextrafootnote is used. However, more than 26 additions aren't possible this way, since \alph{extrastuff} is used. If you need even more additions, the alphalph package for increasing the counter output is useful! \documentclass{book} \newcounter{extrastuff}[chapter] \newcommand{\...

7

The optional argument of the \footnote command expects an integer containing the number of the footnote, not the textual representation of that number. So, you should use \footnote[\value{footnote}]{#1} instead of \footnote[\thefootnote]{#1} Addition So, where does the extra “a” come from? To understand this, let us examine step by step how the ...

1

Use the footmisc package with option symbols*. IOt enables the perpage option. You can enable your own list of symbols with \DefineFNSymbols{mysymbolslist}{…}, and use it with \setfnsymbol{mysymbolslist}. See §§ 1.5–1.7 of the documentation for details.

0

Well, you found a good workaround. Because of the limitation through package multicol I think that is a very good solution. I only would define a new command like \footnotebigbox \newcommand{\footnotebigbox}[1]{\footnote{\vspace{-30pt}% \begin{multicols}{2}#1\end{multicols} }} for less writing. Then you can use it with \footnotebigbox{text of ...

3

If you don't need to add a caption, it's simple with the insbox plain TeX macro package. The \InsertBoxR command takes two arguments: the number of lines not shortened at the beginning of the paragraph, and th object inserted, plus an optional argument, the number of supplementary lines to be shortened, in case TeX does not calculate the correct number of ...

2

This does not allow wrapfigure like behavior, but allows one to place text on left and image on right of the footnote. The image width can be adjusted to suit the text height, perhaps. The \hfill between them assures that the image is right-aligned to the margin. The \parbox has to be top [t] aligned to match up with the footnote marker. As a result, the ...

2

Something like this, perhaps? The norule option of footmisc does redefine \footnoterule to do nothing in general as and just applies a skip instead. I've introduced the \newif\iffootnoterule conditional, that is checked each time in \footnoterule and if true, applies the stored definition of \footnoterule (by \let\latex@@footnoterule\footnoterule). This ...

2

The bottom option essentially adds \vfill at the end of every page, so your \vfill makes TeX divide the blank space in two equal chunks. Use third order infinite glue: \documentclass[a4paper]{article} \usepackage[hang,bottom]{footmisc} \begin{document} This is my text\footnote{this is my footnote} \vspace{0pt plus 1filll} This is my bottom-of-page ...

2

Based on Measure remaining space on page and use it on another page, I formulated the \fixV macro, applied to the end-of-page comment. \documentclass[a4paper]{article} \usepackage[hang,bottom]{footmisc} \newcommand\fixV[1]{\edef\tmp{\the\parindent}\setbox0=\hbox{% \begin{minipage}{\textwidth}\hspace{\tmp}\strut#1\strut\end{minipage}}\box0% \vspace{\...

Top 50 recent answers are included