Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 641
  • Last Modified:

LaTeX help

I tried to have an alpha point along with an image:

so I want it to be something like this:


a.

       picture


b.

    picture



however why is it in the code below it shows:L

a.

    picture

b.
c.
d.
e.
   

   picture
   picture
  ........

    picture

can someone help me?
\begin{enumerate}[itemindent=1.8em,label=(\alph*)]
 
\item L = \{w $\mid$ each a in w is immediately preceded and immediately followed by a b\}
\begin{figure}[htp]
\centering
\includegraphics{2a}
\caption{L = \{w $\mid$ each a in w is immediately preceded and immediately followed by a b\}}\label{fig:erptsqfit}
\end{figure}
     
 
\item L = \{w $\mid$ w has ababa as a substring\}
\begin{figure}[htp]
\centering
\includegraphics{2b}
\caption{L = \{w $\mid$ w has ababa as a substring\}}\label{fig:erptsqfit}
\end{figure}
 
 
\item L = \{w $\mid$ w has neither aa nor bb as a substring\}
\begin{figure}[htp]
\centering
\includegraphics{2c}
\caption{L = \{w $\mid$ w has neither aa nor bb as a substring\}}\label{fig:erptsqfit}
\end{figure}
        
\item L = \{w $\mid$ w has an odd number of a's and an even number of b's\}
\begin{figure}[htp]
\centering
\includegraphics{2d}
\caption{L = \{w $\mid$ w has an odd number of a's and an even number of b's\}}\label{fig:erptsqfit}
\end{figure} 
 
\item L = \{w $\mid$ w has both ab and ba as substrings\}
\begin{figure}[htp]
\centering
\includegraphics{2e}
\caption{L = \{w $\mid$ w has both ab and ba as substrings\}}\label{fig:erptsqfit}
\end{figure} 
\end{enumerate}

Open in new window

0
kuntilanak
Asked:
kuntilanak
1 Solution
 
wwnosalCommented:
Please try putting this at the begining (e.g: line 2):


\renewcommand{\thefigure}{\alph{figure}}

Open in new window

0
 
kuntilanakAuthor Commented:
nah it still doesn't work
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now