Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

Montezuma + LATEX


  #1  
Old Oct 4, 2012, 10:37 PM
thunderfoot
 
3 posts · Oct 2012
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
  #2  
Old Oct 4, 2012, 10:47 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
Just use CSS to float them to the left of the text and position them as you want.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Oct 5, 2012, 11:34 PM
thunderfoot
 
3 posts · Oct 2012
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.
  #4  
Old Oct 6, 2012, 05:21 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
what happens if you are using twenty-eleven are the symbols inline then?
all the symbols are actually images and act accordingly.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #5  
Old Oct 6, 2012, 08:18 AM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #6  
Old Oct 7, 2012, 09:45 AM
thunderfoot
 
3 posts · Oct 2012
@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
  #7  
Old Oct 7, 2012, 12:44 PM
lmilesw's Avatar
lmilesw
 
10,176 posts · Jul 2009
Central New York State USA
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.
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #8  
Old Oct 7, 2012, 01:03 PM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
add the following to the class 'ql-img-inline-formula'
HTML Code:
display: inline;
vertical-align: middle;
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Tags
latex



Similar Threads
Thread Thread Starter Forum Replies Last Post
Welcome Montezuma Users Flynn Montezuma Theme 8 Nov 18, 2012 09:33 PM
[SOLVED] How not to use any menu icon in Montezuma? gnosis Montezuma Theme 4 Oct 5, 2012 08:06 AM
[SOLVED] Montezuma 2.0 for WP 3.x delware99 Other BFA WordPress Themes 2 Jan 20, 2011 03:33 PM
Differences between Montezuma & Atahualpa sparksmex New Versions, & Updating 4 Sep 25, 2009 06:37 PM
New to WP...Got Ata 3.3..?'s on Ata vs Montezuma and TOP THINGS TO CUSTOMIZE - FIX? Brasshatgroup New Versions, & Updating 5 Jun 1, 2009 07:22 AM


All times are GMT -6. The time now is 11:19 PM.


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