update title of revtex post and link to repo

This commit is contained in:
Valentin Boettcher 2025-02-22 15:03:41 -05:00
parent 565542b430
commit a248da2510
No known key found for this signature in database
GPG key ID: E034E12B7AF56ACE
2 changed files with 6 additions and 6 deletions

View file

@ -3134,7 +3134,7 @@ that is not strictly necessary anymore. You might want to setup a
separate email account for this purpose altogether if you're not separate email account for this purpose altogether if you're not
comfortable with having a (potentially buggy) python script mucking comfortable with having a (potentially buggy) python script mucking
around in your emails. around in your emails.
*** DONE Subfigures in RevTex :LaTeX: *** DONE Subfigures in REVTeX :LaTeX:
CLOSED: [2025-02-15 Sat 19:32] CLOSED: [2025-02-15 Sat 19:32]
:PROPERTIES: :PROPERTIES:
:EXPORT_FILE_NAME: subfigures-in-revtex :EXPORT_FILE_NAME: subfigures-in-revtex
@ -3153,7 +3153,7 @@ Having indeed read papers before, I must have neglected to pay proper
attention to sub-figure labels -- an inexcusable blunder -- so this attention to sub-figure labels -- an inexcusable blunder -- so this
was news to me. Unwilling to fix the issues by monkeying around in was news to me. Unwilling to fix the issues by monkeying around in
inkscape, I turned to stack overflow. We have the pleasure to be using inkscape, I turned to stack overflow. We have the pleasure to be using
the [[https://www.ctan.org/tex-archive/macros/latex/contrib/revtex][RevTeX]] document class and annoyingly this class happens to be the [[https://www.ctan.org/tex-archive/macros/latex/contrib/revtex][REVTeX]] document class and annoyingly this class happens to be
incompatible with both the [[https://ctan.org/pkg/subcaption?lang=en][subcaption]] package and the part of [[https://ctan.org/pkg/subfloat][subfloat]] incompatible with both the [[https://ctan.org/pkg/subcaption?lang=en][subcaption]] package and the part of [[https://ctan.org/pkg/subfloat][subfloat]]
that controls where the captions go. The aforementioned packages are that controls where the captions go. The aforementioned packages are
"the way" to do sub figures and most other solutions I found involved "the way" to do sub figures and most other solutions I found involved
@ -3162,7 +3162,7 @@ monkeying around with minipages.
So that's what I did; but I wanted to do properly so I'd be able to So that's what I did; but I wanted to do properly so I'd be able to
give the sub figures referenceable labels. I came up with a give the sub figures referenceable labels. I came up with a
surprisingly short piece of hacked-together LaTeX package which we surprisingly short piece of hacked-together LaTeX package which we
will now walk through. If you're impatient, you can just grab the [[/tex/poormanssubfig.sty][sty]] will now walk through. If you're impatient, you can just grab the [[https://git.protagon.space/hiro/poor-mans-subfigure][sty]]
file and jump ahead to the usage example. file and jump ahead to the usage example.
We begin by declaring the package. We begin by declaring the package.

View file

@ -1,5 +1,5 @@
+++ +++
title = "Subfigures in RevTex" title = "Subfigures in REVTeX"
author = ["Valentin Boettcher"] author = ["Valentin Boettcher"]
date = 2025-02-15T19:32:00-05:00 date = 2025-02-15T19:32:00-05:00
tags = ["LaTeX"] tags = ["LaTeX"]
@ -19,7 +19,7 @@ Having indeed read papers before, I must have neglected to pay proper
attention to sub-figure labels -- an inexcusable blunder -- so this attention to sub-figure labels -- an inexcusable blunder -- so this
was news to me. Unwilling to fix the issues by monkeying around in was news to me. Unwilling to fix the issues by monkeying around in
inkscape, I turned to stack overflow. We have the pleasure to be using inkscape, I turned to stack overflow. We have the pleasure to be using
the [RevTeX](https://www.ctan.org/tex-archive/macros/latex/contrib/revtex) document class and annoyingly this class happens to be the [REVTeX](https://www.ctan.org/tex-archive/macros/latex/contrib/revtex) document class and annoyingly this class happens to be
incompatible with both the [subcaption](https://ctan.org/pkg/subcaption?lang=en) package and the part of [subfloat](https://ctan.org/pkg/subfloat) incompatible with both the [subcaption](https://ctan.org/pkg/subcaption?lang=en) package and the part of [subfloat](https://ctan.org/pkg/subfloat)
that controls where the captions go. The aforementioned packages are that controls where the captions go. The aforementioned packages are
"the way" to do sub figures and most other solutions I found involved "the way" to do sub figures and most other solutions I found involved
@ -28,7 +28,7 @@ monkeying around with minipages.
So that's what I did; but I wanted to do properly so I'd be able to So that's what I did; but I wanted to do properly so I'd be able to
give the sub figures referenceable labels. I came up with a give the sub figures referenceable labels. I came up with a
surprisingly short piece of hacked-together LaTeX package which we surprisingly short piece of hacked-together LaTeX package which we
will now walk through. If you're impatient, you can just grab the [sty](/tex/poormanssubfig.sty) will now walk through. If you're impatient, you can just grab the [sty](https://git.protagon.space/hiro/poor-mans-subfigure)
file and jump ahead to the usage example. file and jump ahead to the usage example.
We begin by declaring the package. We begin by declaring the package.