Align LaTeX math text in matplotlib text box
问题 I'm trying to generate a text box with lines of LaTeX code correctly aligned in a matplotlib frame. I tried using the format alignment method (ie: {:<11} ) but it does not seem to work on math mode. Here's the output I get: where the = symbols should all be aligned to the right (see MWE below). How can I produce such a text box with the = signs correctly aligned? MWE : (Never mind the weird figure proportions and text box placing, this is part of a much larger code which I cropped to generate