\documentclass{article} \usepackage{makeidx} \makeindex  \begin{document} Cheese\footnote{\index{cake}cake.} \printindex \end{document}   This produces the entry cake, 1, with no indication that the text referred to was in a footnote.  Could it be given the format cake, 1\,n., and cake 1 n.\,1 if there are more than one note on the page?
123289
We're using the index package in order to get several indexes (name index, subject index, language index), and we're basically happy with it. There's only one obstinate problem: index does not propagate footnote numbers as desired, unlike makeidx (which doesn't support multiple indexes though):  \documentclass{scrbook}  \usepackage{index} \usepackage{hyperref}  \def\fn#1#2{% \hyperpage{#2}n#1% }%  \newcommand{\is}[1]{\if@noftnote% \index{#1}% \else% \index{#1|fn{\thefootnote}}% \fi% }  \makeindex  \begin{document}  \footnote{First footnote.} \footnote{Second footnote.\is{inside second footnote}} \footnote{Third footnote.}  \printindex  \end{document}   This outputs inside second footnote, 1n3 instead of inside second footnote, 1n2. Hence, \thefootnote seems to be expanded at the very end, and not immediately in the footnote.  Any suggestions how to do it right with index?
123457
I'm creating a technical document with lots of index entries. To reduce typing I defined an index command that typesets the word to be indexed using \emph{}:  \newcommand{\ind}[1]{\index{#1@\emph{#1}}}   I turns out the .ind file gets different entries when I use this command, compared to typing the \index{} command myself: the entries created with the \ind{} command get two spaces inserted before the { of the \emph command. Consequently, the index will contain two entries for the same word if I use both the \ind{} command and the \index{} command (e.g. when defining a region using   \index{someword@\emph{someword}\(}   to start a region for that word.   Here is an MWE:  \documentclass[a4paper]{article}  \usepackage{makeidx} \makeindex  \newcommand{\ind}[1]{\index{#1@\emph{#1}}}  \begin{document} Testing our self-defined command\ind{italictext}. This is the normal way\index{italictext@\emph{italictext}}.  \printindex \end{document}   The contents of the .ind corresponding file is:  \begin{theindex}    \item \emph  {italictext}, 1   \item \emph{italictext}, 1  \end{theindex}   Note 1: my actual use case is not with \emph{}, but with \lstinline{} from the listings package, but this simplified example already shows the problem. I observed the same behaviour when using the imakeidx package.  Note 2: using \DeclareRobustCommand instead of \newcommand doesn't change anything.  Note 3: I am actually using a KOMA class documentclass, so the scrindex package would be an option since the spacing problem doesn't appear there (in fact, both entries end up as one index entry with a single space between the \emph and opening { in the .ind file. However, with that package I haven't managed to get the page numbers for the index entries hyperlinked when using the hyperref package.
118878
So I have been wondering for a while now what these entries are and what they do, also what the format of them are. They look similar to JSON but are definitely not JSON.   a:1:{s:12:"jetlocations";a:2:{s:5:"label";s:12:"JetLocations";s:4:"type";s:6:"editor";}}   I have searched to try and find out what these might be but come up with nothing.
122833
\documentclass{report} \begin{document} Text\footnote{text1} Text\footnote{text2}  \vbox{% \begin{itemize} \item X\footnotemark{} \item Y\footnotemark{} \item Z\footnotemark{} \end{itemize} } \footnotetext{a} \footnotetext{b} \footnotetext{c} \end{document}   generates:  Text^1 Text^2  * X^3 * Y^4 * Z^5  ------------- 1 text1 2 text2 5 a 5 b 5 c   How to recover \footnotetext numbering without manual numbering?  I assume, I know that I used \footnotemark n times, so I would like solution like (It is "pseudocode" of draft of an idea) :  \newcounter{tempcounter := footnotecounter - n} \footnotetext[ ++tempcounter ]{a} \footnotetext[ ++tempcounter ]{b} \footnotetext[ ++tempcounter ]{c}   Or other authomatic numbering solution. I don't want to manually correct this list each time I change footnotes in chapter.  P.S. I know putting list into vbox might look strange, please assume it's just a toy-example of environment that needs usage of \footnotemark+\footnotetext.
96982
I am currently writing a report and I have been compiling a list of references (from IEEE mostly) and I also have a number of websites.     My question is, what is the best way to note a website URL? Would it be to reference and cite a URL, would it be adding a footnote? An example would be a reference to google.com. Would it be the correct to just create a footnote?   I've started to just add a footnote each time a website is mentioned (using LaTeX) so for example if a javascript plugin is mentioned then a footnote would be added to the website URL. How would be best to do this as it would not suffice as a reference as it is just noting a website for further reading. I do not have time to waste be writing the whole report to then have to go back through and edit the document hence my question.
39324
For documents with a lot of footnotes, particularly if some are short, it can be nice to have multiple on the same line, e.g.:        this is the first footnote 2. this is the second footnote 3. this   if the third footnote 4. finally, we begin to wrap around.      Rather than having it:        First footnote   Second footnote   Etc.      Is there a way to achieve this in LaTeX?  (This is not a duplicate of  because I'm asking about regular full page environment.)
105238
I was wondering if someone knows if there is a foot/feet symbol available in any of latex packages that I could use in my text? I would appreciate any hint.  I do really mean a foot/feet icon as in the picture below.
26809
I would like to have footnotes in tables, but the \footnote command does not work inside a table environment.  Googling one finds that this is , at least in the UK.  That link contains a list of solutions to the problem, but since the author of the FAQ does not believe that this is good style, no comparison is made between the different methods.  I am sure that there are good typographical reasons why in most situations it is undesirable to have footnotes in tables (although I have never come across them), however I have recently felt the need to do just this in a paper I am currently writing.  Therefore I'd like to ask two questions:   What are the arguments against footnotes in tables? If one really must go against the advice in 1., which method (whether considered in the  or not) would you recommend?   Thanks in advance.  Added  In response to ShreevatsaR's comment: I do not much care for where the text of the footnote appears.  I do however insist on the footnote marks being attached to the relevant entries in the table, so that I can avoid having to reference "the second entry in the eighth line of the table", etc...
37068
It seems like it's not possible to put footnote inside a description list item.  For example in the following code first footnote appears at the bottom of the page, but the second - doesn't:  \documentclass[a4paper,12pt]{article}  \begin{document}     Text text text.\footnote{This footnote is working}     \begin{description}         \item[Label\footnote{This footnote is not working}] Some description     \end{description} \end{document}   Why it's not working this way? And is there any way to put footnote to a list item?
106908
Ok guys, here comes a really tough one, so I don't need an expert, but a superhero. I need to customize my idem/ibidem to match these possibilities:   Same bibentry, same page -> Ibid. [without printing the page number] Same bibentry, different page -> Ivi, pagenumber Same author, different work -> ID. and what follows   I almost got there, but the footnote 2 of my MWE should be: 2. Ibid.  Perhaps I should introduce a new command which basically is: if there is an ibidem with the same page cited, print Ibid. and kill the pagenumber. The problem is that I have no idea about how to explain it to mr. LaTeX.  I'd appreciate very much any help on this hell issue  MWE:  % !TEX TS-program = XeLaTeX % !TEX encoding = UTF-8 Unicode  \begin{filecontents}{archivio.bib}  @article{Ben:Mat,     Author = {Lise {Bender Jørgensen}},     Journal = {Antiquité Tardive},     Pages = {87-99},     Title = {A Matter of Material: Changes in Textiles from Roman Sites in Egypt's Eastern Desert},     Volume = {11},     Year = {2004}}  @book{Jor:For,     Address = {København},     Author = {Lise {Bender Jørgensen}},     Publisher = {Nordiske Fortidsminder},     Title = {Forhistoriske textiler i Skandinavien},     Year = {1986}}  \end{filecontents}  \documentclass[11pt, openany]{book} \usepackage{polyglossia} \setmainlanguage[babelshorthands=true]{italian} \setotherlanguages{latin, english, french}  %%% bibliografia \usepackage[babel,italian=guillemets]{csquotes} \usepackage{xpatch}      \usepackage[    style=verbose-trad2,                         language=italian,             useprefix=true,                              firstinits=true,                 citepages=omit,                              backend=biber,           ]{biblatex}   \DefineBibliographyStrings{italian}{%                           Customizza Idem   idem   = {\textsc{id}},   ibidem = {Ivi}, }  %Idem appears on the second occurrence of the author name \xpatchbibmacro{author}{\printnames{author}}{\iffootnote{\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}{\usebibmacro{cite:idem}}{\printnames{author}}}{\printnames{author}}}{}{} \xpatchbibmacro{editor}{\printnames{editor}}{\iffootnote{\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}{\usebibmacro{cite:idem}}{\printnames{editor}}}{\printnames{editor}}}{}{} \xpatchbibmacro{translator}{\printnames{translator}}{\iffootnote{\ifthenelse{\ifciteidem\AND\NOT\boolean{cbx:noidem}}{\usebibmacro{cite:idem}}{\printnames{translator}}}{\printnames{translator}}}{}{}   \addbibresource{archivio.bib} %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  \begin{document}  First citation\footcite[88]{Ben:Mat}\\ I'citing the same page I need an \textit{ibidem}\footcite[88]{Ben:Mat} and no page number printed \\ Now I'm citing a different page, so I need \textit{Ivi}\footcite[87]{Ben:Mat}. \\ Here I'm citing just the same author, and I'd need \textsc{id.}\footcite{Jor:For}  \printbibliography  \end{document}
117888
This is basically an expanded version of part of  .  The original questioner there wants to redefine \href so that all the links end up in foonotes (rather than in the main document) so my suggestion was the old \let\oldcmd=\cmd \def\cmd{reimplement \cmd in some fancy way} trick.  Turned out that that didn't solve the problem.  But what broke this solution isn't really about the solution, it's about those @&amp;*@%y$#@ characters in URLs and ... *sigh* ... footnotes.  Not being an expert on hyperref, I appeal to the community to help.  (And half an hour gazing at the documentation and source of hyperref has not brought enlightenment either.)  I've tried the solutions at  and  to no avail (though perhaps I'm doing them wrong ... sorry, incorrectly).  Also, note that  is the wrong way around for this: the questioner wants the clickable link in the footnote.  Here's the URL that the questioner presented me with, embedded in a MWE:  \documentclass{article} \usepackage{hyperref}  \begin{document} Hello\footnote{\href{http://www.google.com/#sclient=psy&amp;hl=en&amp;site=&amp;source=hp&amp;q=numbers&amp;aq=f&amp;aqi=&amp;aql=&amp;oq=&amp;pbx=1&amp;fp=d5033c56880e0199}{b}} world.  \end{document}   This produces the error:  ! Illegal parameter number in definition of \Hy@tempa. &lt;to be read again&gt;                     s l.9 ...qi=&amp;aql=&amp;oq=&amp;pbx=1&amp;fp=d5033c56880e0199}{b}}                                                    world.   which makes me think that it is the # that is causing the problem.
52110
I've seen ciphers (usually in spy drama shows) that involve taking a book and writing down an index to individual characters. Essentially it's a keyed substitution cipher, where the key is the name and exact edition number of the book.  Example:  Imagine a book that has 500 pages, with approximately 60 lines per page and 80 characters per line. We might write 238:4:64 to specify that we're on the 238th page, 4th line, 64th character. A five character message might be encrypted into 114:25:22 374:41:46 182:17:62 63:53:8 50:8:18.  Without knowing what the book is, I would imagine this is provably secure as long as the person encrypting never re-used an index. Am I correct in this assumption?    For fun, you could try this out:  12:9:3 183:15:7 238:14:11 310:9:38 194:11:17 7:1:1  I'm using a page:line:character format, ignoring titles, spaces and punctuation. The book is Charles Darwin's , 6th edition.  N.B: I'm not trying to get you to crack this, just adding it because it nicely demonstrates the way this works :)
107061
I want to have an index entry typeset as $a_\text{T}$, so I issue the command \index{at@$a_\text{T}$}. Each use of this index command creates a separate line in the index. How can I get \makeindex to recognize they all reference the same topic?  My index entries look like this:
37732
I have already read similar questions, but they did not help.  I use \documentclass[12pt,a4paper]{book} and I would like footnotes without indention.  Using \noindent does not help. Using this package \usepackage[hang,flushmargin]{footmisc} solves the issue, but TeXstudio gives back an error and I can see a little black square at the end of the footnote, which should not appear.  EDIT:  \documentclass[12pt,a4paper]{book}  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{FB01}{fi} \usepackage[italian,UKenglish]{babel} \usepackage{paracol} \usepackage{geometry} \usepackage{microtype} \usepackage{lmodern} \usepackage[hang,flushmargin]{footmisc} \author{Bla Bla} \title{Bla Bla}  \begin{document} \maketitle \begin{paracol}{2} \noindent bla bla  \bigskip \noindent bla bla \footnote{bla bla}.  \switchcolumn \noindent bla bla  \end{paracol} \end{document}
109296
Problem  I have various footnotes, which are hyperlinked from the text to the bottom of their respective pages. When I click on the hyperlinks (in the main text), they always take me to the first page of my document. I also have footnotebackref which puts a hyperlink at the footnote to take the reader back to the main body of text and these links for fine.   Edited MWE  After a lot of deletion, I have managed to reduce the document to the following lines. One might say that I have found the problem, since the removal of \usepackage[hang, flushmargin]{footmisc} stops the problem, but I would still like to have non-indented footnotes.  \documentclass{article}  \usepackage[usenames,dvipsnames]{color} \usepackage[colorlinks=true]{hyperref}  \usepackage[hang, flushmargin]{footmisc}         %Problem line. \usepackage{footnotebackref}  \begin{document} \tableofcontents             \newpage                 \section{Section} This is some text\footnote{This is a footnote.}. \end{document}
98207
Is it possible to have all footnotes placed at one specific place in my document instead of bottom of each page? I have multiple footnotes scattered in the article and it would be clearer if all of them are at the very end of the article  Edit (moved from an ``answer'')  is it possible in endnotes to have links in each number where I placed footnote to the actual footnote at the end?
42161
How would I get rid of the date, and the numbers 1 and 2? My latex code is below. I cant post images as Im a new user, sorry!  \documentclass[10pt]{article}   \begin{document}  \title{Banana Cake} \maketitle   \section{Ingredients}  \begin{itemize}   \item The first item   \item The second item   \item The third etc \end{itemize}  \section{Method} \begin{enumerate}   \item The first item   \item The second item   \item The third etc \end{enumerate}    \end{document}