New answers tagged

3

I would like to present an improved solution off Imran's solution. In my opinion, it is better to place the note (and remark) templates inside firstfoot and middlefoot and not in the contfoot-text template. This ensures the correct justification for multiline notes and remarks. Also, for consistency, one should use contfoot template and not hardcode the text....


1

Your code will work if you type \renewcommand{\footnoterule}{{\color{blue}\oldfootnoterule}} instead of \renewcommand{\footnoterule}{\textcolor{blue}{\oldfootnoterule}}


1

The package supports rules only for listings which don't cross pages. I think that this is why you are having this issue. If you want to keep the rules for both pages, you can wrap your \lstlisting inside mdframed: \usepackage{mdframed} \begin{mdframed} \begin{lstlisting} ... \end{lstlisting} \end{mdframed} To avoid the lines boxing the code, you can use: \...


1

You can patch in \RaggedRight from ragged2e to get or the default \raggedright (allows more raggedness so stretches word spaces less) to get \documentclass{article} % Footnotes on the same line \usepackage[para]{footmisc} \usepackage{ragged2e} \usepackage{etoolbox} \patchcmd\makefootnoteparagraph{\par}{\RaggedRight\par}{}{} \begin{document} \footnote{...


0

You should be able to use the multicol package instead of twocolumn to solve your issue. See here: How to "force" a footnote to extend over both columns in a twocolumn article? Since you asked this three and a half years ago, it probably won't help you, but hopefully someone else finds their answer here.


1

Use the pair \footnotemark\footnotetext{…}: \documentclass{article} \usepackage{lipsum} \usepackage{titlesec} \setlength{\textheight}{2cm} \begin{document} \paragraph*{First\footnotemark\footnotetext{First} second\footnotemark\footnotetext{Second}} \end{document}


0

I have used this code \documentclass{beamer} %\usepackage{biblatex} \usepackage[backend=bibtex]{biblatex} \addbibresource{biblatex-examples.bib} %------------------------------------------------ \begin{frame} Here is text \footfullcite{Vitay2014}. % this writes ref01 in footnote Here is text \fullcite{Vitay2014}. % this writes ref01 in place ...


0

The memoir class (a superset of book, reportandarticle` class) includes both footnotes and endnotes. I think that the following shows what you are after. % endnotesprob.tex SE 629382 \documentclass[article]{memoir} \makepagenote % enable page/end notes \renewcommand{\notedivision}{\section{\notesname}} % Notes header \renewcommand*{\notenumintext}[1]{\...


1

Here is an elementary implementation of what you're asking for. It uses a newly-defined longfootnote counter, setting [n] for "long footnote" marks (via \ExtraFootnote{<label>}) while still keeping the original n for regular footnotes. The "long footnote" explanation is set via \LongFootnote{<label>}{<text>} as a list. \...


2

With tabularray: \documentclass{book} \usepackage{tabularray} \UseTblrLibrary{booktabs, siunitx} \SetTblrStyle{head}{font=\small} \SetTblrStyle{caption-tag}{font=\bfseries} \SetTblrStyle{foot}{font=\footnotesize} \begin{document} \begin{table}[ht] \centering \begin{talltblr}[ caption = {Accuracy for each features set as reported from ...


1

Welcome to TeX.SE.... Hope the below MWE can meet your expectation: \documentclass{book} \usepackage{threeparttable,booktabs} \begin{document} \begin{table}[] \centering\begin{threeparttable} \caption{Accuracy for each features set as reported from the best classifier} %added \label{Results} %added \begin{tabular}{llccc} \toprule \textbf{No.} & \textbf{...


0

There's an option for that. From the manual, §6.2.2.: nonum disables line numbering for this note. A horizontal blank space is added instead. You can use \Xinplaceofnumber to set it (7.4.15 p. 49). nosep to disable the lemma separator for this note. A horizontal blank space is added instead. You can use \Xinplaceoflemmaseparator to set it (7.5.1 p. 51). ...


0

as with any box you can split up the mark and the floating text, lifting the text out of the box: \documentclass{article} \usepackage{framed} \begin{document} \begin{leftbar} Hello\footnotemark World \end{leftbar}\footnotetext{to the} \end{document}


8

You may define a new theme with the note in the continuation text in the foot by defining a new template for the continuation text. \documentclass[12pt,a4paper]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{tabularray} \usepackage{blindtext} %-----------------------added---------------------------- \NewTblrTheme{MyTheme}{ \...


0

Here is how we can do this in Latex-2. The \footnote takes two arguments. I have used only the mandatory argument in redefining it. Can you please show me how I would check for the optional first argument like you do in your answer @egreg in this case ? \documentclass{article} \usepackage{enotez} \let\oldfootnote\footnote \renewcommand{\footnote}[1]{ \...


0

Added the command \TFfootnotefw to get footnotes with full width and the number in the right place. The code could be incorporated to tuftefoot.sty. (From Place footnote in footer in Tufte-book class) \documentclass{tufte-book} \usepackage{tuftefoot} \makeatletter %footnote full width <<<<<<<<<<<<<<<<<<&...


1

You can define \footnote to issue both \footnote and \endnote; this of course requires to use an alias of the original \footnote command. \documentclass{article} \usepackage[papersize={52mm,74mm}]{geometry} % just to make a smaller picture \usepackage{enotez} \NewCommandCopy{\enotezfootnote}{\footnote} \RenewDocumentCommand{\footnote}{om}{% \IfNoValueTF{#...


Top 50 recent answers are included