LaTex Compiler thinks that &quot;_&quot; in biblio file is a mathematical expression that represents the beginning of subscript letter. Which library should I use or what should I do? My sample code is as follows: \begin{filecontents*}{example.eps}  gsave newpath   20 20 moveto   20 220 lineto   220 220 lineto   220 20 lineto closepath 2 setlinewidth gsave   .4 setgray fill grestore stroke grestore \end{filecontents*}  \RequirePackage{fix-cm}  \documentclass[smallextended]{svjour3}  \smartqed \usepackage{graphicx}  \journalname{Journal of Cryptographic Engineering}   \usepackage[acronym,toc,shortcuts]{glossaries} \usepackage{amsmath} \usepackage{graphicx} \usepackage{lineno} \usepackage{array} \usepackage{longtable}  \begin{document}  \cite{10.1007/3-540-44983-3_4}  \bibliographystyle{spmpsci} \bibliography{biblio}  \end{document}  My biblio file is as follows: @InProceedings{10.1007/3-540-44983-3_4, author=&quot;Aoki, Kazumaro and Ichikawa, Tetsuya and Kanda, Masayuki and Matsui, Mitsuru and Moriai, Shiho and Nakajima, Junko and Tokita, Toshio&quot;, editor=&quot;Stinson, Douglas R. and Tavares, Stafford&quot;, title=&quot;Camellia: A 128-Bit Block Cipher Suitable for Multiple Platforms --- Design and Analysis&quot;, booktitle=&quot;Selected Areas in Cryptography&quot;, year=&quot;2001&quot;, publisher=&quot;Springer Berlin Heidelberg&quot;, address=&quot;Berlin, Heidelberg&quot;, pages=&quot;39--56&quot;, isbn = &quot;978-3-540-44983-6&quot;, doi = &quot;10.1007/3-540-44983-3_4&quot; }
123515
I'm trying to include a link to some code on OneDrive; the link includes an underscore, which is causing a lot of trouble.  I tried adding the entry like this:  @misc{code,     title = {Code},     url = {https://1drv.ms/link_link} }   I use \usepackage{url} and \bibliographystyle{IEEEtran}. Everything compiles fine and the bibliography shows the correct entry. However, if you click the link, it opens a page at https://1drv.ms/link - so ignoring the underscore and everything after it, which leads to a wrong page. Even copy and paste from the PDF doesn't work since the underscore is copied as space, which again is a broken link.  How can I add the link such that it can be clicked and copied properly? I tried \_, \usepackage{underscore}, {{link}}, different bibtex entries but nothing worked. Also all the related questions/answers don't answer mine.
50901
I have a bib file in txt format in the same directory of all the rest of Latex files. Here is an example of my file named: Bibliographyforpaper.txt content:   @article{kargupta2004fourier,       title={A fourier spectrum-based approach to represent decision trees for mining data streams in mobile environments},       author={Kargupta, Hillol and Park, Byung-Hoon},       journal={Knowledge and Data Engineering, IEEE Transactions on},       volume={16},       number={2},       pages={216--229},       year={2004},       publisher={IEEE}     }  @article{mukherjee2006privacy,   title={A privacy-preserving technique for Euclidean distance-based mining algorithms using Fourier-related transforms},   author={Mukherjee, Shibnath and Chen, Zhiyuan and Gangopadhyay, Aryya},   journal={The VLDB Journal—The International Journal on Very Large Data Bases},   volume={15},   number={4},   pages={293--315},   year={2006},   publisher={Springer-Verlag New York, Inc.} }    In the LATEX file I use:    \usepackage{filecontents}  \begin{document} \begin{abstract} \end{abstract} \section{Introduction} \newpage     \bibliography{Bibliographyforpaper}{}     \bibliographystyle{plain} \nocite*  \end{document}   And there is only headline of References and no list of the bibliography. If I add \printbibliography and I get an error.
27189
Now I am using subfile to compile document independent, I want to insert a picture in the sub document like this: \documentclass[../../../dolphin-book-2020.tex]{subfiles}  \begin{document}  \subsection{GitHub Slow}  balabalabala.......   \begin{figure}[htbp]     \centering     \includegraphics[scale=0.2]{githubspeedup}     \caption{GitHub Speed Up}     \label{fig:githubspeedup} \end{figure}   \end{document}  when I compile using this command in macOS Catalina 10.15 :  /Library/TeX/texbin/latexmk -pdfxe -pvc -xelatex -interaction=nonstopmode ./github-slow.tex  show this error: (/usr/local/texlive/2020/texmf-dist/tex/latex/listings/lstlang1.sty) (/usr/local/texlive/2020/texmf-dist/tex/latex/listings/lstlang1.sty)  Package fontspec Warning: Font &quot;FandolFang-Regular&quot; does not contain requested (fontspec)                Script &quot;CJK&quot;.   ! LaTeX Error: File `githubspeedup' not found.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...  l.31 ^^I\includegraphics[scale=0.2]{githubspeedup}  [1] (./github-slow.aux)  LaTeX Font Warning: Some font shapes were not available, defaults substituted.   LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.   ) (see the transcript file for additional information) Output written on github-slow.xdv (1 page, 28900 bytes). Transcript written on github-slow.log. === TeX engine is 'XeTeX' Latexmk: Index file 'github-slow.idx' was written Latexmk: Missing input file: 'githubspeedup' from line   '! LaTeX Error: File `githubspeedup' not found.' Latexmk: References changed. Latexmk: Log file says output to 'github-slow.xdv' Latexmk: Errors, so I did not complete making targets Latexmk: Failure to make the files correctly     ==&gt; You will need to change a source file before I do another run &lt;== Collected error summary (may duplicate other messages):   xelatex: Command for 'xelatex' gave return code 1       Refer to 'github-slow.log' for details  === Watching for updated files. Use ctrl/C to stop ... ^CLatexmk: User typed ctrl/C or ctrl/break.  I'll finish. Collected error summary (may duplicate other messages):   xelatex: Command for 'xelatex' gave return code 1       Refer to 'github-slow.log' for details Latexmk: Use the -f option to force complete processing,  unless error was exceeding maximum runs, or warnings treated as errors.  what should I do to make it work? I have already added picture path in the main file dolphin-book-2020.tex like this(all the picture store in the folder and no picture store in sub folder): \graphicspath{{./Pictures/}}  and this is the file structure:  I have tried define picture path in dolphin-book-2020.tex like this: \graphicspath{{../../../Pictures/}{../../Pictures/}{../Pictures/}{./Pictures/}}   this is the folder nested structure:  I also tried to write all possible path of picture: \graphicspath{     {Pictures/}     {../../../Pictures/}     {../../Pictures/}     {image/}     {/Users/dolphin/Documents/GitHub/dolphin-book-2020/Pictures} }  still could not found file.
19555
Occasionally, I see other people's documents starting with two lines like that:  % !TEX TS-program = xelatex % !TEX encoding = UTF-8 Unicode   It's clear to me that the first line declares the engine that should be used for compilation, and the second lines states the text encoding of the input file. It's not clear to me, however, when and why I should use such expressions.  More detailed questions on this subject matter would be:   How can I compile without determining which engine I want to use so that I would even need that comment? Which editors/programs pick up on these directives? Who introduced them? Is there any "documentation" of possible values etc.? Are there more such expressions? Are they standardized in any way? Can I add options to the compilation engine, e.g. pdflatex -enable-write18 or xelatex -interaction=nonstopmode? What does the "TS" in TS-program stand for? What additional value does the encoding line provide if I'm already using inputenc? Are there any downsides to using them or reasons not to use them?   Meta: Even though it technically contains multiple questions, I'm pretty sure this question conforms with our standards as a catch-all question on a narrow topic. I guess I know some partial answers to some of my questions, but I'll leave that up for people who have experience with these expressions. I just wanted to provide a question that allows for a maximal amount of information on this subject matter.
97786
I've tried latexdef which does not handle --- as the operand. And \texemdash is defined as a character. So that leaves me once again leaning on the collective wisdom of the group :)
118141
Too often I messed with bad formated BibTeX files from references databases that are infected with active characters  as % or &amp; (usually in the abstract, that is not printed but produce an error anyway) but I can live with this inconvenient and replace those by with \% or \&amp;.   Also with some input encoding errors due to some UTF8 character that cannot be managed by pdflatex. In references this error is more disturbing that in the main text, but in best cases, is only change some greek letter as γ. In others is the insidious zero width U+200B, but with I can search and replace even this character.    The worse for me is the obnoxious U+301, specially when is not in over a consonant but hiding in vowels as normal acute characters, that are perfectly managed using inputenc, i.e., the   normal e character (U+0065) plus U+301 look exactly like the kind é (U+00E9) and so on with á, Á, í, etc., so if is hard detect the poisonous diacritic mark.   Disappointingly, search U+0065 plus U+301 find also the single character U+00E9 and vice versa in some editors, so I ended with the pain of searching &amp; replacing every accented letter (single or double) with the single character versión.    So the question is specifically is: There are clevers ways to sanitize .bib files with U+301 tildes?   (Of course, a more general answer, covering some automagic cleaning of all unrecognized and active characters will be welcome.)  The minimal (not) working example:   \documentclass{article} \begin{filecontents}{test.bib} @article{xx, author={González, M. and Ruíz, P.} title={Mañana hará calor &amp; bochorno con un 90% de humedad} }    \end{filecontents} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[spanish]{babel} \begin{document} Hello  \cite{xx} \bibliography{test} \bibliographystyle{plain} \end{document}
51448
Solution found  Use of \usepackage{textcomp} allows for \textdegree macro, thanks to @Mico.    I use TeXmaker as an editor and I use Mendeley to generate my .bib file. One entry has a degree symbol in the title. Mendeley encodes into UTF-8 and I therefore use   \usepackage[utf8]{inputenc}   however the degree symbols do not seem to work. I have also tried including  \usepackage[T1]{fontenc}   as per some suggestions on the stackexchange and the error changes from OT1 to T1.  How can I get the degree symbol to work? Thanks.    Edit - MWE (which causes the error):  \documentclass[a4paper,12pt]{article}  % Text and Maths \usepackage[utf8]{inputenc}                                 % Input accented characters from keyboard input   %References and page interlinking  \usepackage[numbers,sort&amp;compress,super]{natbib}        % References - [numbers,sort&amp;compress,super] \bibliographystyle{unsrt}                                   % BibStyle - unsrt keeps 1,2,3 instead of 2,1,3 (?)  \usepackage[final]{hyperref}                                    % adds hyper links inside the generated pdf file \hypersetup{ colorlinks=true,                                                    % false: boxed links; true: colored links linkcolor=blue,                                                     % color of internal links citecolor=blue,                                                     % color of links to bibliography filecolor=magenta,                                              % color of file links urlcolor=blue                                                       % colour of url link } \usepackage{cleveref}                                               % Clever ref - loaded AFTER hyperref!  \begin{document}  test \citep{Zimmermann2009}  \bibliography{/Users/me/Documents/library.bib} \end{document}   .bib entry, error caused by degree symbol in title, I believe.  @article{Zimmermann2009, abstract = {An unusual variety of magnetic, magnetoelectric and ferrotoroidic properties was observed in the lithium-orthophosphates LiMPO(4) with M = Fe, Co, Ni by optical second harmonic generation. In spite of a largely similar magnetic and crystallographic structure the compounds exhibit pronounced differences in the topology of antiferromagnetic 180A degrees domains. In LiCoPO(4) the antiferromagnetic domains coexist with ferrotoroidic, i.e., magnetic vortex domains. For LiNiPO(4) it was shown that the weak ferrimagnetic moment of the LiMPO(4) compounds along the spin direction is rigidly coupled to the AFM order parameter so that the sign of the magnetoelectric effect is reversed by a magnetic field only. Further effects of a static magnetic field on the system are discussed.}, author = {Zimmermann, A. S. and {Van Aken}, B. B. and Schmid, H. and Rivera, J. P. and Li, J. and Vaknin, D. and Fiebig, M.}, doi = {10.1140/epjb/e2009-00223-3}, file = {:Users/matt/Documents/Mendeley Desktop/Zimmermann et al. - 2009 - Anisotropy of antiferromagnetic 180° domains in magnetoelectric LiMPO 4 (M = Fe, Co, Ni).pdf:pdf}, isbn = {1434-6028}, issn = {14346028}, journal = {European Physical Journal B}, number = {3}, pages = {355--360}, title = {{Anisotropy of antiferromagnetic 180° domains in magnetoelectric LiMPO 4 (M = Fe, Co, Ni)}}, volume = {71}, year = {2009} }
42625
I was unable to find a previous post about this - perhaps too simple? I just came across the BibTeX and am trying to use it with an EndNote library. I have exported to the .bib file (which looks good as far as I can tell), but no bibliography is printed and the references aren't being cited. Obviously there is something major missing.  My document looks as follows.  \documentclass[11pt, fceqn]{article} \usepackage{epsfig} \usepackage{setspace, titlesec, caption, floatrow}    \usepackage{amsmath, amssymb, amsfonts, amsthm, cite, mathtools, lineno, subfig, natbib}  \begin{document}   Some text \cite{Alo_1}.  \bibliography{bib} \bibliographystyle{plain}  \end{document}   Any thoughts would be greatly appreciated.
62961
I am trying to compile a simple tex file but I get this warning and no bibliography printed out:  Package biblatex Warning: No "backend" specified, using Biber backend.   I am using Kile on Ubuntu 14.04. While the same exact file on another pc with Ubuntu 12.04 is correclty working. What is the problem? How can I solve it?  Here is my MWE:  \documentclass[a4paper,11pt]{article} \usepackage[utf8]{inputenc} \usepackage[italian,english]{babel} \usepackage[T1]{fontenc} \usepackage{booktabs} \usepackage[font={small}, labelfont=bf, hypcap=true]{caption}[2004/07/16] \usepackage[unicode,colorlinks=true]{hyperref}  \usepackage[babel]{csquotes} \usepackage[style=authoryear-comp,maxcitenames=1,maxbibnames=99,sortcites=true,firstinits=true,doi=false,url=false,isbn=false, hyperref]{biblatex}%style=numeric-comp,sorting=none,backend=biber  \renewbibmacro{in:}{% elimina il in nella biblio   \ifentrytype{article}{}{%   \printtext{\bibstring{in}\intitlepunct}}}   \renewcommand*{\bibfont}{\small}  \bibliography{biblioTC}  \title{My paper title} \author{Me}  \date{}  \begin{document}  \maketitle  \newpage  \section{Test}  Lalalalalalalalalala \cite{Colitti2014}.  \newpage \phantomsection\addcontentsline{toc}{section}{\refname}         \printbibliography  \end{document}
61375
I've started putting into practice the answer to . Yet I would like to change this so that there are brackets around the citations:   in the superscript in text,     in the superscript in footnote,  in the bibliography.   I've managed to get the first one and the last one working. The second one however, I don't know how to do this.   Note that I mainly write in english and in dutch, so I don't think there is much babel interference.  Also, would there be a way to order the footnotes so that first all ''normal'' \footnote{} are printed and below that all \sfcite{} citational footnotes (per page that is)?  Here's what I've managed to concoct:  \documentclass{article} \usepackage[english]{babel} \usepackage[pdfborder={0 0 0}]{hyperref} \usepackage[citestyle=numeric-comp,sorting=none,hyperref]{biblatex} \usepackage{filecontents}  % No brackets around the number of each bibliography entry \DeclareFieldFormat{labelnumberwidth}{\textbf{[#1]}}  %--------------------------------------------------------------- % Essentially verbatim from Joseph Wright % http://www.texdev.net/2010/03/08/biblatex-numbered-citations-as-footnotes/ \makeatletter \ExecuteBibliographyOptions{citetracker,sorting=none}  \DeclareCiteCommand{\notefullcite}[\mkbibbrackets]     {\usebibmacro{cite:init}%         \usebibmacro{prenote}}     {\usebibmacro{citeindex}%         \usebibmacro{notefullcite}%         \usebibmacro{cite:comp}}     {}     {\usebibmacro{cite:dump}%         \usebibmacro{postnote}}  \newbibmacro*{notefullcite}{%     \ifciteseen         {}         {\footnotetext[\thefield{labelnumber}]{%             \usedriver{}{\thefield{entrytype}}\addperiod}}}  \DeclareCiteCommand{\sfcite}[\cbx@superscript]%     {\usebibmacro{cite:init}%         \let\multicitedelim=\supercitedelim         \iffieldundef{prenote}         {}         {\BibliographyWarning{Ignoring prenote argument}}%     \iffieldundef{postnote}         {}         {\BibliographyWarning{Ignoring postnote argument}}}     {\usebibmacro{citeindex}%         \usebibmacro{sfcite}%         \usebibmacro{cite:comp}}     {}     {\usebibmacro{cite:dump}}  \newbibmacro*{sfcite}{%     \ifciteseen         {}         {\xappto\cbx@citehook{%             \noexpand\footnotetext[\thefield{labelnumber}]{%             \fullcite{\thefield{entrykey}}\addperiod}}}}  \newrobustcmd{\cbx@superscript}[1]{%     \mkbibsuperscript{[#1]}%     \cbx@citehook     \global\let\cbx@citehook=\empty} \let\cbx@citehook=\empty \makeatother %---------------------------------------------------------------  \begin{filecontents}{\jobname.bib} @article{ref1,     hyphenation = {american},     title = {Natural Products as Sources of New Drugs over the Last 25 Years},     author = {Newman, D.J. and Cragg, G.M.},     journal = {J. of Nat. Prod.},     volume = {70},     number = {3},     pages = {461--477},     year = {2007}} @article{ref2,     hyphenation = {american},     title = {Natural products as leads to potential drugs: an old process or the new hope for drug discovery?},     author = {Newman, D.J.},     journal = {J. of Med. Chem.},     volume = {51},     number = {9},     pages = {2589--2599},     year = {2008}} @online{ref3,     author = {Quintin, C.},     title = {Les eponges},     url = {http://christophe.quintin.pagesperso-orange.fr/Liste_Doc.html},     urldate = {2009-05-03} } \end{filecontents}  \addbibresource{\jobname.bib}  \begin{document} First citation.\sfcite{ref1,ref2} Some text\footnote{A footnote}.   \pagebreak Second citation\sfcite{ref1}, second citation\sfcite{ref2}, first citation.\sfcite{ref3} \printbibliography \end{document}
2902
I am doing summer project in maths and I have to type my report. I am good with the latex I write on mathstack that I have learned through experience but when it comes to softwares, I do not know anything like those commands \begin \end does not make sense to me.   Is there any software which can automatically put these commands in, so that in b/w we can type whatever stuff we want?  Also if not, at least you guys can tell me if there is any latex software which shows the output on half of screen(right half), as I type on left half and compile, (I saw it somewhere).  Anyways, I have to download a software and will have to go through some you tube videos, so please suggest me relatively easy Latex software.  Thanks!  P.S. Please edit the tags as you wish, I did not understand many tags here.
21383
How can I make LaTeX use symbols (*, †, ‡, and so on) instead of numbers to mark footnotes?  (The numbers are confusing because I use superscripted numbers for citations.)
16656
How do I enter Unicode characters in LaTeX?  What packages do I need to install and what escape sequence do I type to specify Unicode characters in an ASCII source file?
62174
The code for reference is this  @article{matcontcl,  title= {MATCONT and CL MATCONT},  author = {A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and  B.Sautois},  year = {2006},  journal = {Continuation toolboxes in matlab}, }   This is the error that follows  This is BibTeX, Version 0.99d (TeX Live 2015/W32TeX) The top-level auxiliary file: PropuestaInvestigacion.aux The style file: abbrv.bst Database file #1: biblio.bib Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1049 of file abbrv.bst Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1049 of file abbrv.bst Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1090 of file abbrv.bst Too many commas in name 1 of "A. Dhooge, W. Govaerts, Yu.A. Kuznetsov, W. Mestrom, A.M. Riet and B.Sautois" for entry matcontcl while executing---line 1090 of file abbrv.bst (There were 4 error messages)   How could I fix it?
58315
This is a question about how to use bibtex to cite a preprint from Arxiv. Suppose I have:  @ARTICLE{BM:1999,    AUTHOR  = {First, Author AND Second, Author},    TITLE   = {The title of this article},    YEAR    = {2035},    JOURNAL = What exactly do I put here?,    VOLUME  = {},    NUMBER  = {},    PAGES   = {} }   Where exactly do I put the code of the article in arxiv? Suppose the code is arXiv:1234:5678v1  I am using   \bibliographystyle{alpha}  % (uses file "plain.bst")amsplain \bibliography{myrefs}    % expects file "myrefs.bib"   *EDIT:*Actually there is a BibTeX entry that is @unpublished which is the one I am using. I didn't noticed and I put @article in the example above. It has fields: author, title, note, month, year and key. So the question is more about whether to put the arxiv code of the article in note or in key.
13923
\documentclass[12pt, a4paper,fleqn]{report}  \doublespacing \usepackage[comma,super,sort&amp;compress]{natbib} \bibliographystyle{rsc.bst}  \usepackage{comment} \setcounter{secnumdepth}{4} \usepackage{graphicx} \usepackage{amsmath} \graphicspath{ {images/} }   \begin{document} \section{Molecular dynamics simulations}   ....content....  \begin{equation} \centering m_\mathit{i} \frac{\delta^2\mathbf{r_\mathit{i}}}{\delta \mathit{t}^2}= \mathbf{F_\mathit{i}},\mathit{i} = 1....N. \end{equation}
115009
Books often have a special letter (often spanning two lines) at the beginning of chapters. How can I create this in LaTeX?