Hi,
So I've looked around online and in various help manuals but this is a really basic stupid thing that I can't find anything on!
I'm currently writing a paper and Latex won't display "00". It will only have one "0" there in the PDF when I've put two in the tex file...
What am I doing wrong? I've tried surrounding them with $'s since that usually solves it but that just causes the whole sequence to go wrong (i.e. go italic and miss other symbols in that line).
Please help?
Text Formatting ⇒ displaying numbers
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
displaying numbers
Hi,
that's not the standard behavior. Try:
Post compilable example code that shows your problem. Or try a workaround like 0{}0 or {0}{0}.
Stefan
that's not the standard behavior. Try:
Code: Select all
\documentclass[a4paper,10pt]{article}
\begin{document}
00
\end{document}
Stefan
LaTeX.org admin
displaying numbers
ok so I've tried that code you wrote there and that worked. I also tried those work arounds you suggested and they didn't work.
Heres the bit:
So there's quite a lot that can go wrong there.
Heres the bit:
Code: Select all
(LH: $10^\textit{h} 50 +57^\degree 00$ see \cite{lonsdale03})
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Re: displaying numbers
Perhaps the \degree macro takes the 0 - how is it defined in your code?
Stefan
Stefan
LaTeX.org admin
Re: displaying numbers
That seems to have been the problem! I couldn't find how \degree is defined (I didn't write the whole code...just the contents) but I put a third "0" in and now it displays "00" like I wanted it to.
Thanks for your help!
Thanks for your help!