diff --git a/doc/source/images/tutorial3a.py b/doc/source/images/tutorial3a.py index 843886e405319659e6b25f0a1fdb03f1f9376a11..a4068960e397e945db8e4a56e026330426cf92e2 100644 --- a/doc/source/images/tutorial3a.py +++ b/doc/source/images/tutorial3a.py @@ -45,7 +45,7 @@ def plot_bandstructure(flead, momenta): energy_list = [flead.energies(k) for k in momenta] pylab.plot(momenta, energy_list) - pylab.xlabel("momentum [in untis of (lattice constant)^-1]", + pylab.xlabel("momentum [in units of (lattice constant)^-1]", fontsize=latex.mpl_label_size) pylab.ylabel("energy [in units of t]", fontsize=latex.mpl_label_size) diff --git a/doc/source/tutorial/tutorial1.rst b/doc/source/tutorial/tutorial1.rst index 59ff4096511d4b96af717b109db0070a0dbdeb40..697b58780bc96517fee6f4ad3ba9e3382c1bc7bf 100644 --- a/doc/source/tutorial/tutorial1.rst +++ b/doc/source/tutorial/tutorial1.rst @@ -165,7 +165,8 @@ subbands that increases with energy. `~kwant.builder.Builder` automatically adds the other direction of the hopping such that the resulting system is Hermitian. - It however does not hurt the other direction of the hopping, too:: + However, it does not hurt to define the opposite direction of hopping as + well. sys[(1, 0), (0, 0)] = - t sys[(0, 0), (1, 0)] = - t.conj() diff --git a/doc/source/tutorial/tutorial2.rst b/doc/source/tutorial/tutorial2.rst index 74fdbfebfe59a9a4f639f95724a9c8433e7437c3..236e980ad0c36b4f415b0c9d7758b7f4056c8ca4 100644 --- a/doc/source/tutorial/tutorial2.rst +++ b/doc/source/tutorial/tutorial2.rst @@ -398,7 +398,7 @@ period of one flux quantum. by providing an alternative starting point from where the lead is traced back:: - sys.attach_lead(lead1, (0, 0)) + sys.attach_lead(lead1, lat(0, 0)) starts the trace-back in the middle of the ring, resulting in the lead being attached to the inner circle: diff --git a/examples/tutorial3a.py b/examples/tutorial3a.py index 058b4e20369710009f3a746e7c29f3a3610684a3..3b9e4dcb31b572ebc2a42823cc095c6dc1152456 100644 --- a/examples/tutorial3a.py +++ b/examples/tutorial3a.py @@ -42,7 +42,7 @@ def plot_bandstructure(flead, momenta): energy_list = [flead.energies(k) for k in momenta] pylab.plot(momenta, energy_list) - pylab.xlabel("momentum [in untis of (lattice constant)^-1]") + pylab.xlabel("momentum [in units of (lattice constant)^-1]") pylab.ylabel("energy [in units of t]") pylab.show()