This project was generated with Angular CLI version 16.2.10.
-
Documentation: https://latex.js.org/usage.html#webcomponent
-
Step 1. Get the library. There are two ways to get the library:
-
a. Download the latest release here → Extract → Using Node >=v18 →
npm i→npm run build→ Get the code indistfolder -
b. Download directly from NPM:
npm pack latex.js→ Extract → Get the code indistfolder -
Step 2. Rename
disttolatex, place it inassets/libsfolder -
Step 3. See sample code in
src/app/latex-viewerand sample using insrc/app/app.component.ts/html