Tag Info

Hot answers tagged

7

You can use shrink tight,extrude by=2pt in this way \newtcbox{\keywordmin}{on line, fontupper=\scriptsize\ttfamily, boxrule=0.5pt,arc=2pt,coltext=tangoBlack1,colback=tangoGrey1,colframe=tangoGrey1, boxsep=0pt,shrink tight,extrude by=2pt} Here shrink tight makes the total colored box to be shrunk to the dimensions of the upper part while extrude by = 2pt ...


6

Package alphalph supports this kind of numbering via method wrap. The following example defines a formatting command \twodigitwrap, which wraps the numbering to appear 1 after 99. The footnote value is not changed, just the appearance: \documentclass{article} \usepackage{alphalph} \makeatletter % \@twodigitwrap defines the symbols for \twodigitwrap ...


4

Use the relsize package's \smaller (or \larger) macro to step to a font size relative to the current font size: \documentclass[12pt]{article} \usepackage{lipsum,relsize} \usepackage[norule]{footmisc} \newcommand\poemcite[1]{\hfill{\smaller\emph{#1}}} \begin{document} \lipsum[2] \begin{quote} April is the cruellest month \poemcite{T.S. Eliot} ...


4

Change how the footnote markers are placed in the footnotes. The code does \hbox to \footnotemargin{\@makefnmark\hss} so it's sufficient to say \hbox to \footnotemargin{\hss\@makefnmark\hspace{4pt}} after enlarging a bit the \footnotemargin; I set it to 12pt. Fix the lengths to your liking. \documentclass[10pt,english]{book} \usepackage{charter} ...


4

You could try to change \floatingpenalty in \@footnotetext (globally or locally). But imho it would much saner to shorten the footnotes. \makeatletter \long\def\@footnotetext#1{\insert\footins{% \reset@font\footnotesize \interlinepenalty\interfootnotelinepenalty \splittopskip\footnotesep \splitmaxdepth \dp\strutbox \floatingpenalty 100 ...


4

The \footnote command doesn't remove spaces before it. So, in general, it should be immediately after the word that should bear the footnote mark, with no intervening spaces. So of the means as reported in Figure~\ref{whatever} is not uniform.\footnote{The text of the footnote.} Within A space like in uniform. \footnote{The text of the footnote.} will ...


4

The best practice is never use page footnotes inside floats. You can make show footnotes in a more "orthodox" way using \foonotemark inside the float and\footnotetext[2]{Source of the other image} outside, or a normal \footnote{} inside the float with the ftnxtra package. However, keep in mind that what is inside a float environment can fleet as the wind, ...


4

Gonna be tacky and answer my own question. The answer, given by a friend on another forum, is to use the \IfLemmaTag command which works as follows: \Anotelabel{1}\IfLemmaTag{in}{\textit{in}}\pause{1} \textit{principio erat Verbum et Verbum erat apud Deum et Deus erat} \resume{1}\IfLemmaTag{Verbum}{\textit{Verbum}}\donote{1}{Jn. 1:1} That is, ...


3

The wrapping of \begin{comment}#1\end{comment} as something that eats up the content of a footnote does not work due to the very sophisticated way the comment package is handling all content within comment environment (or \comment...\endcomment pair) (it eats up even # parameters. Another breakdown is the fact that \footnote in fact has two arguments. The ...


3

I'm not sure this is really what you want: the result is just wrong, nobody will understand why the text in the second and third footnote is shifted right. \documentclass{memoir} \setlength{\footmarkwidth}{\leftmargin} \setlength{\footmarksep}{0em} \footmarkstyle{#1\hfill} \newenvironment{fnquote} {\par \setbox0=\lastbox \setbox2=\hbox{\unhcopy0}% ...


3

\queuepage works like \afterpage but will not run until the previous \queuepage is done. \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{afterpage} \usepackage{mwe} \newcounter{nextqpage}% incremented when queued \newcounter{lastqpage}% incremented when used \newcommand{\queuepage}[1]% #1 = same as \afterpage ...


2

The renaming of the Notes name is easily done by \renewcommand{\notesname}{Endnotes}, see the comment by Jon. The numbering is a little bit trickier. The documentation is not very helpful, but the code of endnotes.sty provides some clue. The endnotes marker at the end are typeset using \@makeenmark ...


2

You have used \extracolumnsep{\fill} so the problem of determining the table borders is made trivially simple: the table is known in advance to be \textwidth wide. So all you need to do is lay out your notes in three columns taking up the full width. \documentclass[12pt]{article} \usepackage{tabularx,longtable,booktabs,multicol} \begin{document} ...


1

You can set the foot note numbering per page or per chapter so that it is not confusing your readers. For per page, you will have to reveal your document class. \documentclass{article} \usepackage[perpage]{footmisc} \begin{document} \footnote{Some footnote} text here \clearpage \footnote{Some footnote} text here \clearpage \footnote{Some ...


1

Package bigfoot allows you to have several layers of footnotes, and footnotes of a higher level can have footnotes on a lower layer. In this example we have "normal" footnotes numbered in Arabic and href footnotes numbered in roman: \documentclass{article} \setlength{\textheight}{1in} % For demonstration we want a short page \usepackage{bigfoot} ...


1

You can use the copyrightbox package for that. It cooperates with hyperref, cleveref and tablefootnotes, provided your figures are set in a tableenvironment and you use\captionof{figure]{…}from thecaption` package: \documentclass{article} \usepackage{graphicx} \usepackage{caption} \usepackage{afterpage} \usepackage{mwe} \usepackage{copyrightbox} ...


1

I think you want "paragraph-style footnotes." You can get these in any document class by loading the footmisc package with the para option. You can also use the memoir class and issue the command paragraphfootnotes. \documentclass{article} \usepackage[para]{footmisc} % OR: % \documentclass{memoir} % \paragraphfootnotes \begin{document} This is ...


1

Some workaround as a combination of \marginote and \footnote: \footmarginnote[optional number]{some text}[optional margin text] will print the footnote number in the right margin and the corresponding 'footnote' without marker as a real footnote. If the optional argument is given, that number (no check so far!) is used instead of the current footnote ...



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