diff --git a/doc/source/conf.py b/doc/source/conf.py index 1af1f28aaca57a063680a1330e21059a802d8f7b..d2688e8701a0dcc0c6e191fd1f1d08211be5b648 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -199,6 +199,8 @@ r"""\makeatletter \newcommand{\braket}[2]{\left\langle#1|#2\right\rangle} \newcommand{\ri}{\text{i}} \newcommand{\rd}{\text{d}} + +\usepackage{unicode-math} """} # Grouping the document tree into LaTeX files. List of tuples @@ -210,6 +212,8 @@ latex_documents = [ 'manual'), ] +latex_engine = 'xelatex' + # The name of an image file (relative to this directory) to place at the top of # the title page. #latex_logo = None diff --git a/doc/source/tutorial/discretize.rst b/doc/source/tutorial/discretize.rst index c4a5b6a864db1843470365510ee8c73d44fe5d78..dd8f65386b2477a837dd7663a6b9c23bd31160d1 100644 --- a/doc/source/tutorial/discretize.rst +++ b/doc/source/tutorial/discretize.rst @@ -219,7 +219,7 @@ and its discretized approximation where :math:`t=\frac{\hbar^2}{2ma^2}`, are only valid in the limit -:math:`E \lt t`. The grid spacing :math:`a` must be chosen according +:math:`E < t`. The grid spacing :math:`a` must be chosen according to how high in energy you need your tight-binding model to be valid. It is possible to set :math:`a` through the ``grid_spacing`` parameter diff --git a/doc/source/tutorial/operators.rst b/doc/source/tutorial/operators.rst index c4ae7545c20e4a396723a1613075a4ab72d7d61f..99fef17fe0deeda4d9fe7a5b71e17c4885e0dcc8 100644 --- a/doc/source/tutorial/operators.rst +++ b/doc/source/tutorial/operators.rst @@ -34,12 +34,12 @@ that, on site :math:`i`, points in the direction of the unit vector We shall take the following form for :math:`\mathbf{m}_i`: .. math:: - \mathbf{m}_i &=&\ \left( + \mathbf{m}_i &=\ \left( \frac{x_i}{x_i^2 + y_i^2} \sin θ_i,\ \frac{y_i}{x_i^2 + y_i^2} \sin θ_i,\ \cos θ_i \right)^T, \\ - θ_i &=&\ \frac{π}{2} (\tanh \frac{r_i - r_0}{δ} - 1), + θ_i &=\ \frac{π}{2} (\tanh \frac{r_i - r_0}{δ} - 1), where :math:`x_i` and :math:`y_i` are the :math:`x` and :math:`y` coordinates of site :math:`i`, and :math:`r_i = \sqrt{x_i^2 + y_i^2}`.