Hi, I have just registered on this forum, and I need help please.
I am trying to learn Latex so I wrote a simple bibliography embedded in my tex file. I tried to cite a website, but the generated pdf doesn't textwrap the long URL I am trying to cite into the next line. Instead, it just cuts off at the end of line. I was wondering how I can get around with this. My code are as follows:
Below is my test.tex file:
\documentclass{article}
\usepackage{graphicx}
\usepackage[margin=1in]{geometry}
\title{whatever}
\author{moo~}
\date{Friday, June 26, 2009}
\begin{document}
\maketitle
\tableofcontents
\section{helloWorld}
http://forums.freescale.com/freescale/b ... ead.id=158 \cite{Freescale}
\bibliographystyle{plain}
\bibliography{test}
\end{document}
Below is my test.bib file:
@unpublished{Freescale,
author = "Freescale",
title = "Freescale Semiconductor Forum",
note = "Available at:%
\texttt{http://forums.freescale.com/freescale/b ... ead.id=158}",
}
HELP PLEASE XD~ Thank you!!!~
BibTeX, biblatex and biber ⇒ Help on Bibliography please
NEW: TikZ book now 40% off at Amazon.com for a short time.

Help on Bibliography please
Add the url package:
\usepackage{url}
And then put the URLs in \url{...} tags:
And for your bib file:
Or you can use the option \usepackage{hyperref} instead of \usepackage{url} if you want working hyperlinks instead.
\usepackage{url}
And then put the URLs in \url{...} tags:
Code: Select all
\documentclass{article}
\usepackage{graphicx}
\usepackage[margin=1in]{geometry}
\usepackage{url}
\title{whatever}
\author{moo~}
\date{Friday, June 26, 2009}
\begin{document}
\maketitle
\tableofcontents
\section{helloWorld}
\url{http://forums.freescale.com/freescale/board/message?board.id=MCUCOMM\&thread.id=158} \cite{Freescale}
\bibliographystyle{plain}
\bibliography{test}
\end{document}
Code: Select all
@unpublished{Freescale,
author = "Freescale",
title = "Freescale Semiconductor Forum",
note = "Available at: %
\url{http://forums.freescale.com/freescale/board/message?board.id=MCUCOMM\&thread.id=158}",
}