ece_657/readme.md

30 lines
585 B
Markdown
Raw Normal View History

2022-05-02 18:52:32 +02:00
## Installation:
tinytex:
```
wget -qO- "https://yihui.org/tinytex/install-bin-unix.sh" | sh
```
packages:
2022-05-02 19:10:12 +02:00
```
tlmgr install `cat requirements.txt`
```
2022-05-02 18:52:32 +02:00
2022-05-02 19:10:12 +02:00
## Usage:
Save `.svg` files from latex and convert them before compiling the document with
```
inkscape -D -z file=images/plop.svg export-pdf=images/image.pdf --export-latex
```
For converting all hte figures:
```
find images/. -name "*.svg" -exec inkscape -D -z file=images/{} --export-latex \;
```
Include the figure in hte document with
```
\begin{figure}
\centering
2022-05-02 21:04:36 +02:00
\import{images/}{test.pdf_tex}
2022-05-02 19:10:12 +02:00
\end{figure}
```