Allow new reference style authoryear for the package option bibstyle [issue 5]

This commit is contained in:
Ricardo Langner
2014-10-08 22:07:30 +02:00
parent 5b41488cfe
commit 3a6a191928
4 changed files with 5 additions and 4 deletions

Binary file not shown.

View File

@@ -112,8 +112,8 @@
\setkeys[ct]{cthesis}{bibfile=bib-refs} \setkeys[ct]{cthesis}{bibfile=bib-refs}
% OPTION bibstyle % OPTION bibstyle
% --> values = alphabetic|numeric % --> values = alphabetic|numeric|authoryear
\define@choicekey*[ct]{cthesis}{bibstyle}[\val\bibstylenr]{alphabetic,numeric}[alphabetic]{\def\cthesis@bibstyle{#1}} \define@choicekey*[ct]{cthesis}{bibstyle}[\val\bibstylenr]{alphabetic,numeric,authoryear}[alphabetic]{\def\cthesis@bibstyle{#1}}
\setkeys[ct]{cthesis}{bibstyle=alphabetic} \setkeys[ct]{cthesis}{bibstyle=alphabetic}

View File

@@ -145,9 +145,10 @@ The default (still) is \texttt{bibtex}.
Sets the file name of the bibtex file used for the bibliography. Sets the file name of the bibtex file used for the bibliography.
If this option is not used (defined), the package looks for the default bibliography \texttt{bib-refs.bib}. If this option is not used (defined), the package looks for the default bibliography \texttt{bib-refs.bib}.
\optitem[alphabetic]{bibstyle}{\opt{alphabetic},\opt{numeric}} \optitem[alphabetic]{bibstyle}{\opt{alphabetic},\opt{numeric},\opt{authoryear}}
Sets whether to use an \texttt{alphabetic} or a \texttt{numeric} reference style for the bibliography. Sets whether to use an \texttt{alphabetic}, a \texttt{numeric}, or an \texttt{authoryear} reference style for the bibliography.
For further information please check out the biblatex documentation\footnote{\url{http://www.ctan.org/pkg/biblatex}}.
The default is \texttt{alphabetic}. The default is \texttt{alphabetic}.
\end{optionlist} \end{optionlist}

Binary file not shown.