BibTeX, biblatex and biberShort Citations for all References

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
Post Reply
wiebke
Posts: 4
Joined: Fri Oct 19, 2012 2:05 pm

Short Citations for all References

Post by wiebke »

For creating my bibliography, I use the apacite package with the natbibapa option (I prefer the author/year citation format and like the options given by the \citep, \citet etc. commands). However, I do not like apacite's "habit" of including full author lists (I know including full author list for the first citation is standard, but I have a limited page count and am not forced to use any standard).

I found the \shortcites command, it does essentially what I want. However, for a long document with many references, it is painful to maintain that manually (reminds me somewhat of the old W0rd days).

What I would like is an option to include the full list of references in the \shortcites command automatically (I tried using a wildcard *, but that doesn't work).

As an alternative, setting the maximum number of authors that will be cited to two (like the maxname option for biblatex) would also work, but I didn't find that in the apacite documentation.

My minimal working example:

Code: Select all

\documentclass[
  parskip=half,
  open=right,
  numbers=noenddot,
  toc=bibliography,
  listof=totoc,
  captions=tableheading
]{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[ngerman,english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage[natbibapa,nodoi]{apacite}

\begin{document}

Without shortcites:\\
First citation, more than 6 authors: \citep{A}, \\
Second citation, more than 6 authors: \citep{A}, \\
First citation, more than 3 but less than 6 authors: \citep{B}, \\
Second citation, more than 3 but less than 6 authors: \citep{B}, \\
First citation, less than 3 authors: \citep{C}, \\
Second citation, less than 3 authors: \citep{C}

\shortcites{A, B, C}
With shortcites (this is what I want):\\
First citation, more than 6 authors: \citep{A}, \\
Second citation, more than 6 authors: \citep{A}, \\
First citation, more than 3 but less than 6 authors: \citep{B}, \\
Second citation, more than 3 but less than 6 authors: \citep{B}, \\
First citation, less than 3 authors: \citep{C}, \\
Second citation, less than 3 authors: \citep{C}

\bibliographystyle{apacite}
\bibliography{MWE_shortcite.bib}
\end{document}
And the bibtex file:

Code: Select all

@ARTICLE{A,
  author = {FnameA1 LnameA1 and FnameA2 LnameA2 and FnameA3 LnameA3
	and FnameA4 LnameA4 and FnameA5 LnameA5 and FnameA6 LnameA6 and FnameA7 LnameA7},
  title = {BlablaA},
  journal = {Mag1},
  year = {2011},
  volume = {1},
  pages = {1-2},
}

@ARTICLE{B,
  author = {FnameB1 LnameB1 and FnameB2 LnameB2 and FnameB3 LnameB3
	and FnameB4 LnameB4 and FnameB5 LnameB5},
  title = {BlablaB},
  journal = {Mag2},
  year = {2011},
  volume = {1},
  pages = {1-2},
}

@ARTICLE{C,
  author = {FnameC1 LnameC1 and FnameC2 LnameC2},
  title = {BlablaC},
  journal = {Mag2},
  year = {2011},
  volume = {1},
  pages = {1-2},
}
Any help is greatly appreciated!
Last edited by localghost on Tue Apr 16, 2013 6:01 pm, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Post Reply