Text Formatting ⇒ enumerate and figures
enumerate and figures
When I use enumerate and place figures on the first line, the enumerate number is at the bottom of the figure.
I use the /clearpage command to help place graphics where I want them to be placed.
I would like to have the enumerate number at the top of the figure. How could this be done?
Thanks
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Re: enumerate and figures
enumerate and figures
Sure I do.
Notice that the it makes a new page after every figure aswell. I would like it to be 'continuous'.
And of course the numbers are at the 'bottom' of the figures, instead of the top.
Code: Select all
\documentclass[12pt, a4paper, fleqn, leqno]{article}
\pagestyle{empty}
\linespread{1.5}
\usepackage{polynom}
\usepackage{amsmath}
\usepackage{pstricks}
\usepackage{pst-plot}
\usepackage[lmargin=1cm, rmargin=1cm, tmargin=1cm, bmargin=1cm]{geometry}
\usepackage{pst-eucl}
\newcommand{\cosec}{\operatorname{cosec}}
\begin{document}
\begin{enumerate}
\clearpage
\item Blah
\begin{figure}[!htb]
\begin{center}
\begin{pspicture}(-3,-2)(4,2)
\psaxes[linewidth=1.2pt, labels=none, ticks=none]{->}(0,0)(-3,-2)(4,2)[$x$,-90][$f(x)$,180]
\psplot[algebraic=true,plotpoints=1000, arrows=<->]{-2.5}{3.5}{(1/5)*(x-1)*(x-3)*(x+2)}
\psdot(-2,0)
\psdot[dotstyle=o](1,0)
\psdot(3,0)
\rput(-2,-0.4){-2}
\rput(1,-0.4){1}
\rput(3,-0.4){3}
\end{pspicture}
\end{center}
\end{figure}
\clearpage
\item
\begin{figure}[!htb]
\begin{center}
\begin{pspicture}(-3,-2)(4,2)
\psaxes[linewidth=1.2pt, labels=none, ticks=none]{->}(0,0)(-3,-2)(4,2)[$x$,-90][$f(x)$,180]
\psplot[algebraic=true,plotpoints=1000, arrows=<->]{-2.5}{3.5}{(1/5)*(x-1)*(x-3)*(x+2)}
\psdot(-2,0)
\psdot[dotstyle=o](1,0)
\psdot(3,0)
\rput(-2,-0.4){-2}
\rput(1,-0.4){1}
\rput(3,-0.4){3}
\end{pspicture}
\end{center}
\end{figure}
\clearpage
\item
\begin{figure}[!htb]
\begin{center}
\begin{pspicture}(-3,-2)(4,2)
\psaxes[linewidth=1.2pt, labels=none, ticks=none]{->}(0,0)(-3,-2)(4,2)[$x$,-90][$f(x)$,180]
\psplot[algebraic=true,plotpoints=1000, arrows=<->]{-2.5}{3.5}{(1/5)*(x-1)*(x-3)*(x+2)}
\psdot(-2,0)
\psdot[dotstyle=o](1,0)
\psdot(3,0)
\rput(-2,-0.4){-2}
\rput(1,-0.4){1}
\rput(3,-0.4){3}
\end{pspicture}
\end{center}
\end{figure}
\end{enumerate}
\end{document}
Re: enumerate and figures
Re: enumerate and figures
Thanks for your help. I'll check it out soon.
What is the figure environment for then? I've used it because tutorials etc used it so I just followed without thinking...
Thanks
enumerate and figures
A bit searching online could have led you toMini wrote:What is the figure environment for then? I've used it because tutorials etc used it so I just followed without thinking...
http://en.wikibooks.org/wiki/LaTeX/Floa ... d_Captions.

- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
enumerate and figures
It can't do any harm if you do some basic reading [1]. Nearly all documents about LaTeX basics explain what these float environments are for and how they behave. And finally you could think about acquiring a book.Mini wrote:[…] What is the figure environment for then? I've used it because tutorials etc used it so I just followed without thinking […]
[1] View topic: LaTeX Resources for Beginners
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10