4 ms·
Just read your rant/blogpost. You didn't give too many examples of what's wrong with LaTeX, but you did mention putting two images next to each other. Isn't t
by marvy 6y ago
Just read your rant/blogpost. You didn't give too many examples of what's wrong with LaTeX, but you did mention putting two images next to each other. Isn't this just:
\includegraphics{img1} \includegraphics{img2}
Or is that not what you meant?
- abdullahkhalids 6y agoSubcaption package https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Captions https://en.wikibooks.org/wiki/LaTeX/Floats,_Figures_and_Capt...
- marvy 6y agoOkay, nice, but maybe overkill, unless you want to refer to them separately within the main text?
- abdullahkhalids 6y agoIf the images are not related to each other, but you want to place them on top of the page together for stylistic reasons, you probably want a simple minipage environment with two figure environments inside.
- marvy 6y agoI meant they might be so closely related that you want them share the same caption and figure number and everything.
- abdullahkhalids 6y agoSubcaption works perfectly for that. You can skip the subfigure caption - "The gull" etc in this picture https://commons.wikimedia.org/wiki/File:Latex_example_subfig.png https://commons.wikimedia.org/wiki/File:Latex_example_subfig... You can reference either the whole figure by using the label inside the figure environment, or you can reference the subfigures using labels inside the subfigure environments.
- marvy 6y ago> Subcaption works perfectly for that I'm not saying it doesn't work. I'm saying that if your needs are simple enough, you can get away without it.