m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-09 23:19:04 +0100
committerMarcin Chrzanowski <m@m-chrzan.xyz>2021-12-09 23:19:04 +0100
commit078c3ba9130b1dc123b2363c6795a6355eca97d0 (patch)
treebad63f903328f3767397038d88e9b21d7c26e63d
parent6428f8e3bf2bfec69a3bdf86ddae0b115b306850 (diff)
Add latex figures
-rw-r--r--latex.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/latex.md b/latex.md
index 48b921f..fea77a5 100644
--- a/latex.md
+++ b/latex.md
@@ -29,3 +29,20 @@ Forward implication:
Backwards implication:
\impliedby
+
+## Figures
+
+ \begin{figure}
+ \centering
+ \def\svgwidth{\columnwidth}
+ \input{input.pdf_tex}
+ \caption{
+ Description
+ }\label{ref-label}
+ \end{figure}
+
+Note, `\label` comes after `\caption`.
+
+To embed an svg:
+
+ inkscape -D word.svg -o word.pdf --export-latex