From e61b053df8b7bc3dd892dc7ca61be49a83e1e7bc Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Sun, 26 Jul 2015 22:51:41 +0000
Subject: nmbib (26jul15)

git-svn-id: svn://tug.org/texlive/trunk@37964 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/doc/latex/nmbib/nmsample.tex | 68 ++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
 create mode 100644 Master/texmf-dist/doc/latex/nmbib/nmsample.tex

(limited to 'Master/texmf-dist/doc/latex/nmbib/nmsample.tex')

diff --git a/Master/texmf-dist/doc/latex/nmbib/nmsample.tex b/Master/texmf-dist/doc/latex/nmbib/nmsample.tex
new file mode 100644
index 00000000000..56ff2a807a5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/nmbib/nmsample.tex
@@ -0,0 +1,68 @@
+\documentclass{article}
+\usepackage{nmbib}
+\usepackage[colorlinks]{hyperref}
+\multibibliographystyle{timeline}{chronoplainnm}
+\multibibliographystyle{sequence}{unsrtnm}
+\multibibliographystyle{authors}{plainnm}
+\multibibliography{type,nmbib}
+\usepackage{booktabs}
+\usepackage[tableposition=top]{caption}
+\begin{document}
+
+The package \textsl{nmbib} allows several kinds of citations:
+author-year parenthetical \verb|\citep|:
+\citep{Daly:Customizing_Bibliographic_Style_Files}, author-year
+textual \verb|\citet|: \citet{kopka03}, authors only
+\verb|\citeauthor|: \citeauthor{Daly:Natbib}, year only
+\verb|\citeyear|: \citeyear{Mori:Managing_bibliographies}, numerical
+\verb|\citenum|: \citenum{Patashnik:bibtexing}, \verb|\citealn|:
+\citealn{Multibibliography}.  The \verb|\citeall| command produces the
+full citation: \citeall{Markey:Tame_the_BeaST}, close to the one
+produced by the \textsl{multibibliography} package
+\citep{Multibibliography, Multibibliography13}.
+
+Full citation command \verb|\citeall|: \citeall{Multibibliography,
+  Multibibliography13}.  The starred form: \verb|\citeall*|:
+\citeall*{Multibibliography, Multibibliography13}
+
+
+
+We can create links with a user-level universal command
+\verb|\nmbibLink|: \nmbibLink{Daly:Natbib}{authors}{Daly's package in
+  the alphabetic list}, \nmbibLink{kopka03}{sequence}{Kopka and Daly's
+  book in the sequential list}.
+
+\begin{table}
+  \centering
+  \caption{Examples of citation commands}
+  \label{tab:examples}
+  \begin{tabular}{ll}
+    \toprule
+    Command & Result\\
+    \midrule
+    \verb|\citet{Daly:Natbib}| & \citet{Daly:Natbib}\\
+    \verb|\citep{Daly:Natbib}| & \citep{Daly:Natbib}\\
+    \verb|\cite{Daly:Natbib}| & \cite{Daly:Natbib}\\
+    \verb|\citealt{Daly:Natbib}| & \citealt{Daly:Natbib}\\
+    \verb|\citealp{Daly:Natbib}| & \citealp{Daly:Natbib}\\
+    \verb|\citetext{Daly:Natbib}| & \citetext{Daly:Natbib}\\
+    \verb|\citenum{Daly:Natbib}| & \citenum{Daly:Natbib}\\
+    \verb|\citealn{Daly:Natbib}| & \citealn{Daly:Natbib}\\
+    \verb|\citeauthor{Daly:Natbib}| & \citeauthor{Daly:Natbib}\\
+    \verb|\citeyear{Daly:Natbib}| & \citeyear{Daly:Natbib}\\
+    \verb|\citefullauthor{Daly:Natbib}| &
+    \citefullauthor{Daly:Natbib}\\
+    \verb|\citeall{Daly:Natbib}| & \citeall{Daly:Natbib}\\
+    \bottomrule
+  \end{tabular}
+\end{table}
+
+\nmbibYearSuffixOff
+\clearpage
+\printbibliography{timeline}
+\clearpage
+\printbibliography{sequence}
+\clearpage
+\printbibliography{authors}
+
+\end{document}
-- 
cgit v1.2.3

