222 reputation
19
bio website plus.google.com/…
location Cambridge, United Kingdom
age 21
visits member for 2 years, 8 months
seen May 21 at 18:07

I'm a silly ass.


Aug
12
comment Strange dvi output from `latex`
Think I'll leave it in that case. Thanks for all your help.
Aug
12
comment Strange dvi output from `latex`
xdvi works fine....
Aug
12
comment Strange dvi output from `latex`
Yes it is a viewing problem. Do you think it could be caused by my not having the Times font on my computer?
Aug
12
comment Strange dvi output from `latex`
Yes. The pdf output is fine.
Aug
12
comment Strange dvi output from `latex`
I want to have separate .pdf, .ps and .dvi files in case people want to open the file in those formats.
Aug
12
comment Strange dvi output from `latex`
My distribution says to email bug reports to pdftex@tug.org, so I think it's TUG TL.
Aug
12
comment Strange dvi output from `latex`
I opened the dvi file for my second example in vim and it had the word 'hello' in it rather than any nonsense.
Aug
12
comment Strange dvi output from `latex`
I think the problem might be that I haven't got the Times font on my computer. Do all of you who are compiling the code with no problems have that font?
Aug
12
comment Strange dvi output from `latex`
Surprisingly, I haven't got dvitype. I would have thought it would be included with the TeX distribution.
Aug
12
comment Strange dvi output from `latex`
Thanks; changing to mathptmx doesn't solve the problem, though.
Aug
12
comment Strange dvi output from `latex`
I use Document Viewer 2.28.2 (gnome.org/projects/evince). I'm using pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
Aug
12
comment Strange dvi output from `latex`
@Kurt - do you want me to make a full reproducible test case? I was just including my prologue in case anyone could spot any problems in there, and I wasn't expecting anyone to want to compile it. I'll give you some more code, if you want. No need for the lecture!
Dec
8
comment Redefining the amsmath equation* environment
Thanks SO much: everything's running really well now. I had tried copying in the amsmath definition, but I missed out the \makeatletter and \makeatother so it didn't work.
Dec
8
comment How do I get different colors for math and for text?
Thanks - I've now done that (using \let\oldeq\equation \def\equation{\oldeq\color{black}} ) but for some reason I can't do the same for the equation* environment: I keep getting errors. What is the problem here?
Dec
7
comment How do I get different colors for math and for text?
Update: replacing the everydisplay with \let\originaldisplaystyle\displaystyle \renewcommand\displaystyle{\color{black}\originaldisplaystyle} stopped the errors, and everything inside align s or IEEEeqnarray s is beautiful and black (or red, if it's marked as being text); however, normal equation s now render in red rather than in black, since displaystyle is not part of the definition for equation. Is there some way of suppressing everydisplay so that it only affects the equation environment?
Dec
7
comment How do I get different colors for math and for text?
But you're right; this does produce an error when I combine it with the IEEEeqnarray from the IEEEtrantools package. I tried redefining equation s and the \[ ... \] so that they behaved as gather s and I could get away without the \everydisplay, but that didn't work very well. What sort of thing did you have in mind when you talked about redefining basic displayed math otherwise?
Dec
6
comment How do I get different colors for math and for text?
Thanks both of you: it looks beautiful now!
Dec
6
comment How do I get different colors for math and for text?
Thanks both of you: it looks beautiful now!
Dec
6
comment How do I get different colors for math and for text?
Thanks. It's nice to see that adding the backticks changes the background color of the code in question. I hope a similar sort of thing is possible in TeX.