Register to reply 
Suggestion Why is the math output hard to read sometimes?by squidsoft
Tags: None 
Share this thread: 
#1
May1609, 06:55 PM

P: 54

May I suggest improving the format of the math output in the forum.
Consider the following code: [tex] \mathop\textnormal{Res}\limits_{z=n}\left\{\frac{\pi}{x^s\sin(\pi s)}\right\}=(x)^n,\quad n=0,1,2,\cdots [/tex] The equal sign is not well displayed under the Res symbol and the "s" in sine is broken up. I've noticed other problems like this in general. I think PF would look more polished if the math output was nicer looking. 


#2
May1709, 12:23 AM

P: 149

If I recall correctly, it used to be better. I'm not sure when or why the change occurred.



#3
Jun109, 02:46 PM

Sci Advisor
PF Gold
P: 1,848

I suspect the problem might be that the LaTeX renderer (which generates the equation images) may work on the assumption that the equations will be displayed on a white background. On a grey background, some of the pixels are too faint. Is it possible to tweak the LaTeX renderer to take account of the grey background?



#4
Jun209, 04:01 AM

Emeritus
Sci Advisor
PF Gold
P: 10,427

Why is the math output hard to read sometimes?
Hey all,
A year ago or so, something changed in the fonts included in the normal LaTeX distributions that come with most Linux distributions. Along with it were a number of other changes that broke PF's latex system. I rewrote some of it, but never really figured out the problem with the fonts. I will look into it more. I don't actually think it has anything to do with antialiasing. The images are currently antialiased to white, and then white is dropped out as transparent. If the strokes look correct when antialiased to white, it seems that changing the surrounding white pixels to transparent would not affect them. It's worth a shot, though.  Warren 


#5
Jun209, 09:29 PM

Sci Advisor
PF Gold
P: 1,848




#6
Jun409, 11:49 AM

Emeritus
Sci Advisor
PF Gold
P: 12,270

Can the font be made bold, either in a default setting or when typed by the user (I never use LaTex, so don't know the ins and outs of this)? It just looks like the font is a bit thin and loses something, so if there's a way to make it bold, that might be enough to improve readability.



#7
Jun409, 01:32 PM

Sci Advisor
PF Gold
P: 1,848

[tex]\mathbf{z} = a\mathbf{x} + b\mathbf{y}[/tex]although personally I prefer [tex]\textbf{z} = a\textbf{x} + b\textbf{y}[/tex]However, if you have a greater choice of font weights than just "plain" and "bold", then some slightly heavier fonts might help. 


#8
Jun409, 02:06 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

Okay, guys... I changed some of the antialiasing behavior in Ghostscript (I turned it down!), and I think the output looks a little better now. If you could, post some troublesome LaTeX here and see if it renders better now.
 Warren 


#9
Jun409, 02:08 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

[tex]
\mathop\textnormal{Res}\limits_{z=n}\left\{\frac{\pi}{x^s\sin(\pi s)}\right\}=(x)^n,\quad n=0,1,2,\cdots [/tex] 


#10
Jun409, 02:19 PM

Sci Advisor
HW Helper
P: 3,684

[tex]\sum_{n=a}^bf(n)[/tex] has a very strong summation symbol.



#11
Jun409, 02:22 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

This is how it looked with the old antialiasing options:
[tex] \sum_{n=a}^bf(n) [/tex]  Warren 


#12
Jun409, 02:22 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

And now the new:
[tex] \sum_{n=a}^bf(n) [/tex] It's really strange that antialiasing options could even cause this in the first place.....  Warren 


#13
Jun409, 02:23 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

And with no antialiasing at all:
[tex] \sum_{n=a}^bf(n) [/tex]  Warren 


#14
Jun409, 02:26 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

Fooling around some more:
[tex] \sum_{n=a}^bf(n) [/tex] 


#16
Jun409, 02:29 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

Try try again:
[tex] \sum_{n=a}^bf(n) [/tex] 


#17
Jun409, 02:30 PM

Emeritus
Sci Advisor
PF Gold
P: 10,427

[tex]
\mathop\textnormal{Res}\limits_{z=n}\left\{\frac{\pi}{x^s\sin(\pi s)}\right\}=(x)^n,\quad n=0,1,2,\cdots [/tex] 


Register to reply 
Related Discussions  
Math geniuses: Design a function that gives this output...  General Math  15  
[PLZ Read] Physics Realted Math Questions, Please some Advice  Introductory Physics Homework  8  
How to read/spell/pronounce/say math or physical calculus in English?  General Math  14  
Trying to read my way through math & physics  Academic Guidance  8  
Math Is Hard 2  General Discussion  17 