| 1 |
%% |
| 2 |
%% This is file `collsamp.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% collref.dtx (with options: `sample') |
| 8 |
%% |
| 9 |
%% Copyright (C) 2003-2025 Niklas Beisert |
| 10 |
%% |
| 11 |
%% This work may be distributed and/or modified under the |
| 12 |
%% conditions of the LaTeX Project Public License, either version 1.3 |
| 13 |
%% of this license or (at your option) any later version. |
| 14 |
%% The latest version of this license is in |
| 15 |
%% https://www.latex-project.org/lppl.txt |
| 16 |
%% and version 1.3c or later is part of all distributions of LaTeX |
| 17 |
%% version 2008 or later. |
| 18 |
%% |
| 19 |
\NeedsTeXFormat{LaTeX2e}[1996/12/01] |
| 20 |
\ProvidesFile{collsamp.tex}[2025/03/25 v2.0.4 Sample for Collect References] |
| 21 |
\documentclass{article} |
| 22 |
|
| 23 |
%%\usepackage{cite} |
| 24 |
\usepackage[punctsep]{collref} |
| 25 |
%%\usepackage{hyperref} |
| 26 |
|
| 27 |
\begin{document} |
| 28 |
|
| 29 |
\def\tworef{c8,c9} |
| 30 |
|
| 31 |
\cite{c1,c2,c3,c4} |
| 32 |
\nocollect{c3} |
| 33 |
\cite{c5,c6,c7,\tworef} |
| 34 |
\cite{c5,c6,c7} |
| 35 |
\cite{c7,\tworef} |
| 36 |
|
| 37 |
\begin{thebibliography}{11} |
| 38 |
\bibitem{c1} reference 1% |
| 39 |
\bibitem{c2} reference 2% |
| 40 |
\bibitem{c3} reference 3% |
| 41 |
\bibitem{c4} reference 4% |
| 42 |
\bibitem{c5} reference 5 |
| 43 |
\bibitem{c6} reference 6 |
| 44 |
\bibitem{c7} reference 7 % |
| 45 |
\bibitem{c8} reference 8\ignorespaces |
| 46 |
\bibitem{c9} reference 9\ignorespaces |
| 47 |
\end{thebibliography} |
| 48 |
|
| 49 |
\end{document} |
| 50 |
\endinput |
| 51 |
%% |
| 52 |
%% End of file `collsamp.tex'. |