Go to the repository here.
For the demos, see README.html, README.pdf, index.html, index.pdf. These demonstrates using the provided CSS and JS setup to mimics the LaTeX output in HTML.
Physics: \[\begin{equation} \ket{\psi} \end{equation}\]
SIunitx: \[\begin{equation} c = \SI{299792458}{\m\per\s} \end{equation}\]
Cancel: \[\begin{equation} \cancel{p} \end{equation}\]
Also see the equation numbering above.
#!/bin/bash
while IFS='' read -r line || [[ -n "$line" ]]; do
iconv -f big5-2003 -t utf-8 "$line" > temp
sed -i '' s/big5/utf-8/ temp
mv -f temp "$line"
done < "$1"
1+1=2
See the heading numbering above
This one uses Latin Modern Roman and Mono (see the texts and codes), matching the PDF generated by LaTeX.
test | -ing |
---|---|
1 | 2 |
3 | 4 |