[Tex/LaTex] \dot Notation not working Latex (overleaf)

overleaf

I am writing my thesis and anytime I use \dot{\alpha} or \dot{a} or any variation of \dot or \. it puts a dot next to (on left side) of the variable

•a 

I have a large file with multiple chapters (I am writing my thesis).

\documentclass[a4paper, 12pt, oneside]{Thesis}

this is the main document class in the tex file and then chapters are subsequently added.

Each chapter just has

\chapter{Introduction}
\label{ch:introduction}

I am using \dot like this

\begin{equation} \label{eq:5.1}
\begin{bmatrix} 
    \ddot\alpha \\
    \.q \\
    \ddot \theta 
\end{bmatrix}
\eng{equation}\

\. is working with q but \dot is not working with \alpha and \theta.

Best Answer

  • you have typo in code (\eng{equation} instead correctly \end{equation})
  • correct syntax for putting dots above variable is \dot{q} or \ddot{\alpha} or as note @egreg in his comment below \dot q \dot\apha. Still \. q is wrong syntax
  • so if I correctly understood what is your problem, than your equation's code should be:
\documentclass[a4paper, 12pt, oneside]{book}
\usepackage{mathtools} % or amsmath

\begin{document}
\chapter{Introduction}
\label{ch:introduction}

    \begin{equation}\label{eq:5.1}
\begin{bmatrix}
    \ddot{\alpha}   \\
    \dot{q}         \\
    \ddot{\theta}
\end{bmatrix}
    \end{equation}
    \begin{equation}\label{eq:5.2}
\begin{bmatrix}
    \ddot \alpha    \\
    \dot q          \\
    \ddot \theta 
\end{bmatrix}
    \end{equation}
\end{document}

enter image description here

For document class i Use book since I don't know which Thesis you use. However, used document class should not influence on appearing of dots (for time derivatives) above variables.