I'm trying to create inline numbered lists but I want the number of the labels to increse. The MWE below contains the current method I'm using.
Code: Select all
\documentclass[12pt]{article}
\usepackage{paralist}
\begin{document}
The beans used were \begin{inparaenum} \item \label{b1} haricot and \item \label{b2} runner!. \end{inparaenum}
If we use Bean \ref{b2} with a hybrid of bean \ref{b1} we can obtain mash!
However if we also have \begin{inparaenum} \item \label{b3} fava and \item \label{b4} broad beans, the use of the method is flawed. \end{inparaenum}
If we use \ref{b3} and \ref{b4} we can end up in trouble.
\end{document}
However, instead of the output reading (I'm using pdflatex here)
I would like it to read:The beans used were 1. haricot and 2. runner!.
If we use Bean 2 with a hybrid of bean 1 we can obtain mash!
However if we also have 1. fava and 2. broad beans, the use of the
method is flawed.
If we use 1 and 2 we can end up in trouble.
I do want to keep the 1. blah blah 2. blah blah format of both inline lists.The beans used were 1. haricot and 2. runner!.
If we use Bean 2 with a hybrid of bean 1 we can obtain mash!
However if we also have 1. fava and 2. broad beans, the use of the
method is flawed.
If we use Bean 3 and Bean 4 we can end up in trouble.
Any help most appreciated
