2 * math2html: convert LaTeX equations to HTML output.
4 * Copyright (C) 2009,2010 Alex Fernández
6 * Released under the terms of the `2-Clause BSD license'_, in short:
7 * Copying and distribution of this file, with or without modification,
8 * are permitted in any medium without royalty provided the copyright
9 * notice and this notice are preserved.
10 * This file is offered as-is, without any warranty.
12 * .. _2-Clause BSD license: http://www.spdx.org/licenses/BSD-2-Clause
14 * Based on eLyXer: convert LyX source files to HTML output.
15 * http://elyxer.nongnu.org/
18 * CSS file for LaTeX formulas.
24 font-family: "Droid Serif", "DejaVu Serif", "STIX", serif
;
38 display: inline-block
;
46 span
.ignored
, span
.arraydef
{
50 letter-spacing: 0.1ex;
54 .align-left, .align-l {
57 .align-right, .align-r {
60 .align-center, .align-c {
65 span
.overline
, span
.bar
{
66 text-decoration: overline
;
68 .fraction, .fullfraction {
69 display: inline-block
;
70 vertical-align: middle
;
83 border-top: thin solid
;
85 sup
.numerator
, sup
.unit
{
89 sub
.denominator
, sub
.unit
{
94 display: inline-block
;
95 vertical-align: middle
;
104 display: inline-block
;
110 display: inline-block
;
111 border-top: thin solid
;
113 vertical-align: middle
;
130 display: inline-table
;
131 vertical-align: middle
;
139 display: inline-table
;
140 vertical-align: middle
;
146 sup
.limit
, sub
.limit
{
150 display: inline-block
;
159 display: inline-block
;
162 display: inline-block
;
172 span
.array
, span
.bracketcases
, span
.binomial
, span
.environment
{
173 display: inline-table
;
175 border-collapse: collapse
;
177 vertical-align: middle
;
179 span
.arrayrow
, span
.binomrow
{
184 span
.arraycell
, span
.bracket
, span
.case
, span
.binomcell
, span
.environmentcell
{
191 * CSS file for LaTeX formulas, extra stuff:
192 * binomials, vertical braces, stackrel, fonts and colors.
195 /* Inline binomials */
197 display: inline-block
;
198 vertical-align: middle
;
207 /* Over- and underbraces */
209 border-top: 2pt solid
;
212 border-bottom: 2pt solid
;
217 display: inline-block
;
231 vertical-align: bottom
;
236 span
.mathsf
, span
.textsf
{
238 font-family: sans-serif
;
240 span
.mathrm
, span
.textrm
{
244 span
.text
, span
.textnormal
{
251 font-family: "Lucida Blackletter", eufm10
, blackletter
;
254 font-family: Blackboard
, msbm10
, serif
;
257 font-family: "Monotype Corsiva", "Apple Chancery", "URW Chancery L", cursive
;
263 display: inline-block
;
267 display: inline-block
;
268 border: thin solid black
;
271 span
.boxed
, span
.framebox
{
272 display: inline-block
;
273 border: thin solid black
;