I have been using Mathematica for many years, mostly for plotting, derivations and numerical computations. Many times I tried to incorporate some text and formulas in my worksheets. Text is Ok, but when it comes to the formulas it becomes a disaster. This is despite that MA targets exactly this niche. Therefore, after wasting a day in searching for a solution I fall back to my usual routine, namely, typing in parallel a document in xelatex
. It is not ideal, as I have to always maintain two documents, often with additional figures, inconsistent notations. The worst is that my MA worksheets cannot be self-explanatory.
Today I attempted again to figure out how to incorporate mathematical equations in the MA worksheet. I am using DisplayFormulaNumbered
cells. I notice
- Summation indices are not in the displayed form,
- Some variables are in upright form, some---in italic form,
- Font is too small.
Already in this two examples I count many inconsistencies. $U$ is slanted in the first equation and upright in the second one. $j$ subscript is upright, however, it becomes slanted as the sub-subscript. $v$ is slanted and $U$ is upright in the same equation. This looks completely random to me. I prefer they look as
$$\large H=h \sum_\sigma\sum_{<i,j>} d_{i\sigma}^\dagger d_{j\sigma}+U\sum_{i}n_{i\uparrow} n_{i\downarrow},\\ \large v_{i\sigma_i j\sigma_j k\sigma_k l\sigma_l}=U\delta_{ij}\delta_{kl}\delta_{jk} \delta_{\sigma_{i}\sigma_{l}}\delta_{\sigma_{j}\sigma_{k}}. $$
Therefore my question:
How do you deal with such issues?
I am aware of this post. It has been closed as a duplicate of an earlier post. To my opinion, they address completely different issues: format of the equation vs. format of the equation number and do not resolve them in a satisfactory way. I have read the answer of kglr maybe ten times and still cannot figure out how to, e.g., set italic font for variables and subscripts or get rid of all inline expressions in favor of displayed ones or increase the font size.
In answering this question, please, try to provide a pedagogical answer. Go slowly, step-by-step. I do not need complicated solutions, it is not for writing a book or an article. I just need to write a short and readable technical note. I am planing to open a bonus for this question and assign a generous award for a simple and easy to use solution.
This post seems to be relevant too, but I cannot figure out which combination of options gives good looking.