I’ve updated my LaTeX hack to so that inline equations are properly aligned with the text. The plugin now uses a “\cdot” to mark the midline in the rendered LaTeX equation. It then examines the rendered output to find the dot and then adds space to either the top or the bottom of the png so that the dot is in the middle of the picture. The width of the picture is then reduced so that the dot disappears. When vertically aligned with the setting “middle,” browsers now perfectly align inline equations with the associated text. This process currently leaves a little bit of space on the left of the png, but that can be compensated for in the webpage.
« Previous | Main | Next »
TrackBack URL for this entry: http://scit.us/cgi-bin/mt/mt-tb.fcgi/113.