Center equation vertically at "="
Center equation vertically at "="
The way we do this on CodeCogs is by making an adjustment to the vertical alignment of the image relative to the text line.
You can achieve this by adding a margin-bottom attribute to an image:
<img src="http://latex.codecogs.com/gif.latex?\frac{1}{2}" style="margin-bottom:-10px" />naturally the size of offset will vary according to the equation. We will be introducing this offset onto the Equation Editor shortly - our month of testing is nearly complete. If you're using a javascript method that translate LaTeX within a page into images, then you may have to wait longer. We're struggling to find an eliquent method of retrieving the image offset from CodeCogs servers. Despite having embedded this imformation into gif images you download from CodeCogs, we have no way to extract arbitrary imformation from an image header using JavaScript - which was the original plan. If anyone has ideas on how to this, then we'd greatly appreciate the input. We'll
Login