5
$\begingroup$

Some of my MO answers have figures in them. How do I add captions and tags to them?

$\endgroup$
5
  • 1
    $\begingroup$ How do you make those figures? If it's an external image file, just add the caption there. $\endgroup$
    – Asaf Karagila Mod
    Apr 21, 2019 at 14:51
  • $\begingroup$ I wrote a caption but it did not come out right. See the 6th picture (from ttop to bottom) in this answer mathoverflow.net/questions/328497/… $\endgroup$ Apr 21, 2019 at 14:53
  • 3
    $\begingroup$ Those captions are not captions that appear below your figure. Those are meant as alternative text for screen readers or so. $\endgroup$
    – Asaf Karagila Mod
    Apr 21, 2019 at 15:03
  • 2
    $\begingroup$ This rather old feature request is a bit related: Add Image Captions. The answer posted there basically explains that MarkDown has no predefined way to do that. $\endgroup$ Apr 21, 2019 at 17:52
  • 1
    $\begingroup$ What do you mean by "tags" exactly? $\endgroup$ Apr 22, 2019 at 19:01

1 Answer 1

6
$\begingroup$

One way to approximate a figure caption is to add this immediately after your image:

<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
<sup>
Figure caption here.
</sup>
<br />

The br breaks to a new line. The &nbsp's tab in horizontally. The sup's make the tex smaller (superscript). For example:


          enter image description here
          Random vectors in a disk: MSE post.


$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .