Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   Montezuma + LATEX (http://forum.bytesforall.com/showthread.php?t=18569)

thunderfoot Oct 4, 2012 09:37 PM

Montezuma + LATEX
I rely on Latex plugin to display symbols and equations. With Montezuma, the latex symbols always appear in a new line (inside a box). Like shown on this page: http://testlab.peguru.com/test-post-with-latex/
I want the symbols to be in-line with the text. How do I make this happen?

Appreciate any help,

lmilesw Oct 4, 2012 09:47 PM

Just use CSS to float them to the left of the text and position them as you want.

thunderfoot Oct 5, 2012 10:34 PM

Unfortunately, the production site has many posts that use latex. It is cumbersome to fix this issue using css - for old posts and new ones I create in future. Any other solution?

Thank you for the input.

juggledad Oct 6, 2012 04:21 AM

what happens if you are using twenty-eleven are the symbols inline then?
all the symbols are actually images and act accordingly.

lmilesw Oct 6, 2012 07:18 AM

You're right... float doesn't work but what is cumbersome about using CSS? Have you tried someting like the following?
HTML Code:

.ql-img-inline-formula {
    display: inline;

thunderfoot Oct 7, 2012 08:45 AM

@lmilesw: Thank you for the code. Where should I cut-paste this code i.e. which style sheet? Does it need to be applied every time create a post latex in it or just ones and it fixes all?

@Juggledad: I use twenty ten and this is how latex symbols showup without any modification to CSS: http://peguru.com/2011/06/per-unit-s...understanding/ Notice the ones shown in-line.

Thank you

lmilesw Oct 7, 2012 11:44 AM

You could put that in any of the css sections but I would probably put it in the posts.css or the various.css to make it easier to remember where you put it.

juggledad Oct 7, 2012 12:03 PM

add the following to the class 'ql-img-inline-formula'
HTML Code:

display: inline;
vertical-align: middle;

All times are GMT -6. The time now is 11:55 AM.

Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.