--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Untitled.png>
You do not give the TeX or MathML code that you are using to produce the result, so it is not easy to tell you what to do to obtain the desired result, but if you are using \\ as a line break, you can use \\[5px] to add 5px of additional space between the lines. Of course, you can us any distance you want. That might do what you need.Davide
On Apr 16, 2017, at 1:45 AM, Ramakrishna Salagrama <ramakrishn...@gmail.com> wrote:
Hi,Is there anyway that we can created some padding above for equations. If two lines have fractions then they appear to be overlapping. How can I create some automatic padding?Thanks and Regards,Ramakrishna--
You received this message because you are subscribed to the Google Groups "MathJax Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.
\displaystyle\frac{{SP - CP}}{{CP\strut}} \times 100 = \frac{{Profit}}{{CP\strut}} \times 100 |
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/298f03f4-1aaa-47db-a14f-2f3b1c69cd93%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mathja...@googlegroups.com.
MathJax.Hub.Config({CommonHTML: {styles: {'.mjx-chtml': {padding: '3px 0'}},scale: 90
},tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},messageStyle: "none",
showMathMenu: false,});
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/c407c9b8-7d8f-4655-bdbc-b0845b267e64%40googlegroups.com.
Davide
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/69bd65db-864a-4a53-8412-0c92c8f6946c%40googlegroups.com.
If your equations use an ordinary sort of font, it might be better
to size your padding in 'ex' units. Then there should always be an
appropriate amount of padding, even if the page is displayed as
a few lines on a screen such as 16384 x 11600 and also if the font
is increased to 48pt on a normal-sized screen.
Spacing related to characters should be in ex or em or similar;
spacing related to images should be in px or similar, except
when the images have been scaled in ex or em or similar;
except sometimes.
Remember that in at least one browser (Firefox) one can set
Zoom Text Only, which generally zooms writing but not pictures.
I like it.
Euler wrote a paper, "De motu rectilineo trium corporum se mutuo
attrahentium", in which he used not only (IIRC) the ordinary Greek
beta character but also an ancient form of beta, both mathematically
equivalent. Evidently the printer had the ordinary beta in
sufficient abundance, but no ancient ones. So he printed spaces
instead, in each of which was hand-written an ancient beta. One
could see that each ordinary character, including Greeks, was the
same (near enough) throughout, as expected for the printing of
those days - but the ancient betas were all a bit different, as
one would expect for the handwriting of a non-calligraphist printer.
So, when I had translated the paper (with the aid of
news:alt.language.latin), I screen-captured a good ancient
beta into a .PNG file, sized it with 'style="width:0.57em;"' and
put it in plain text for information. It maintains the proper
size of the adjacent text, for all amounts and types of Zoom.
Copy attached, maybe.
-- (c) John Stockton, near London, UK. Using Google Groups. | Mail: J.R.""""""""@physics.org - or as Reply-To, if any. |
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/2132b40d-fb31-4e5d-b4df-ff3a6edbe714%40googlegroups.com.
Thank you for your patience reply. As I am not a programmer, your suggestions are difficult to implement by myself. Is there anyway that I can create padding with html-css?
Thanks and regards,
Ramakrishna
MathJax.Hub.Config({CommonHTML: {styles: {'.mjx-chtml': {padding: '6px 0'}},matchFontHeight: false,scale: 115
},tex2jax: {inlineMath: [["$","$"],["\\(","\\)"]]},messageStyle: "none",showMathMenu: false,});
To unsubscribe from this group and stop receiving emails from it, send an email to mathjax-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mathjax-users/2132b40d-fb31-4e5d-b4df-ff3a6edbe714%40googlegroups.com.