Tag Info

Hot answers tagged

8

Use the package alphalph with the following declaration: \renewcommand{\thefootnote}{\textit{\alphalph{\value{footnote}}}} MWE: \documentclass{article} \usepackage{alphalph} \renewcommand{\thefootnote}{\textit{\alphalph{\value{footnote}}}} \begin{document} \section{Footnotes} \setcounter{footnote}{25} Some text\footnote{test} and some more ...


6

\iffieldundef{prenote} does not seem to be available to biblatex in the wrapper argument to \DeclareCiteCommand, so we have to delay the test until it is possible. This can be done as follows \newtoggle{weareinfootnote} \settoggle{weareinfootnote}{false} \newbibmacro*{smartprenote}{% \iffieldundef{prenote} {} {\iftoggle{weareinfootnote} ...


5

Your document's footnote markers currently aren't active hyperlinks to the corresponding footnotes because you're loading footmisc after hyperref. If you load footmisc before hyperref, you should get the expected behavior. Because hyperref has to perform various demanding jobs to convert the cross-referencing call-outs, incl. footnote markers, into ...


5

I just \def\infootnote to T or F. If you needed to branch on that basis, you could perform \if T\infootnote TRUE code\else FALSE code\fi. \documentclass{article} \let\svfootnote\footnote \renewcommand\footnote[2][\thefootnote]{% \stepcounter{footnote}% \gdef\infootnote{T}% \svfootnote[#1]{#2\gdef\infootnote{F}}% } \gdef\infootnote{F} \textheight 1in ...


4

You have to save (using \let) the original definition and reinstate it afterwards. Also, I decrement the footnote counter, so that the blank footnote doesn't increment the index. \documentclass{article} \let\svthefootnote\thefootnote \textheight 1in \begin{document} First Footnote,% \let\thefootnote\relax\footnote{some text} ...


4

An experiment I can summarize my findings on this question. Try to avoid using footnotes. Sometimes it doesn't look right even if you put a lot of efforts to properly typeset them and still the paper is difficult for people to read. There is a fine method, just convert your footnotes to sectionnotes or endnotes. There is even a package for it named ...


3

The package uses an active end of line, but like any such catcode change (like \verb) it doesn't work in a macro argument. This defines a command \xx that locally defines the commands to pick up an explicit \xnewline token rather than end of line character. \documentclass{article} \usepackage{covington} \let\xtwosent\twosent ...


3

Note that I'm assuming you meant to ask if there was not a fully automatic method. If you really want an entirely manual method, that is certainly possible! Assuming you meant automatic... In some cases you will need to adjust the counter manually but not in a relatively straightforward case like this one: \documentclass{article} \usepackage{fontspec} ...


3

At the start of sentences you should probably use \Cite, which is defined (in biblatex.def) as \newrobustcmd*{\Cite}{\bibsentence\cite} It therefore capitalises the first word it prints (as long as biblatex is able to capitalise that word). MWE \documentclass[paper=a5,DIV=7,12pt]{scrartcl} \usepackage{lipsum} ...


3

Define a conditional \iffootnote and redefine \footnote so that it makes \iffootnote come out true inside its parameter, but false outside. For example: \documentclass{article} \newif\iffootnote \let\Footnote\footnote \renewcommand\footnote[1]{\begingroup\footnotetrue\Footnote{#1}\endgroup} \begin{document} foo\footnote{a\iffootnote yes\else no\fi} bar ...


3

I'm using something similar to what you're looking for. You may have a look at that as well, but first, here's what you're looking for: \documentclass{scrartcl} \usepackage{lipsum} \usepackage[style=authoryear,autocite=footnote]{biblatex} \addbibresource{biblatex-examples.bib} %this is a mere copy of the \textcite definition, with added [\mkbibfootnote], ...


2

Since beamer redefines many commands; most of the times is better not to use packages, but to redefine the inner commands from beamer. Below, there's one option redefining the inner \beamer@framefootnotetext (from beamerbaseframecomponents.sty) to use a \parbox for the footnote text: \documentclass{beamer} \makeatletter ...


2

The solution was following a modified version of Harish's suggestion: \usepackage[perpage]{footmisc} \usepackage{bigfoot} \AtBeginDocument{% \RestyleFootnote{default}{para}} I am using \AtBeginDocument etc., rather than the original \DeclareNewFootnote[para]{default} following the suggestion of the package's author in his comments on the package. ...


2

\footnotemargin has a different meaning when using hang. From the footmisc documentation (section 1.11 Option hang, p 4): This option sets the footnote mark flush with the margin, and makes the body of the footnote hang at an indentation of \footnotemargin (if that is a positive distance), or the width of the marker (if \footnotemargin <= 0). The ...


1

This would work. \footnotemark goes first, footnotetext goes second. Also CJKutf8 package is used here for the Chinese character to show up. Code \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage{CJKutf8} \usepackage{fancyhdr} \usepackage{etoolbox} \setcounter{footnote}{1} \makeatletter ...


1

Since nobody has given a direct mdframed answer yet, I can offer an alternative approach using tcolorbox to solve the footnote problem. The following code mimics your mdframed boxes. I excluded the large skipabove and skipbelow values, because I guess these are just for testing (?). \documentclass{article} \usepackage[skins,breakable]{tcolorbox} ...



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