Different ways to cite an author in Beamer Latex
Solved/Closed
Rodrigue
-
5 Nov 2020 à 01:28
HelpiOS Posts 8464 Registration date Friday 30 October 2015 Status Moderator Last seen 10 July 2026 - 6 Nov 2020 à 04:28
HelpiOS Posts 8464 Registration date Friday 30 October 2015 Status Moderator Last seen 10 July 2026 - 6 Nov 2020 à 04:28
4 responses
HelpiOS
Posts
8464
Registration date
Friday 30 October 2015
Status
Moderator
Last seen
10 July 2026
1,880
5 Nov 2020 à 07:57
5 Nov 2020 à 07:57
Hi,
The \citep{} command is used to display the author's name as well as the year in parentheses. To display only the year in parentheses for your citation, use the \citet{} command instead.
The \citep{} command is used to display the author's name as well as the year in parentheses. To display only the year in parentheses for your citation, use the \citet{} command instead.
Hi HelpiOS
Thank you for your reply. As I mentioned, \citep{} doesn't work. My editor Texstudio doesn't recognise that keyword. I also tried \citet{} that you propose but this is not recognised too.
Is it specific to Beamer ? Because even using Texmaker nothing changes.
Thank you for your reply. As I mentioned, \citep{} doesn't work. My editor Texstudio doesn't recognise that keyword. I also tried \citet{} that you propose but this is not recognised too.
Is it specific to Beamer ? Because even using Texmaker nothing changes.
HelpiOS
Posts
8464
Registration date
Friday 30 October 2015
Status
Moderator
Last seen
10 July 2026
1,880
5 Nov 2020 à 08:24
5 Nov 2020 à 08:24
You need the Natbib package which is a reimplementation of the Latex \cite command. Here's the link to download it. Then add \usepackage{natbib} in Textmaker to use the package.
Hi HelpiOS,
I'm really grateful for your help. It's fine now!! I just needed to add the natbib package I already used in the .tex document.
Thank you again
I'm really grateful for your help. It's fine now!! I just needed to add the natbib package I already used in the .tex document.
Thank you again
HelpiOS
Posts
8464
Registration date
Friday 30 October 2015
Status
Moderator
Last seen
10 July 2026
1,880
6 Nov 2020 à 04:28
6 Nov 2020 à 04:28
You're welcome!