LaTeX.css — Make your website look like a LaTeX document

submited by
Style Pass
2024-11-26 12:00:05

Theorems, definitions, lemmas and proofs are supported. Just wrap your content in a div and add the corresponding class to the element like in the following example.

In order to get automatic first line indentation of paragraphs, like in default La Te X articles, the class indent-pars can be used with article tag.

The CSS style provided follows babel specific language rules: by default, the first paragraph after a section title is not indented in English, unlike Spanish and French languages.

To add custom borders to the table, you should use the class borders-custom with <table> tag, to begin with a table without any border. The classes border-<position>-thin and border-<position>-thick, are available, where <position> can take one of the values: top, right, bottom, left.

For each column of the table, there is one class for left, center or right alignment, up to 12 columns: col-<n>-l, col-<n>-c, col-<n>-r, n=1, ...,12. For example, a table with 3 columns using the following classes

Leave a Comment