latex-simple-css
latex-simple-css copied to clipboard
Basic CSS Template for a latex article converted into HTML.
A simple latex document with a simple CSS stylesheet that looks good in both PDF and HTML form.
Demos
- HTML : http://huyng.github.io/latex-simple-css/
- PDF : http://huyng.github.io/latex-simple-css/example.pdf
Requirements
- pdflatex - for converting LaTex to PDF
- htlatex - for converting LaTex to HTML
You can get both programs on Mac OSX by installing the MacTex Distribution
Usage
# build html
make html
# build pdf
make pdf
# build both
make
# remove auxillary files
make rmaux
# remove all build output
make clean
CSS Styling
You can modify all custom styling for the HTML output of htlatex in custom.css . It is appended to the base CSS file generated by htlatex during the document build.