I want to label a piece of text as a mathematical equation to refer to below. Thanks for everyone's guidance. enter image description here

  • 1
    Simply use \begin{equation} 36 - 12 = 24 \label{somelabel} \end{equation}, and later use \ref{somelabel}.
    – Bernard
    Jun 20 '21 at 8:45

I take it that you want the entire paragraph below the first displayed equation to be treated as "equation (2)". If this assumption is correct, you may achieve your formatting objective by appending the instruction


to the paragraph in question. If you need to do this several times, it's probably a good idea to create a shortcut macro, say,


The first (and only) argument of \appendeqnum is the label you wish to assign to this "equation".

enter image description here

\usepackage{lipsum}  % for filler text

\begin{equation} \label{eq:first}


A cross-reference to equation (\ref{eq:second}).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.