General ⇒ Showing "X most recent of Y total items" in a CV section
-
- Posts: 2
- Joined: Fri May 11, 2012 4:20 pm
Showing "X most recent of Y total items" in a CV section
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Showing "X most recent of Y total items" in a CV section
Code: Select all
\documentclass{article}
\usepackage{databib}
\def\maxrefs{5}
\begin{document}
% loads acmtr.bib and creates a database called 'references'
\DTLloadbbl{references}{acmtr}
\nocite{*}
\DTLsort{Year=descending,Month=descending}{references}
\section*{\maxrefs\space most recent of \protect\DTLrowcount{references} total items}
\DTLbibliography[\value{DTLrowi}<\maxrefs\OR\value{DTLrowi}=\maxrefs]{references}
\end{document}
Code: Select all
latex filename
bibtex filename
latex filename
Nicola Talbot
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
-
- Posts: 2
- Joined: Fri May 11, 2012 4:20 pm