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

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

# 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}

0
kuntilanak
1 Solution

Commented:
Please try putting this at the begining (e.g: line 2):

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

0

Author Commented:
nah it still doesn't work
0

## Featured Post

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