I want to cite a theorem from a reference book. I input the code in the context of beamer as follows:
\cite[Theorem 1]{reference book}
But it only shows the name of reference book without theorem 1. How to tackle this problem?
I want to cite a theorem from a reference book. I input the code in the context of beamer as follows:
\cite[Theorem 1]{reference book}
But it only shows the name of reference book without theorem 1. How to tackle this problem?
NatbibConsider using the citet and citep commands with the natbib package.
\documentclass{beamer}
\usepackage[numbers, sort&compress]{natbib}
\bibliographystyle{unsrtnat}
\begin{document}
\begin{frame}{Some references}
Some results from \citet[Theorem 10.22]{kloeden1999numerical}, for more details see \citep[Theorem~10.22]{kloeden1999numerical}.
\vfill
\bibliography{references}
\end{frame}
\end{document}
biblatexThe same holds here, where we for convenience I use the option natbib=true, which gives
using
\documentclass{beamer}
\usepackage[backend=biber,style=numeric,natbib=true]{biblatex}
\addbibresource{sample.bib}
\begin{document}
\begin{frame}{Something}
We see what \citet[Section~1]{einstein} has to say can compare \cite[Section~1]{einstein} with \citep[Section~1]{einstein}.
\printbibliography
\end{frame}
\end{document}
biblatex (according to their comment), so switching to natbib might not be the best choice. At the very least it should be motivated.
– moewe
May 02 '20 at 12:01
biblatex but producing the bibliography with a manual thebibliography ...
– moewe
May 02 '20 at 12:22
.bib file. Makes everything a lot easier.
– oliversm
May 03 '20 at 12:13
\documentclass{...}and ending with\end{document}. – BambOo May 02 '20 at 09:38\cite[Thm.~1]{sigfridsson}should produce a reference to the work and "Thm. 1". Some citation styles suppress pre- and postnote information, but they should warn you about this. From the description so far it is hard to say what might be going on. Please show us a short example document that shows what you are doing. See https://tex.meta.stackexchange.com/q/228/35864. Check the.logand.blgfiles for hints. – moewe May 02 '20 at 10:31.bibfile? Are they shown in bold? Did you run Biber? https://tex.stackexchange.com/q/63852/35864 https://tex.stackexchange.com/q/154751/35864 – moewe May 02 '20 at 11:00\cite{Bob 20}you can only have\cite{Bob20}. Secondly the entry key in your.bibfile and you\citemust match. Thirdly you must run Biber, not BibTeX (see the two links in my last comment). – moewe May 02 '20 at 12:01thebibliographywithbiblatex. It would have been much easier to help you if we had known from the start that you usedthebibliography. That's why we almost always ask for a minimal example document that shows what you are doing. – moewe May 02 '20 at 12:21biblatex(\usepackage{biblatex}) can not be used together with the bibliography produced bythebibliography. The two approaches are completely incompatible. Since you still haven't shown us an example document I have no idea what is happening at your end, so I can not help you until you add the required info to your question. – moewe May 02 '20 at 12:48