No hay números generados automáticamente con referencias.

No hay números generados automáticamente con referencias.

Recién empiezo a aprender a usar LaTeX.

Estoy usando Texmaker4.0.1 y MiKTeX2.9 en Win7.

Todo está bien, hasta llegar a la parte de referencia. Intenté colocar un número de secuencia delante de cada elemento de referencia, pero no funciona.

Aquí está mi código:

\documentclass[11pt]{article}
\usepackage{colacl}
\usepackage[numbers]{natbib}
\sloppy

\title{Report}
\author{Z.Pyyyy}

\begin{document}
\maketitle
\begin{abstract}
Hello, world.
\end{abstract}

\section{Chapter 1}
Text, Text\cite{Pan}.

\begin{thebibliography}{100}
  \bibitem{Boney96} Boney, L., Tewfik, A.H., and Hamdy, K.N., ``Digital Watermarks for Audio Signals," \emph{Proceedings of the Third IEEE International Conference on Multimedia}, pp. 473-480, June 1996.
  \bibitem{MG} Goossens, M., Mittelbach, F., Samarin, \emph{A LaTeX Companion}, Addison-Wesley, Reading, MA, 1994.
  \bibitem{HK} Kopka, H., Daly P.W., \emph{A Guide to LaTeX}, Addison-Wesley, Reading, MA, 1999.
  \bibitem{Pan} Pan, D., ``A Tutorial on MPEG/Audio Compression," \emph{IEEE Multimedia}, Vol.2, pp.60-74, Summer 1998.
\end{thebibliography}

\end{document}

Y obtuve un resultado como este:

Report
Z.Pyyyy

Abstract
Hello, world.

Chapter 1
Text, Text[4].

Reference
Boney, L., Tewfik, A.H., and Hamdy, K.N., "Digital Watermarks for Audio Signals", Proceedings of the Third IEEE International Conference on Multimedia}, pp. 473-480, June 1996.
Goossens, M., Mittelbach, F., Samarin, A LaTeX Companion, Addison-Wesley, Reading, MA, 1994.
Kopka, H., Daly P.W., A Guide to LaTeX, Addison-Wesley, Reading, MA, 1999.
Pan, D., ``A Tutorial on MPEG/Audio Compression," IEEE Multimedia, Vol.2, pp.60-74, Summer 1998.

Lo que quiero que sea es como:

...
Reference
[1] Boney, L., Tewfik, A.H., and Hamdy, K.N., "Digital Watermarks for Audio Signals", Proceedings of the Third IEEE International Conference on Multimedia}, pp. 473-480, June 1996.
[2] Goossens, M., Mittelbach, F., Samarin, A LaTeX Companion, Addison-Wesley, Reading, MA, 1994.
[3] Kopka, H., Daly P.W., A Guide to LaTeX, Addison-Wesley, Reading, MA, 1999.
[4] Pan, D., ``A Tutorial on MPEG/Audio Compression," IEEE Multimedia, Vol.2, pp.60-74, Summer 1998.

Podría alguien ayudarme ?

PD: Otra pregunta rápida, ¿cuál es la diferencia entre referencias y citas?

Respuesta1

ElcolaclEl paquete que carga en su código evita cualquier numeración de referencia thebibliographydebido a la forma en que lo redefine \@biblabel. Lo siguiente anula esa redefinición por colacl.sty:

ingrese la descripción de la imagen aquí

\documentclass[11pt]{article}

\usepackage{colacl}
\usepackage[numbers]{natbib}

\makeatletter
\def\@biblabel#1{\def\citename##1{##1}[#1]\hfill}
\makeatother

\sloppy
\title{Report}
\author{Z.Pyyyy}

\begin{document}
\maketitle
\begin{abstract}
Hello, world.
\end{abstract}

\section{Chapter 1}
Text, Text\cite{Pan}.

\begin{thebibliography}{100}
  \bibitem{Boney96} Boney, L., Tewfik, A.H., and Hamdy, K.N., ``Digital Watermarks for Audio Signals," \emph{Proceedings of the Third IEEE International Conference on Multimedia}, pp. 473-480, June 1996.
  \bibitem{MG} Goossens, M., Mittelbach, F., Samarin, \emph{A LaTeX Companion}, Addison-Wesley, Reading, MA, 1994.
  \bibitem{HK} Kopka, H., Daly P.W., \emph{A Guide to LaTeX}, Addison-Wesley, Reading, MA, 1999.
  \bibitem{Pan} Pan, D., ``A Tutorial on MPEG/Audio Compression," \emph{IEEE Multimedia}, Vol.2, pp.60-74, Summer 1998.
\end{thebibliography}

\end{document}

Respuesta2

Compilé tu código y obtuve esto...

(Tuve que comentar \usepackage{colacl}porque no lo reconocía)

¿No es lo que quieres?

tu codigo

información relacionada