3

How do i insert a # in a bibtex entry.. seem to be impossible it does not recognize the \# or # as simple hashtag (#)..

@ONLINE {DMA,
    title = "AR# 57550 - Example Designs - Designing with the AXI DMA core",
    month = "aug",
    year  = "2015",
    url   = "http://www.xilinx.com/support/answers/57550.html"
}
3
  • have you tried \#? May 30, 2016 at 14:34
  • ` ` was missing..
    – Lamda
    May 30, 2016 at 14:40
  • Note that if the hash is followed by text, e.g., #text, it won't work.Use \#{}text to separate the hash from the text. Aug 26, 2020 at 21:23

2 Answers 2

3

You can try to use url package and type

\url{\#}
5
4

Here's a minimal example:

\begin{filecontents*}{\jobname.bib}
@ONLINE {DMA,
    title = "AR\# 57550 - Example Designs - Designing with the AXI DMA core",
    month = aug,
    year  = "2015",
    url   = "http://www.xilinx.com/support/answers/57550.html"
}
\end{filecontents*}

\documentclass{article}
\usepackage{natbib}
\bibliographystyle{plainnat}

\begin{document}

\cite{DMA}

\bibliography{\jobname}

\end{document}

As usual in examples, I use the filecontents* environment; natbib is just for convenience.

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.