How I can cite: Author [Number]
?. For example:
Wolsey [8]
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It only takes a minute to sign up.
Sign up to join this communityYou can achieve this using the natbib
package in numerical mode, and its \citet
command.
\documentclass{article}
\usepackage[numbers]{natbib}
\usepackage{hyperref} % Hyperlinks bib references.
\begin{document}
Here is a reference: \citet{Ca04}.
\bibliographystyle{plainnat}
\bibliography{test}
\end{document}
I can do it using flexbib
package and \cite
command:
\documentclass{article}
\usepackage{hyperref}
\usepackage[plain*,spanish]{flexbib} %in this case the document is in spanish
\begin{document}
Here is a reference: \cite{Ca04}.
\bibliographystyle{plainnat}
\bibliography{test}
\end{document}
\newcommand\Myciteauthor[1]{\citeauthor{#1} \cite{#1}}
and use \Myciteauthor
instead of \citeauthor
in your text
\documentclass{...}
and ending with\end{document}
. Looking at what you are trying to accomplish, this is done by default in LaTeX when using\cite
command. I think you will benefit from readinglshort
.