General ⇒ BibTeX | special characters in bibliography
-
- Posts: 5
- Joined: Thu Oct 01, 2009 2:04 am
BibTeX | special characters in bibliography
I'd like to know how to use reserved characters in my "bibliographics references", like in this case: Thanks.
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Best regards and welcome to the board
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 5
- Joined: Thu Oct 01, 2009 2:04 am
Re: Bibliography
the problem is when I wirte in the Bibliography.bib some url, for example:
@misc{altus,
title={anything},
url={http://www.altus.com/ftp/Public_main/access%14%oct},
urlaccessdate={17 oct. 2009}
}
see that I have special characters like "_" and "%", so when I compile appears an error because of it. So I wanna know what I could to do to finish with this problem.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
BibTeX | special characters in bibliography
Could you know just use \% and \_? So:ddouglasgs wrote:see that I have special characters like "_" and "%", so when I compile appears an error because of it. So I wanna know what I could to do to finish with this problem.
url={http://www.altus.com/ftp/Public\_main/access\%14\%oct}
Let me know if it works; I'm curious.
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{url}
\begin{document}
\url{http://www.altus.com/ftp/Public_main/access%14%oct}
\end{document}
Code: Select all
@misc{altus,
title={anything},
url={\url{http://www.altus.com/ftp/Public_main/access%14%oct}},
urlaccessdate={17 oct. 2009}
}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
-
- Posts: 5
- Joined: Thu Oct 01, 2009 2:04 am
Re: Bibliography
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
BibTeX | special characters in bibliography
Code: Select all
\begin{filecontents*}{sample.bib}
@misc{altus,
title={anything},
url={http://www.altus.com/ftp/Public_main/access%14%oct},
urlaccessdate={17 oct. 2009}
}
\end{filecontents*}
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{natbib}
\begin{document}
\nocite{*}
\bibliographystyle{plainnat}
\bibliography{sample}
\end{document}
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10