CHPQRSZW F Hammond: Rendering LaTeX Profiles with CSSCan LaTeXProfiles beRendered Adequatelywith StaticCSS?WilliamF.HammondSanDiegoTUG2014 PortlandOregon July2014Can LaTeXProfiles beRendered Adequatelywith StaticCSS?
p{1.0}
MathJax demonstrates that heavy customization of CSS with
JavaScript and webfonts provides good platform-dependent rendering
The issue with MathJax is speed, not qualityThere has been and continues to be intense development with CSS
One may speculate that, as CSS continues to evolve, static CSS
may entirely suffice not only for HTML documents but also
for the direct online rendering of profiled LaTeX documents
when presented using XML syntax
1Disclaimer2About These SlidesThese slides are an example of the subject of the talk.
Frivolity Empty colored flexible rows and columns
were drawn somewhat haphazardly Some boxes were given borders, but
many were not Finally little bits of mathematics were enteredCSS Flexible Box Scatter Painting(This poster was written in HTML rather than in profiled LaTeX, but
it relies only on static CSS.)
4A calculus handout
p{1.0}
Online notes on the Gamma function from an honors freshman
calculus class that I taught in 1995
CSS with Latin ModernCSS with Times-like XITSCSS with GNU Free FontThese three fonts are nearly consistent with respect to CSS
Aside from font invocation, the variations have to do with
margin settings for
sqrt (radical symbol and index)overset and undersetthe eight math accents in the profile
5Handling of Fractions
p{0.15}p{0.7}p{0.15}
Fractions are handled as CSS tables BUT
Must be treated as if fracab, so that the 2 x 1
table has both rows and cellsBar in middle is collapsed common horizontal border (the
row role)Content of numerator & denominator must be allowed to contain
fractions (the cell role)Wanted: a CSS model for columns
In the second instance the flexible rows have blue horizontal
borders, while the flexible columns have red vertical bordersA Few ExamplesAgain with markings
10Typesetting on paper
p{1.0}
Shouldnt LaTeX engines be taught to
typeset profiled LaTeX with CSS A good CSS
engine gives one fine control of margins, borders,
and padding
11The CSS Future
p{1.0}
Disclaimer: I know relatively little about CSSThere is a very large amount of CSS development under way
at W3C See http://www.w3.org/Style/CSS/I have a CSS Wish List