Why Is My LaTeX Figure Misplaced and How Do I Remove an Unwanted Blank Page?

  • Context: LaTeX 
  • Thread starter Thread starter camillerinadia
  • Start date Start date
  • Tags Tags
    Latex
Click For Summary
SUMMARY

This discussion addresses common issues encountered when using LaTeX for document preparation, specifically regarding figure placement and unwanted blank pages. Users reported problems with figures not appearing in the desired location, which can be resolved by using the command \begin{figure}[h]. Additionally, to remove an unwanted blank page at the beginning of a document, users should place the command \setcounter{page}{1} immediately after \begin{document}. The discussion also highlights the necessity of using the makeidx option for creating an index in LaTeX documents.

PREREQUISITES
  • Familiarity with LaTeX document structure and commands
  • Understanding of figure inclusion using the graphicx package
  • Knowledge of page numbering commands in LaTeX
  • Experience with creating indexes using the makeidx package
NEXT STEPS
  • Research LaTeX figure placement options and their effects on document layout
  • Learn about the makeidx package for creating indexes in LaTeX documents
  • Explore LaTeX document classes and their impact on page formatting
  • Investigate common troubleshooting techniques for LaTeX document issues
USEFUL FOR

LaTeX users, technical writers, and anyone involved in document preparation who seeks to optimize figure placement and manage page formatting effectively.

camillerinadia
Messages
22
Reaction score
0
:cry::cry::cry::cry:

I've been trying for a long time to use graphics on my pdf file, using latex, but I cannot succeed. I've used mathematica to save my graphics as .eps files, and when I insert the commands in LaTeX as follows:

\begin{figure}
\includegraphics[width=8cm]{sinx.eps}\\
\caption{Figure 1}
\end{figure}

and compile the file, I get the graphic file but it's not printed where I need it. It's somewhere else. Why is this happening?

PLEASE HELP! I'M IN NEED OF SOMEONE'S HELP!:cry::cry:
 
Physics news on Phys.org
If you replace your first line with \begin{figure}[h] it should set it in between the correct paragraphs.
 
Thanks so much Cristo! You made my day!
 
Hello, I have written some notes, and in the end I want to dedicate a page to the Index of my notes. I have made \index{} before a word that I want it in the index page, I've also written \makeindex at the start but I do not see any index when I compile it as a .dvi file. Can anyone help me??
Thanks a lot
 
Last edited:
still with a problem

Thanks cristo, I used the link you sent me. There is written:

Add the makeidx document-style option to the list of options in the
\documentstyle command. (See page 21 of the LaTEX manual.)

Where should I add the command: makeidx? I do not know where. Can you help me please? thanks a lot
 
Help with LaTeX

thank you for your reply. I am using latex and I'm using a feature called {gsm-l} which changes the format of the first page of every chapter. The problem is that the pdf document I'm writing starts from the 3rd page not from 1st page. Please can you help me with this??
 
camillerinadia said:
thank you for your reply. I am using latex and I'm using a feature called {gsm-l} which changes the format of the first page of every chapter. The problem is that the pdf document I'm writing starts from the 3rd page not from 1st page. Please can you help me with this??

If the problem is simply that the page numbering is off, you can use :

\setcounter{page}{1}

and it will reset the page count to 1 from wherever that command is placed. Also check your documentclass, as some classes leave the first few pages title pages, a blank page for aesthetic purposes, etc.
 
Hello, thank you for your help. I've put the command \setcounter{page}{1} right after these commands:

\documentclass[twoside, 17pt]{gsm-l}
\usepackage[dvips]{graphicx}
\begin{document}\Large

\flushleft\chapter{Basic Algebra}but the page is starting from 3, not from 1. What am I doing wrong?
 
  • #10
Try placing the \setcounter{page}{1} right after the \begin{document} line (and before \chapter{...}).
 
  • #11
LaTeX help

Hi,

I need some help with latex.

I have a document created using the 'article' class. The formatting for the rest of the document is perfect but for some reason, latex inserts an additional blank page as the first page.

I have no idea as to how to remove this first blank page? I must remove it because it even disturbs the page numbering for the rest of the document.

Does anyone have any suggestions?

Thanks in advance!
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
4K
  • · Replies 5 ·
Replies
5
Views
6K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
42K