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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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