File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -8,3 +8,27 @@ org-mode
8
8
(height "#+attr_latex: :height " (p "0.1\textheight") n)
9
9
(dot "#+begin_src dot :file " (p "graph") "." (p "svg") " :results file graphics" n> r> n "#+end_src" :post (org-edit-src-code))
10
10
(jupyter "#+begin_src jupyter-" (p "python") " :session " r " :async yes" n> r> n "#+end_src" :post (org-edit-src-code))
11
+ (figure "#+caption: " (p "Figure caption") n>
12
+ "#+name: " (p "fig:figure-label") n>
13
+ "#+attr_latex: :width .6\\textwidth :placement [H]" n>
14
+ "[[file:" (p "path/to/figure.png") "]]" n>)
15
+ (subfigs "#+caption: " (p "Figure caption") n>
16
+ "#+name: " (p "fig:figure-label") n>
17
+ "#+begin_figure:" n> "[H]" n>
18
+ "#+latex: \\centering" n>
19
+ "#+name: " (p "fig:subfig1-label") n>
20
+ "#+caption: " (p "Subfigure 1 caption")
21
+ "#+attr_latex: :width .3\\textwidth :center nil :options [b]{.28\\textwidth}" n>
22
+ "#+begin_subfigure" n>
23
+ "#+attr_latex: :width \textwidth" n>
24
+ "[[file:" (p "path/to/file1.png") "]]" n>
25
+ "#+end_subfigure" n>
26
+ "#+latex: \\quad" n>
27
+ "#+name: " (p "fig:subfig2-label") n>
28
+ "#+caption: " (p "Subfigure 2 caption")
29
+ "#+attr_latex: :width .3\\textwidth :center nil :options [b]{.28\\textwidth}" n>
30
+ "#+begin_subfigure" n>
31
+ "#+attr_latex: :width \\textwidth" n>
32
+ "[[file:" (p "path/to/file2.png") "]]" n>
33
+ "#+end_subfigure" n>
34
+ "#+end_figure")
You can’t perform that action at this time.
0 commit comments