0

I want to do something like this:

1. blah blah blah

2. blah blah blah

3. blah blah blah

How do I do this?

6
  • 3
    We don't typically refer to that as a set of equations, but instead, a list. See what \begin{enumerate} \item blah blah blah \item blah blah blah \item blah blah blah \end{enumerate} gives you...
    – Werner
    Nov 30, 2016 at 17:12
  • @Werner I tested this with \begin{enumerate} \item \square P \item P \rightarrow Q \item P \leftarrow Q \end{enumerate}, but I got this result. Nov 30, 2016 at 17:30
  • 1
    You need to place math-related content in math mode (between $...$). With \begin{enumerate} \item $\square P$ \item $P \rightarrow Q$ \item $P \leftarrow Q$ \end{enumerate} I get this result. If you don't please provide a minimal example as part of your question so we can attempt to replicate your current issue.
    – Werner
    Nov 30, 2016 at 17:45
  • 1
    Frankly this is covered on the very first pages of every introduction to LaTeX. I strongly recommend that you read one of the resources here: tex.stackexchange.com/questions/11/… . If you have problems then please also consider meta.tex.stackexchange.com/questions/228/… .
    – Florian
    Nov 30, 2016 at 18:03
  • 1
    Downvoters, please let the comments suffice to help a new user. Nov 30, 2016 at 18:43

2 Answers 2

5

It's important to keep issues related to the specifics of mathematical formulas separate from other aspects of the document, such as the use of an enumerated list of items to provide a visual (as well as numerical) sequence for the way some argument is being laid out to the readers.

I think the following may be what you want:

enter image description here

\documentclass{article}
\usepackage{amssymb} % for "\square" macro
\begin{document}
\begin{enumerate} % start an enumerated list
\item $\square P$
\item $P\to Q$
\item $P\gets Q$
\end{enumerate}
\end{document}

Observe that the body of each enumerated item is a math formula.

0
\documentclass{article}
\usepackage{amssymb}

\newcounter{eq}
\setcounter{eq}{1}
\newcommand{\eq}{{\noindent {\arabic{eq}}} \addtocounter{eq}{1}{\hspace{-0.1cm{{.}}}} }
\newcommand{\eqz}{{\setcounter{eq}{1}} {{\arabic{eq}}} \addtocounter{eq}{1}\hspace{-0.1cm{{.}}}}

\begin{document}
\eq Bla
\eq bla bla
\eq bla bla bla
\end{document}
1
  • I assume you want a \par before the \noindent instruction? By the way, what is the \eqz macro supposed to accomplish? The reason I ask is that it doesn't appear to be used in your MWE. Finally, if one ever needs to cross-reference one of these items, one should use \refstepcounter{eq} instead of \addtocounter{eq}{1}.
    – Mico
    Nov 30, 2016 at 20:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .