Tag Info

New answers tagged

4

Use a minipage for the tabular. However, your tabuloar is too wide and, of course, you shouldn't use too many lines. Without it it makes it more readable: \documentclass[12pt,a4paper]{article} \usepackage{amsmath,amsthm,amsfonts,latexsym,amscd,amssymb,mathrsfs,hyperref,textcomp,booktabs} \hypersetup{colorlinks} \begin{document} \begin{table}[ht] \centering ...


3

By default, revtex4-1 puts footnotes in the bibliography. This can be disabled with nofootinbib but prb puts them at the start of the bibliography anyway. So to get footnotes at the bottom of the page, you'd need: \documentclass[reprint, nofootinbib]{revtex4-1} \usepackage{scrextend} \begin{document} some text here. \footnote{aaa} \end{document} ...


1

One solution is to redefine the macro cite:labelyear+extrayear to always wrap the labelyear (and extrayear, if applicable) in parentheses. \renewbibmacro*{cite:labelyear+extrayear}{% \iffieldundef{labelyear} {} {\printtext[parens]{% \printtext[bibhyperref]{% \printfield{labelyear}% \printfield{extrayear}}}}} This will make ...


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


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


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

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


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


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


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


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


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


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


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


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


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


0

Thanks to moewe and this nice codesnippet here, I could put together a working code: With a bit manual work (see code below) now footnotes in tables should act like biblatex-footnotes and work together with the hyperref-package. (The footnote-package couldn't help.) \RequirePackage{filecontents} \begin{filecontents*}{bibl.bib} @BOOK{something, ...


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


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



Top 50 recent answers are included