cleanthesis
cleanthesis copied to clipboard
Equation support
I added a couple of lines that make it easier to have equation support (nicely) with this great theme:
Add this to your thesis-example.tex file:
\usepackage{amsmath}
\newcommand{\mt}[1]{\mathbf{#1}}
\newcommand{\vc}[1]{\boldsymbol{#1}}
and use equations like this:
Equating Equations \eqref{Eq:MomentLHS} and \eqref{Eq:MomentRHS} gives
\begin{equation}
L\mt{q} \times \mt{F}_L - r_0 \mt{q} \times (\mt{F}_Q + \mt{F}_L) = \left( (m_Q + m_L)r_0^2 + m_L L^2 - 2m_LLr_0 \right) \dot{\vc{\omega}}_L
\end{equation}
and substituting Equations \eqref{Eq:EquilibriumSystem} and \eqref{Eq:CentreofMassPos} gives
\begin{equation*}
\begin{aligned}
&L\mt{q} \times \mt{F}_L - \frac{Lm_L}{m_Q+m_L}\mt{q} \times (\mt{F}_Q + \mt{F}_L) \\
&\qquad = \left( (m_Q+m_L) \frac{L^2m_L^2}{(m_Q+m_L)^2} + m_L L^2 - \frac{2L^2m_L^2}{m_Q+m_L} \right) \dot{\vc{\omega}}_L \\
\Rightarrow\quad& (m_Q + m_L) \mt{q} \times \mt{F}_L - m_L \mt{q} \times (\mt{F}_Q + \mt{F}_L) \\
&\qquad= \left( m_LL(m_Q+m_L) - L m_L^2 \right) \dot{\vc{\omega}}_L \\
\Rightarrow\quad& m_Q \mt{q} \times \left( m_Q \mt{F}_L - m_L \mt{F}_Q \right) = Lm_Qm_L \dot{\vc{\omega}}_L
\end{aligned}
\end{equation*}
The output would be:

I run into an issue, where my \left( or \right) brackets are not displayed. I used overleaf and sansserif=false. My solution was to enable the font fourier in the file cleanthesis.sty at line 230. Just leaving this here, if someone runs into a similar problem.