From 078c3ba9130b1dc123b2363c6795a6355eca97d0 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Thu, 9 Dec 2021 23:19:04 +0100 Subject: Add latex figures --- latex.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- cgit v1.2.3