This almost class-less CSS library turns your HTML document into a website that looks like a LATEX document. Write semantic HTML, and you are good to go. The source code can be found on GitHub. LaTeX.css is a minimal, almost class-less CSS library that makes any website look like a LaTeX document. Add any optional classes to elements with special styles (author subtitle, abstract, lemmas, theorems, etc.). The labels of theorems, definitions, lemmas and proofs can be changed to other supported languages by including the snippet provided in addition to the main CSS file. Sidenotes can be used as an alternative to footnotes, where the user does not have to jump to the bottom of the page to read it. On mobile, click the superscript to reveal the note. Add a class of left to the span with the sidenote class to make the note appear on the left side of the page on instead of right.

Features

  • It is based on @davidrzs' latexCSS
  • Use a CDN like Unpkg
  • Add any optional classnames to elements with special styles
  • Most of the CSS reset is based on Andy Bell's Modern CSS Reset
  • This project is open source and available under the MIT License
  • The labels of theorems, definitions, lemmas and proofs can be changed to other supported languages

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow LaTeX.CSS

LaTeX.CSS Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of LaTeX.CSS!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript HTML XHTML, JavaScript Software Development Software, JavaScript Libraries

Registered

2022-06-21