I have the following lines to annotate TeX on my matplotlib
plot:
import matplotlib.pyplot as plt
from matplotlib import rc
rc('text', usetex=True)
rc('font', family='serif')
r = 1
v = 2
i = 3
notes = r"\noindent$R_L = {0}\\ V_2 = {1}\\ I_2 = {2}$".format(r, v, i)
plt.annotate(notes, xy=(5,5), xytext=(7,7))
plt.show()
How do I make the equals signs align to each other? I experimented with several methods like \begin{align}
, &
-placement, but I don't quite get it right.