🎓
😏 Writing neat $\LaTeX$ is fun and enjoyable.
🚀

# Useful Commands

Some commands that are not easy to search for.

## \phantom{}

Use \phantom{} (/'fæntəm/) to generate a empty space with desired horizontal length. Google results of “latex phantom”.

For example:

generates (Notice the alignment at the beginning of the second line)

\begin{aligned} A &= B + C + D\\ &\phantom{=} + E \end{aligned}

## \raisebox{}{}

The baseline of an image is at the bottom. You could use \raisebox to shift it up. Use half of \height, which stands for the height of the box to be raised.

# Workflows

When Then
Prepare a single equation. codecogs is best.
Write one paragraph including both inline and display equations. vscode + markdown plugin is better, then copy-paste to texstudio.
Revise context and equations. texsutio inline preview is more convenient.