vincentdoerig/latex-css
소개
LaTeX.css는 웹사이트를 LaTeX 문서처럼 보이게 하는 CSS 라이브러리입니다.
웹 및 앱 개발측정된 스타 증가
- in 24h
- +1
- in 7 days
- +1
- in 15 days
- 0
- in 1 month
- -1
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalLaTeX.CSS
LaTeX.css is a minimal, almost class-less CSS library which makes any website look like a LaTeX document. It is based on @davidrzs' latexCSS.
Getting Started
Using the <link> tag
Add the following code in the head of your project.
<link rel="stylesheet" href="https://latex.vercel.app/style.min.css" />
or use a CDN like Unpkg:
<link rel="stylesheet" href="https://unpkg.com/latex.css/style.min.css" />
Using NPM/Yarn
NPM:
npm install latex.css
Yarn:
yarn add latex.css
Add any optional classnames to elements with special styles (author subtitle, abstract, lemmas, theorems, etc.). A list of supported class-based elements can be found here.
Languages
The labels of theorems, definitions, lemmas and proofs can be changed to other supported languages by including the following snippet in addition to the main CSS file.
<link rel="stylesheet" href="https://latex.vercel.app/lang/es.css" />
and changing the html lang attribute:
<html lang="es">
Have a look at the language support page for more info and a demo of the different languages.
Contributing
Contributions, feedback and issues are welcome. Feel free to fork, comment, critique, or submit a pull request.
Acknowledgements
This project is based on David Zollikofer's project latexCSS.
Most of the CSS reset is based on Andy Bell's Modern CSS Reset.
The sample HTML5 markup test page is based on html5-test-page by @cbracco.
The idea of sidenotes was taken and adpated from Tufte CSS.
License
This project is open source and available under the MIT License.
관련 프로젝트 살펴보기
불러오는 중…