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, Aleen |
Just use CSS to float them to the left of the text and position them as you want.
|
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. |
what happens if you are using twenty-eleven are the symbols inline then?
all the symbols are actually images and act accordingly. |
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 { |
@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 |
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.
|
add the following to the class 'ql-img-inline-formula'
HTML Code:
display: inline; |
All times are GMT -6. The time now is 09:31 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.