I am trying to obtain a non-standard citation style that includes only the last name of the first author, and the year it was published. As an example at the moment I have this:
myref.bib
@article{Stupid1999,
author = {Styleiz Stupid and Don Knowhy},
title = {Using totally random citation styles to write a thesis},
year = {1999},
volume = {11},
pages = {232-254},
journal = {Journal of Stupid Citation Styles}
}
On the tex file I cite with
A stupid random citation style was also used by \cite{Stupid1999}
The output is then:
A stupid random citation style was also used by [Stupid and Knowhy, 1999]
And what I want it to be:
A stupid random citation style was also used by [Stupid,1999]
Similar outputs to this without comma would also be appreciated, I just need that it does not include any second author or et al. in the in-line citation.
Additionally, on the references part I also need the output to be like
[Stupid,1999] Stupid, S., Knowhy, D., Using totally random citation
styles to write a thesis. Journal of Stupid Citation
Styles, 1999, vol. 11, p. 232-254
The important part about this output is that it needs to be in this indentation style. The order of the citation can also be (authors, year, title, rest).
At the moment I'm using \bibliographystyle{apalike}
cause it was the only similar option, however this will not be suitable to conclude my work.
Looking forward in advance to your suggestions.
Kind regards
Example code with package list:
\documentclass[12pt,twoside]{book}
\usepackage{graphicx}
\usepackage{color}
\usepackage[latin1]{inputenc}
\usepackage[UKenglish]{babel}
\usepackage{utilmat}
\usepackage{margen}
\usepackage{pinlabel}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{rotating}
\usepackage{titlesec}
\usepackage{enumerate}
\usepackage{nccmath}
\usepackage{bigints}
\usepackage{caption}
\usepackage[a4paper]{geometry}
\usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
\usepackage{vector} % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths
%\usepackage{epstopdf}
\usepackage[version=3]{mhchem}
\usepackage{enumerate}
\usepackage[official]{eurosym}
\usepackage{multirow}
\usepackage[font=small, labelfont=bf, justification=centering, format=hang]{caption}
\usepackage{hyperref}
\usepackage{array}
\usepackage{subfigure}
\usepackage{multicol}
\usepackage{rotating}
\usepackage{float}
%raggedrigh
\usepackage{mhchem}
\usepackage{fancyhdr}
\usepackage{booktabs}
\usepackage{breakcites}
%\usepackage[square]{natbib}
%\usepackage{apalike}
%\bibpunct{[}{]}{;}{a}{,}{-}
\usepackage{csquotes}
%
\usepackage[%
style=verbose
,backend=bibtex % biber or bibtex
,backref=true
,style=authoryear % Alphabeticalsch
,style=numeric-comp % numerical-compressed
,sorting=nyt % no sorting
,sortcites=true % some other example options ...
,block=none
,indexing=false
,citereset=none
,isbn=true
,giveninits=true
,url=true
,doi=true % prints doi
,natbib=true % if you need natbib functions
]{biblatex}
\addbibresource{myref.bib}
\begin{document}
A stupid random citation style was also used by \cite{Stupid1999}
\printbibliography
\end{document}
Errors:
biblatex.sty error line 3350 Command \Rn already defined \endgroup} and multiple warnings
biblatex
?bibtex
at the moment, I've tried implementingbiblatex
, however I was not even able to print the bibliography.\usepackage{hyperref}
should be one of the last packages you load.