mastodon warning! may contain trace amounts of Lisp

LaTeX

Table of Contents

1. unicode characters

\documentclass{article}
\usepackage{fontspec}
\setmainfont{TeX Gyre Termes}

\begin{document}

\symbol{"0393} % hex
\symbol{915}   % dec
\symbol{'1623} % oct

\end{document}

2. including svg

\documentclass{article}
\usepackage{svg}
\begin{document}
\includesvg{image} % without the extension!
\end{figure}

\end{document}

For parsing the .tex file, add --shell-escape, since the svg file must be converted to .pdf first, calling inkscape for that:

lualatex --shell-escape file.tex

· © Edgard Bikelis (eſb) created using Emacs 31.0.50 (Org mode 9.7.11) ·
· created: 2023-01-19 last (re)generated: 2025-03-12 ·