How can I make the reference list as: 4 letters a gap and the two numbers of the year,
[Taja 00a] E. Tajahuerce and B. Javidi, "Encrypting
three-dimensional information with digital holography," Appl. Opt., 39, 6595-6601, (2000).
where [Taja 00a] means the first four letter of the author's surname, a space, and the year (only two numbers).
Also, I would like to cite this reference as [Taja 00a].
I have been reading the natbib package and trying different things such as \citep or \citealp, and the \setcitestyle command. Nothing lucky so far.
Could anyone help me define this please?
This is a minimal example I am testing on.
\documentclass{article}
\usepackage{xstring}
\usepackage[style=alphabetic,maxbibnames=99]{biblatex}
\addbibresource{Thesis_References.bib}
\DeclareLabelalphaTemplate{
\labelelement{
\field[strwidth=4,strside=left,names=1,lowercase]{labelname}
}
\labelelement{
\field[strwidth=2,strside=right]{year}
}
}
\renewcommand{\labelalphaothers}{}
\DeclareFieldFormat{labelalpha}{\padded{#1}}
\begin{document}
\cite{JavidiBOOK:2005}, \cite{Matoba:09}. \cite{Matoba:04, Unnikrishnan:06}
\printbibliography
\end{document}
biblatexpackage, you might want to check out: http://tex.stackexchange.com/questions/105690/custom-biblatex-reference-style – Christoph B. Apr 16 '13 at 17:29alpha? Please advise. – Mico Apr 16 '13 at 18:16pdflatex->biber->pdflatex->pdflatex– Marco Daniel Apr 17 '13 at 15:46\paddedis undefined. That's the reason for the error. Remove the command and everything works fine. – Marco Daniel Apr 17 '13 at 18:31\DeclareLabelalphaTemplate: Use:\labelelement{\literal{~}}The complete code is:\DeclareLabelalphaTemplate{ \labelelement{ \field[strwidth=4,strside=left,names=1,lowercase]{labelname} } \labelelement{ \literal{~} } \labelelement{ \field[strwidth=2,strside=right]{year} } }– Marco Daniel Apr 18 '13 at 15:22biblatex(version 2.5+) and biber (biber version: 1.6 (beta)). With the current version you should try\literal{{ }}– Marco Daniel Apr 18 '13 at 16:20