Graphics, Figures & Tables ⇒ placing two figures in a page!!
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
placing two figures in a page!!
i am trying to insert two figures, next to other immediately in a page.. which almost covers the full page..
Since Latex, is build up with rules, it is not allowing me to place two figures in a single page.
So please help me how to place to 2 figures in a page.
So, help me in this issue.
Regards,
Muthu
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
placing two figures in a page!!
you could use the subfig package or the subcaption package (in the latter case, make sure that your system uses a recent version of the caption package).
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
placing two figures in a page!!
Certainly it is allowed to place two (or more) figures on one page.dmuthu_cse wrote:[...] Since Latex, is build up with rules, it is not allowing me to place two figures in a single page. [...]
Code: Select all
\documentclass[11pt,a4paper,english]{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{babel}
\usepackage{blindtext}
\begin{document}
\blinddocument
\begin{figure}[!p]
\centering
\rule{0.75\linewidth}{0.5\linewidth}
\caption{Dummy figure}\label{fig:dummy-1}
\end{figure}
\begin{figure}[!p]
\centering
\rule{0.75\linewidth}{0.5\linewidth}
\caption{Dummy figure}\label{fig:dummy-1}
\end{figure}
\blinddocument
\end{document}
Best regards
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
placing two figures in a page!!
Code: Select all
\documentclass{book}
\usepackage{caption}
\usepackage{lipsum}
\begin{document}
\lipsum[1-2]
\begin{figure}[!ht]
\begin{minipage}{.9\linewidth}
\centering
\rule{7cm}{.4\textheight}
\caption{figure one}
\label{fig:fig1}
\end{minipage}\\
\begin{minipage}{.9\linewidth}
\centering
\rule{7cm}{.4\textheight}
\captionof{figure}{figure two}
\label{fig:fig2}
\end{minipage}
\end{figure}
\lipsum[1-6]
\end{document}
-
- Posts: 97
- Joined: Fri Sep 04, 2009 4:56 pm
Re: placing two figures in a page!!
Thank you for the reply...
It is working fine...
With regards,
Muthu