v0.9.0
版本发布时间: 2018-02-05 05:54:48
michael-brade/LaTeX.js最新发布版本:v0.12.6(2023-04-24 01:57:24)
restructure:
- implemented
\documentclass
and parsing the preamble - use JS classes for documentclasses: extract
article.ls
,book.ls
,report.ls
- implemented environments like in LaTeX: any macro can be used in
\begin
/\end
, and therefore, environments can now mostly be implemented without touching the parser
boxes:
- implemented boxes:
\mbox
,\makebox
,\parbox
,\fbox
,\framebox
,\[rl]lap
,\smash
,\[vh]phantom
- implemented lengths (changing CSS variables still TODO)
picture environment:
- implemented
\line
,\Line
,\vector
,\Vector
,\circle
, and\put
titling:
-
\frontmatter
,\mainmatter
,\backmatter
,\appendix
-
\maketitle
,\title
,\author
,\date
- titlepage and abstract environments
new CLI features:
- switch output: full HTML5 or "barely" the
<body>
contents - change default documentclass
- add custom macros
- add custom styles
unit tests:
- support screenshot tests (useful for CSS unit testing)
fonts:
- set default font size to 10pt
-
\emph
and\em
are now context-aware - regenerated the CM fonts (fixes missing glyphs), fixed missing slanted typewriter
- more beautiful
\underline