Like as bibtex is there anyway to import footnote from one tex files. What I come up with is   %--------------------------------------------Footnote references from label \makeatletter \newcommand\footnoteref[1]{\protected@xdef\@thefnmark{\ref{#1}}\@footnotemark} \makeatother   and put a level in each reference   here\footnote{\label{note1}This is the labeled footnote}   and furthermore call the footnote with the label name as follows   Here\footnoteref{note1}   By adding like this footnote automatically visible in the first case. This approach is appropriate if I want to refer same footnote in multiple places. What I basically want is like as bibtex add the footnote with specific ID or reference name ? Thanks and any suggestion will be greatly appreciate.
120968
Sometimes I find footnotes either annoying or distracting when trying to edit the body of a text:  particularly one  which is heavily annotated with footnotes.  One solution I've come up with is to gather my footnotes together into files organized to mirror to the file/directory structure I'm using for the overall document.   Each footnote is given its own unique(ish) macro. Here is an example of the sort of code I use to define a footnote macro:  \makeatletter %% #1 = footnote identifier      %% #2 = footnote content \long\def\setfootnote#1#2{%%   \expandafter\long\expandafter\def\csname ae@footnote@#1@ftnt@\endcsname{#2}} \def\aefootnote#1{\footnote{\csname ae@footnote@#1@ftnt@\endcsname}} \makeatother   This is a bit flattened from how I typically define my footnote commands, but my file/directory structure is beyond the scope of this question and would unduly complicate this example.  For the MWE I have three files:  footnote.tex  \setfootnote{first footnote}{This is just an example footnote.} \setfootnote{another footnote}{sf;ksdf  sf;lskf s;df spewr po s;fksf; sdkf.}   main_matter.tex  \input{footnotes}  Here is an illustration of using my footnotes.\aefootnote{first footnote} This is another footnoted sentence.\aefootnote{another footnote}   master_doc.tex  \documentclass{article} \makeatletter %% #1 = footnote identifier  %% #2 = footnote content \long\def\setfootnote#1#2{%%   \expandafter\long\expandafter\def\csname ae@footnote@#1@ftnt@\endcsname{#2}} \def\aefootnote#1{\footnote{\csname ae@footnote@#1@ftnt@\endcsname}} \makeatother \begin{document}  \input{main_matter}  \end{document}   This works pretty well for me.  It cleans up the content of the master document.  I can see where the footnotes are, but I don't have to be distracted by their content when writing and editing the main matter.  But memory-wise this is an extremely wasteful approach.  If I have a long document, then I'm forcing LaTeX to know and remember my footnotes for the entire life of the document.  I could implement a garbage collection system.   That is, I could track the macros for my footnotes by the file currently being compiled by storing their names in a macro such as \ae@garbage@collection.  When I'm done compiling that file I could then do something along the following lines  \expandafter\let\csname ae@footnote@.....@ftnt@\endcsname\ae@undefined@macro   where ..... is the identifier for each footnote note macro I'm deleting.  This could be automated through a macro \ae@delete@garbage.  In other words, I'm saying I know ways to get around cluttering up LaTeX's memory with things it only really needs once.  What I'm interested in knowing is whether someone has suggestions for a better approach.  Is there a more efficient way of managing footnotes which nevertheless avoids cluttering up the source file(s) for the master document?
87071
I am using one .bib files and need to create multiple bibliographies for each chapter + one global one in the end, using biblatex (biber). Everything works smoothly with the multiple bibliographies using refsection, however, I fail to create the global biblio.  I found a very similar problem here:  - however the solution   \nocite{*}   does not work for me as I need only those references cited (my .bib file is very large.  My example:  \usepackage[refsection=chapter, style=authoryear-comp,natbib=false,mcite=false,backend=biber]{biblatex} \addbibresource{refs.bib} \begin{document}  \begin{refsection} blabla \cite{} \printbibliography[heading=subbibintoc] \end{refsection}  % and now the global one that should include all previously cited documents  \printbibliography[heading=bibintoc]  \end{document} \begin{refsection} blabla \cite{} \printbibliography[heading=subbibintoc] \end{refsection}   It does neither produce a global biblio nor an entry in the toc.
72422
I want to attach a footnote to each author of a paper and write that their research was supported by different grants. How do I do that? Simply \footnote after each author does not work.
14628
How can one declare a footnote within a float environment, such that it appears on the same page with the float (regularly on the page, not inside the float)? Is there any trick or additional package apart from the widely used workaround  % Let 'floatenv' be any float environment such as figure or table \begin{floatenv}     [...] \footnotemark [...] \end{floatenv}  \footnotetext{&lt;text&gt;}   which already fails if the float is put on a dedicated float-page ({floatenv}[p])?
98884
Is there a way to reference just plain text with the \ref{} tag?  I have a table with two columns. Each column has content which links to a different part below. The reference in the first column is no problem, because it refers to an item. The second column however is just plain text, but I want to refer that to the other text as well. I want to do that, so that I only need to change the referenced text and the text in my table will automatically update (preferably a reference, which can't be clicked on).  Here is the rough outline.  Table  Col 1 | Col 2 \ref{sth:bla} &amp; \ref{sth:text} \   The referenced part  \begin{description}     \item[Something\label{sth:bla}] The Text \hfill \\     Description! \end{description}   So now I would want to reference "The Text" with \ref{sth:text}, so that I wouldn't have to change the text twice. As I said, preferably I would like to reference without actually making if clickable.  The answer given by Werner does work fine to some point. Here is an example, where it doesn't seem to work correctly anymore. How would I use regular referencing in the document now?  \documentclass{article} \usepackage{hyperref}% http://ctan.org/pkg/hyperref \makeatletter     \newcommand*{\textlabel}[2]{%         \edef\@currentlabel{#1}% Set target label         \phantomsection% Correct hyper reference link         #1\label{#2}% Print and store label     } \makeatother \begin{document} \section{A section}  This is a table:  \begin{center} \begin{tabular}{l|l}  Col 1 &amp; Col 2 \\ \ref{sth:bla} &amp; \ref{sth:text} \\ \ref{Blub} &amp; Text \\ \end{tabular} \end{center}   The items:  \begin{description}    \item[\textlabel{Something}{sth:bla}] \textlabel{The Text}{sth:text} \hfill \\    Description! \\    \item[Blub\label{Blub}] Something \hfill \\    Another description! \end{description} \end{document}   The normal reference tag will now be replaced by the text content of the textlabel.
105252
For example, I want to make footnotes both at Sentence 1 and Sentence 2 (which are on the same page) to the same footnote. Wikipedia's "References" have this effect.
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.
90088
How can I prohibit putting figure after the footnote? I have pretty simple LaTeX code that has a lot of figure environments, and I see the figure is inserted after the footnote.   \documentclass[10pt, onepage]{article}  \usepackage{graphics,graphicx} \usepackage{hyperref}  ... dependent code\footnote{You should use at least JRE 1.5 or later, but I highly recommend using JRE 1.6 or later}, you can safely use the JRE 1.5 or later.   \begin{figure} \centering \includegraphics[width=0.5\textwidth]{pic_install/4_configure_build_path.png} \caption{Configuration menu} \label{fig:config_build} \end{figure}
3777
I would like to use footnotes without cluttering the container paragraph. Something like:  This is a very long complex\footnote[a] sentence.  \foottext[a]{So complex that I would prefer to pull out the footnote text.}   The idea comes from the [linktext][1], [1]: http://url.com markdown syntax.
44989
If a document has very long footnotes close to each other in the main text, LaTeX start to compensate for this by breaking the page (see the first picture below).  I am grateful that TeX makes an effort to put footnotes close to the corresponding mark, but no thank you, TeX, this is too much. No matter what, it should not break the page, nor make the paragraph skips longer (which is almost as ugly) or use any of its other usual, dirty tricks; I prefer having the footnote five pages after the mark if that is what it takes. Can someone find a way to make TeX stop breaking the page like this?  I tried experimenting with both bigfoot and interfootnotelinepenalty=0, which changed the input, but did not remove the problem. Furthermore, bigfoot caused the nightmare shown on the second picture below. Notice that the footnotes run out of the page itself.  Note that memoir is not the problem either; change to article and load geometry, and exactly the same happens. Also, the A5 format is not the issue either; it just makes the problem even worse than when using A4.  A MWE:  \documentclass[a5paper]{memoir}  \usepackage{lipsum} %\usepackage{bigfoot} %\interfootnotelinepenalty=0  \begin{document}     \lipsum[1]\footnote{\lipsum[1-10]}     \lipsum[1]\footnote{\lipsum[1-15]}     \lipsum[1]\footnote{\lipsum[1-10]}     This needs a footnote\footnote{\lipsum[1-10]}, and it is very necessary in order not to cause confusion. \end{document}   The output:    The output with bigfoot:
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?
25088
I am using pdflatex and just want to know how to change the footnote line (thickness, length).  Besides that: How can I set the distance between text-lines in the text.
70491
I was wandering if there's a way to make only one footnote appear with a symbol (*) instead of the number.  Thanks!!!
42997
I'm editing a book that includes about 25 papers written in LaTeX by different authors.  Since many of them use the same \label, to avoid collisions I redefined the \label command (and \ref and \pageref and \cite and \bibitem)  so that if the third paper has  \label{main_theorem} the aux file actually uses the tag "iii:main_theorem", and \ref{main_theorem} actually refers to the same tag.  I did a similar thing for \cite and \bibitem.  %*************** bib/cite hacks \let\TheReal@citex=\@citex \let\TheReal@bibitem=\@bibitem \let\TheReal@lbibitem=\@lbibitem \gdef\@lbibitem[#1]#2{\TheReal@lbibitem[{#1}]{#2\roman{chapter}}} \gdef\@bibitem#1{\TheReal@bibitem{#1\roman{chapter}}} \gdef\@citex[#1]#2{% \toks@={}\count@=0% \@for\@citec:=#2\do{% \advance\count@ 1 \ifnum\count@=1\edef\0{\the\toks@\expandafter\expandafter\noexpand\@citec\roman{chapter}}% \else\edef\0{\the\toks@,\expandafter\expandafter\noexpand\@citec\roman{chapter}} \fi% \toks@=\expandafter{\0}}% \TheReal@citex[#1]{\the\toks@}% } %************** label/ref/pageref hacks  %%%%%%%%%%%%% must be before ams pkgs \let\TheRealLabel=\label \let\TheRealRef=\ref \let\TheRealPageref=\pageref \gdef\label#1{\TheRealLabel{\roman{chapter}:#1}} \gdef\ref#1{\TheRealRef{\roman{chapter}:#1}} \gdef\pageref#1{\TheRealPageref{\roman{chapter}:#1}}   This all worked fine until I used hyperref, which seems to ignore the redefinition of \label, whether I load it before or after the above code.  Any suggestions?  It would be nice if the redefinition would work whether or not hyperref was loaded, so I don't want to just grab the defintion of \label out of the package and tweak it.  I'm also open to alternative methods.  Redefining \label and \ref just seemed the most straightforward (to me) solution.  Note that I also want to be able to refer to the inner labels from outside, as well.  For example, I might want to say "the main theorem of the third paper is  \ChapRef{iii}{main_theorem}  from within the introduction (a different chapter).
20573
Normally, LaTeX will only create references for the BibTeX entries cited in the text. Is there a way of extracting these entries into a different .bib file automatically? For example if I have a .bib file with two entries, and only one is cited in a particular text, I need a way of creating a new .bib file with just that reference.
945
I have read the posts related to bibliography topic, but they cant really help me. I hope someone can really help me for these questions, as I have to hand it in on next monday...  I have also written all my questions in my MWE, so if you want to, you can read my script directly to save sometime!    In order to keep reference citation work, I keep the script for footpartcite, partcite, and footnote.  How to list the bibliography alphabetically? Now I got the correct way of showing the citation in footnote, but each citation has 2 numbers, it comes out like   1[1], 2[2], 3[3], 4[4]    I want it show as  [1],[2],[3],[4]   how to remove the number 1 before [1]?   I have used \footnoteref instead of \ref, because \ref doesnt appear as superscript in the text, if you know how to set it as a superscript of the text, then it will be even better, because it can be written inside a caption directly!  Solution for single question is also really appreciated! Thank you very much!  \documentclass[a4paper, 12pt, headsepline, DIV=12,twoside]{report} \usepackage[english]{babel} \usepackage{mathptmx}  \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{parskip} \usepackage{filecontents} \usepackage[backend=bibtex,style=numeric,sorting=none,natbib=true]{biblatex} \usepackage{textcomp} \usepackage{graphicx} \usepackage{csquotes}  \begin{filecontents}{\jobname.bib} @Electronic{unintentional, Title                    = {Accidents or Unintentional Injuries}, Author                   = {{National Center for Health Statistics}}, URL                      = {http://www.cdc.gov/nchs/fastats/accidental-   injury.htm}, urldate                  = {2016-08-10},}  @Book{HP,  Title                    = {Harry Potter and the Philosopher's Stone},  Author                   = {{Rowling,J. K. }},   Date                     = {1997}} @Misc{ASH, Title                    = {Automotive Safety Handbook}, Author                   = {{Seiffert, Ulrich; Wech, Lothar}}, Date                     = {2003}, Editor                   = {SAE International}, Note                     = {pp. 91, 96, 97}} \end{filecontents}   \DeclareCiteCommand{\footpartcite}[\mkbibfootnote] {\usebibmacro{prenote}} {\usebibmacro{citeindex}% \mkbibbrackets{\usebibmacro{cite}}% \setunit{\addnbspace} \printnames{labelname}% \setunit{\labelnamepunct} \printfield[citetitle]{title}}% {\addsemicolon\space} {\usebibmacro{postnote}}  \DeclareMultiCiteCommand{\footpartcites}[\mkbibfootnote]{\footpartcite}   {\addsemicolon\space}  \DeclareCiteCommand{\partcite}  {\usebibmacro{prenote}} {\usebibmacro{citeindex}%  \mkbibbrackets{\usebibmacro{cite}}%  \setunit{\addnbspace}  \printnames{labelname}% \setunit{\labelnamepunct}  \printfield[citetitle]{title}%  \newunit  \printfield{year}} {\addsemicolon\space} {\usebibmacro{postnote}} \DeclareMultiCiteCommand{\partcites}{\partcite}{\addsemicolon\space}  \usepackage{remreset} \makeatletter  \@removefromreset{footnote}{chapter} \newcommand\footnoteref[1]{\protected@xdef\@thefnmark{\ref{#1}}  \@footnotemark}  \makeatother  \addbibresource{\jobname.bib} \begin{document}  Q1: Each citation has two numbers. \footnoteref{ftn:unintentional} How to remove the number in front of the squared brackets. \footnoteref{ftn:unintentional}  Q2: know how to list the bibliography alphabetically. \footnote{\label{ftn:unintentional}\partcite{unintentional}}  Q3: how to put a footnoteref inside of a caption? because if I put it inside a caption of a table or figure, it will show error, but if I put it outside the caption bracket, \footpartcite{ASH} the footnoteref will show in the next line rather than as superscript of the caption.  \footnote{\label{ftn:HP}\partcite{HP}}   \begin{figure}[h] \includegraphics[width=\textwidth]{example-image-a} \caption{I am a figure}\footnoteref{ftn:HP} \end{figure}  Does anyone know how to solve them? Thank you very much!  \printbibliography \end{document}
45831
I want the footnote mark to be superscripted in the text body (e.g. Footnote mark²), but normalsize in the foot, to be shown like:  ________________ 2. Some footnote text   Also, it would be nice if the mark appeared hanging in the left margin, like     ________________ 2. Some footnote text   (That is recommended by Bringhurst in his Elements of Typographic Style)