Skip to content

Commit

Permalink
setup super figure
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckeeDev committed Mar 9, 2024
1 parent 8932b98 commit fa3d3e1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tex/waves/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"pasteImage.basePath": "${projectRoot}/figures",
"pasteImage.path": "${projectRoot}/figures/screenshots"
"pasteImage.path": "${projectRoot}/figures/screenshots",
"super-figure.filesToWatch": []
}
Empty file added tex/waves/figures/svg/.gitkeep
Empty file.
6 changes: 6 additions & 0 deletions tex/waves/math.tex
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,10 @@
\newcommand{\incfig}[1]{%
\def\svgwidth{\columnwidth}
\import{./figures/}{#1.pdf_tex}
}

\newcommand{\incsvg}[2]{%
\def\svgwidth{\columnwidth}
\graphicspath{{#1}}
\input{#2.pdf_tex}
}

0 comments on commit fa3d3e1

Please sign in to comment.