I'm trying to insert a citation after a definition/theorem in the beamer class to resemble the following:  Definition [1]  Here is my definition.  I can partially accomplish the above using   \begin{definition}[\cite{ref_01}]   but this yields Definition ([1]) with an additional set of brackets. Is there anyway of selectively removing the additional round brackets?
123784
I would like to get rid of the around the optinal header material in my theorem environment. Here is a MWE   \documentclass{beamer} \begin{document} \setbeamertemplate{theorems}[numbered] \newtheorem{MyHypo}{Hypothesis} \begin{frame} \begin{MyHypo}[insert text] This is my hypothesis \end{MyHypo}  \end{frame}  \end{document}    Is there another option for the setbeamertemplate to keep the numbering but avoid the ( ) for the text?
20654
I have several citations in a beamer-based presentation.  Is it possible to split the bibliography across two slides?  I'm using natbib / bibtex.  And I currently just have:  \begin{frame}  \tiny  \bibliographystyle{apalike} \bibliography{Biblio-Database}  \end{frame}   But we're to the point where even tiny won't cut it.  Is there anyway to do this?  I'd really prefer to not create the bibliography by hand because I once had it 'stuck to me' that I omitted an entry in the bibliography (which I'd created by hand)... nothing quite like ending on a clerical omission...
108036
I need to customize my references in the following style using biblatexs Alpha style having the columns Label, Author, and Title and Other Information.    Till now with your help I could already change the square brackets to slashes.   My code so far is:   \documentclass[12pt]{scrartcl}  .  .   \usepackage[% natbib        = true, backend       = bibtex8, %bibtex, biber style         = alphabetic, %citestyle     = alphabetic, maxcitenames  = 2, mincitenames  = 1, %bibstyle      = alphabetic, %authoryear, %draft, %, sorting       = nyvt, maxbibnames   = 6, minbibnames   = 6, language      = ngerman, date          = long, backref       = false, backrefstyle  = none,  % none, three, two, two+, three+, all+ firstinits=true  ]{biblatex}    \usepackage[babel,german=quotes]{csquotes}    \bibliography{input/literatur}      \newrobustcmd{\mkbibslashes}[1]{/#1/}      \DeclareFieldFormat{labelalphawidth}{\mkbibslashes{#1}}    \DeclareFieldFormat{shorthandwidth}{\mkbibslashes{#1}}     \DeclareCiteCommand{\cite}[\mkbibslashes]    {\usebibmacro{prenote}}    {\usebibmacro{citeindex}% \usebibmacro{cite}}    {\multicitedelim}    {\usebibmacro{postnote}}    \renewcaptionname{ngerman}{\refname}{Literaturverzeichnis}   .   .   .   Thanks again
38622
I use the LaTeX Beamer style for presentations and get a table of contents (toc) after the title page, as well as at the start of each section (where the contents of the current section are highlighted).  How can I remove all those extra tocs at the start of each section?
5136
I'm aware of the cleveref package \cref which adds the correct reference name (see:  ). I have a few references which refer to the very next section and some find it odd to give the number in this case rather than just say "in the next section". Sometimes I've moved sections around and these references suddenly become quite broken. To have the best of both worlds, is there a way to automate this change?  E.g.: replace "this is discussed further in section 1.4" with "this is discussed further in the next section"
123833
I have tried several approaches to solve my problem but unfortunately none successful yet. I can not find documentation mentioning how to solve this particular case. My problem is that I am using a subfigure in beamer and I am trying to create multiple \ref points before the \label appear in the same figure. When compiling the .tex document only one reference point appears and the rest are appearing as ??. Is there any possible solution to my problem?  EDIT: The code I'm using  \documentclass[xcolor=pdftex,dvipsnames,table]{beamer} \usepackage[english]{babel} \usepackage{hyperref} \usepackage{cleveref} \usepackage{caption} \usepackage{subcaption}  \mode&lt;presentation&gt; \setbeamertemplate{caption}[numbered]  \begin{document} \begin{frame}  \begin{columns}[t]  \begin{column}[T]{5cm}  \begin{itemize}  \item&lt;+-| alert@+&gt; 1~\autoref{1}  \item&lt;+-| alert@+&gt; 2~\autoref{2} etc  \end{itemize}  \end{column}  \begin{column}[T]{5cm}  \begin{figure}  \only&lt;1&gt;{\begin{subfigure}[b]{1.0\linewidth}           \caption{sub caption 1}           \label{1}           \includegraphics[width=7.0cm,height=5cm]{fig 1}           \end{subfigure} }  \only&lt;2&gt;{\begin{subfigure}[b]{1.0\linewidth}           \caption{sub caption 2}           \label{2}           \includegraphics[width=5.5cm,height=5cm]{fig 2}           \end{subfigure} } \caption{main}  \protect\label{3}  \end{figure}  \end{column}  \end{columns}  \end{frame} \end{document}
76994
I want to have different numbering for Theorems, Examples, Definition, and Lemma. I use the following code in preamble  \setbeamertemplate{theorem}[ams style] \setbeamertemplate{theorems}[numbered]   This code works fine but it has continuing numbering for Theorems and other Environments. I'd appreciate your help if you guide me how to get different numbering for Theorems, Examples, Definition, and Lemma in beamer.
40907
To modify the definition of a command we use \renewcommand, but how about modify a beamer template. For example if we change itemize item like this:   \defbeamertemplate{itemize item}{triangle} {\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleleft$}}   We get the error:     ! LaTeX Error: Command \beamer@@tmpop@itemize item@triangle already   defined.   This is an example of that:  \documentclass{beamer}  \defbeamertemplate{itemize item}{triangle}     {\scriptsize\raise1.25pt\hbox{\donotcoloroutermaths$\blacktriangleleft$}}  \begin{document}  \begin{frame} \setbeamertemplate{itemize item}[ball]  \begin{itemize} \item  text  \item  text \end{itemize}  \setbeamertemplate{itemize item}[tiangle]  \begin{itemize} \item  text  \item  text \end{itemize}  \end{frame}  \end{document}
43193
I have prepared a beamer presentation for a seminar. I already have presented, but in trying to change traditionally-cited references (with a number superscript and the reference typesetted at the end of the presentation), I used biblatex's \footcite. Consider this frame snippet:  \documentclass[10pt]{beamer} \usepackage[utf8]{inputenc} \usepackage{amsmath,amssymb} \usepackage{colortbl} \usepackage[spanish,es-tabla]{babel}   \usepackage{wasysym} \usepackage[style=verbose,autocite=footnote,maxnames=10,babel=hyphen,hyperref=true,abbreviate=false,backend=biber,mcite]{biblatex} \addbibresource{references.bib}  \usepackage{pgf} \usepackage{booktabs} \usepackage{multirow}  \setlength{\columnsep}{.2cm} \def\newblock{\hskip .11em plus .33em minus .07em} \mode&lt;presentation&gt; {   \usetheme[width=4em]{PaloAlto}   \usecolortheme{crane} } \title{Title} \subtitle{Sub}  \author[me]{me} \date{\today}  \begin{document}  \begin{frame}   \titlepage \end{frame}      %%%%%%% MAIN CODE %%%%%% \begin{frame}{The FDTD Method}     \begin{columns}         \begin{column}{0.4\textwidth}           \begin{itemize}               \item Discretization of both space and time by central differences.                 \item Yee Cell %\footcite{Taflove2000}.              \end{itemize}         \end{column}      \begin{column}{0.5\textwidth}         \begin{figure}           \centering           \includegraphics[width=0.9\columnwidth]{some_figure}           \caption{Unit Yee Cell.}         \end{figure}     \end{column}      \end{columns} \end{frame}  \end{document}   Put any PDF, PNG or JPG file named some_figure together with this .tex file. The content of the references.bib file (just to enable compilation) are:  @Book{Taflove2000,     Day = {{30}},     Edition = {{2nd}},     Month = {{jun}},     Publisher = {{Artech House Publishers}},     author = {Taflove, Allen and Hagness, Susan C.},     title = {{Computational Electrodynamics: The Finite-Difference Time-Domain Method}},     year = {{2000}}, }   With the comment in place (that is, when not citing with \footcite) the second column containing the figure appears in the PDF output correctly. But, when the comment is removed, the citation appears at the footer of the frame, but the second column goes into oblivion along with the figure. Does anyone know how to solve this?
100953
I have biblatex with options  \usepackage[backend=bibtex, style=authoryear]{biblatex}   The citations made with \cite look like this: Smith, 2019 or Smith and Baker, 2019 and so on. I would like to define a command that automatically replaces the occurrence of my name with my initials. Namely I need  \cite{SmithsPaper}  % --&gt; Smith, 2019 \cite{MyPaper}      % --&gt; Manny, 2019 %%% \newcite{SmithsPaper}  % --&gt; Smith, 2019 \newcite{MyPaper}      % --&gt; MC, 2019   I have tried with the package xstring to do something like  \newcommand{\newcite}[1]{%   \begingroup   \edef\@temp{\cite{#1}}%   \StrSubstitute{\@temp}{Manny}{MC}   \endgroup }   The problem is that I can't figure out how to tell LaTeX to expand \cite{#1}. As a result the citation comes out without the replacement. If I change \cite{#1} by simply #1 and I call \newcite{bla Manny bla} it gives bla MC bla as expected.  It shouldn't be relevant but I'm using this within the beamer documentclass.
75074
I don't understand what's the meaning of "cited after" in books, when they cite a source, e.g.,       (cited after Manin 1997: 3)
105878
I am creating a beamer that consist of frames using certain layout repeatedly.  To put it simple, let's say my beamer consists of 3 types of frames   A: only a giant word at the dead centre of the frame B: a big pictures with a big (inspirational) word under C: a quotation at left, and picture of that person at right   I wish to make some kind of template so that I can later use \begin{frame}[A] ... \end{frame} so that all the setting (font size, colour) are pre-set once and for all, just like MS powerpoint slide layout function.     Is it possible?
61430
Beginner here with an issue on a simple presentation using beamer  \documentclass{beamer}  \begin{document} \begin{frame}   \tau \epsilon \chi \end{frame} \end{document}   The above fails with the message "! Missing $ inserted." and waits for me to do something when converting to pdf. I have tried adding the instruction \usepackage[utf8]{inputenc} and also \usepackage[greek]{babel}. I have not seen references either to needing to use any other package. What is exactly I am missing?
48179
I know that it is required to first create a database of references stored in a .bib file. Mendeley exports my reference list in .bib format. But how can I know what to write in curly brackets in \cite{} to refer to a particular author? Do I need to keep the .bib file open and find the relevant name to cite? Or am I missing something? What is your recommendation for referencing in LaTeX?
58312
I would like to know how to remove the dot that amsthm adds after the number of the theorem (it gives Theorem 1.1. instead of Theorem 1.1 ).   MWE:  \documentclass{article} \usepackage{hyperref} \newtheorem{theorem}{Theorem}[section]  \usepackage{xpatch} \makeatletter \xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{} \makeatother  \begin{document} \section{Introduction}  \begin{theorem} Let ... \end{theorem}  \end{document}   gives     while  \documentclass{article} \usepackage{amsthm} \usepackage{hyperref} \newtheorem{theorem}{Theorem}[section]  \usepackage{xpatch} \makeatletter \xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{} \makeatother  \begin{document} \section{Introduction}  \begin{theorem} Let ... \end{theorem}  \end{document}   gives    It turns out that if \usepackage{hyperref} is not included, then adding  \usepackage{xpatch} \makeatletter \xpatchcmd{\@thm}{\thm@headpunct{.}}{\thm@headpunct{}}{}{} \makeatother   fixes the problem, but when it is then the problem is still there.   I need to use amsthm but I don't want the dot to appear.  Thanks in advance.
36875
I wanted to use the moderncv class together with biblatex. To this end, I redefined the bibliography bibenvironment  \defbibenvironment{bibliography}{}{}% {\cvline{\printfield[labelnumberwidth]{labelnumber}}% {} }   The labels were adjusted correctly, but the text of the bib entry (unsurprisingly) started below the label, took the whole line and was not adjusted at all.  My question is if there is a neat solution for this, or if one must define a new BibliographyDriver as is done  here  or even resort to some low level hackery as in this answer ? If so, what do I have to do?
47299
I am using biblatex and biber. Here is a sample LaTeX file.  \documentclass[11pt]{article} \usepackage[backend=biber,firstinits,style=numeric-comp,maxnames=99]{biblatex} \bibliography{longnames.bib,test.bib}  \DefineBibliographyStrings{english}{%   references = {Selected Publications},  } \begin{document}  Ref.~\cite{CJS:2013} and~\cite{BCW:2012}.  \printbibliography \end{document}   The reference BCW:2012 looks like this in the bib file.  @online{BCW:2012,   author    = {B and                C and                W},   title     = {Musings and machinations},   eprinttype   = {arXiv},   eprint    = {1234.5678},   eprintclass = {cs.DS},   year      = {2012} }   The problem is that the title "Musings and machinations" doesn't have quotes round it when rendered whereas all other (non-arXiv) papers do.  What am I doing wrong?  I am using biber version 0.9.9.