In this post here, the figure appears on the left side. I tried to center the figure but I could not do so. Is there a way to center figures/text in a post?
There's a meta.SO thread on this issue, though perhaps it's out of date. The advice there is essentially the same, though they suggest using repeated
's or spaces inside a code block to achieve the same effect. So I suppose that's better than my suggestion below in the sense that it doesn't depend on MathJax, but it still isn't automatic and nice.
Here's an image centered via
![enter image description here] : http://i.stack.imgur.com/FMddM.jpg
and here is an image centered in a code block:
<pre> <img src="http://i.stack.imgur.com/wllNN.jpg"> </pre>
My ad-hoc approach in the comments here is one way of centering images.
Reproduced here for convenience:
$\hskip x in$(adjusting the measurement $x$ as needed) before the
![enter image description here][n]bit, on the same line.
$\hskip2in$ ![enter image description here] : http://i.stack.imgur.com/YIFq0.jpg