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

  • 1
    $\begingroup$ How do you make those figures? If it's an external image file, just add the caption there. $\endgroup$ – Asaf Karagila Apr 21 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$ – Liviu Nicolaescu Apr 21 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 Apr 21 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$ – Martin Sleziak Apr 21 at 17:52
  • 1
    $\begingroup$ What do you mean by "tags" exactly? $\endgroup$ – Federico Poloni Apr 22 at 19:01

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

<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 
Figure caption here.
<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.


You must log in to answer this question.

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