Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inline Equation Appears at Top Of Paragraph #175

Closed
drfred opened this issue Sep 25, 2011 · 2 comments
Closed

Inline Equation Appears at Top Of Paragraph #175

drfred opened this issue Sep 25, 2011 · 2 comments

Comments

@drfred
Copy link

drfred commented Sep 25, 2011

In the following file:

<!DOCTYPE html>
<html>
  <head>
    <script type="text/x-mathjax-config">
      MathJax.Hub.Config({tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']]}});
    </script>
    <script type="text/javascript"
        src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
    </script>
    <style type="text/css">
      body {
        width: 8.5in;
        padding: 1in;
      }
    </style>
  </head>
  <body>
    <p>
      Because the system is autonomous, we can "slide" any solution forward or backward in time. This is the essence of the
      following two theorems. Although solutions may not be defined for all values of $t$, we make the blanket assumption that
      $t$ is close enough to $t_0$ that the solution is defined.
    </p>
  </body>
</html>

the inline equation $t_0$ appears at the top of the paragraph, rather than where it's supposed to be. I'm using Chrome 14.0.835.186 on a Mac (Snow Leopard). This appears to be very sensitive to the page width. In fact, if it's not 8.5in, it doesn't seem to be a problem. Various things make the problem go away (removing the config for inline equations using $, for example).

@dpvc
Copy link
Member

dpvc commented Sep 26, 2011

This sounds like the same problem as issue #24, so I'm marking this as a duplicate. It that is not what you are describing, let us know. This appears to be a WebKit bug, and we don't currently have a work-around for it. It affects math that is at the very end of a line that should be wrapped to the next line, but isn't (instead, it is placed above the paragraph at the left).

Davide

@dpvc dpvc closed this as completed Sep 26, 2011
@drfred
Copy link
Author

drfred commented Sep 26, 2011

That looks right. Sorry. I looked, but missed that one.

Fred Sullivan
Associate Professor of Mathematics and Computer Science
Wilkes University sullivan@mathcs.wilkes.edu
Wilkes-Barre, PA 18766 (570) 408-4727

First you make a roux!

On 9/26/11 7:19 AM, dpvc wrote:

This sounds like the same problem as issue #24, so I'm marking this as a duplicate. It that is not what you are describing, let us know. This appears to be a WebKit bug, and we don't currently have a work-around for it. It affects math that is at the very end of a line that should be wrapped to the next line, but isn't (instead, it is placed above the paragraph at the left).

Davide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants