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

Discussion Overview

The discussion revolves around issues related to LaTeX, specifically focusing on the placement of figures and the removal of unwanted blank pages in documents. Participants seek assistance with formatting challenges encountered while compiling LaTeX documents.

Discussion Character

  • Technical explanation
  • Homework-related
  • Debate/contested

Main Points Raised

  • One participant describes difficulties with figure placement in LaTeX, noting that the figure appears in an unexpected location despite using the \begin{figure} command.
  • Another participant suggests using the optional argument [h] in the \begin{figure} command to position the figure more accurately.
  • A different participant raises a question about creating an index in their document, mentioning the use of \index{} and \makeindex commands but not seeing the expected output.
  • One participant points to a resource for using the index command, although they admit to not having experience with it.
  • A participant expresses confusion about where to add the makeidx document-style option in their LaTeX document.
  • Another participant discusses issues with page numbering, stating that their document starts from the third page instead of the first, and seeks help on this matter.
  • One suggestion is made to use \setcounter{page}{1} to reset the page count, with a note to check the document class for potential formatting issues.
  • A participant mentions that they placed the \setcounter{page}{1} command but the page still starts from three, indicating a potential misunderstanding or misplacement of the command.
  • Another participant advises placing the \setcounter{page}{1} command immediately after \begin{document} to ensure it takes effect correctly.
  • Lastly, a participant raises a concern about an additional blank page being inserted at the beginning of their document, which disrupts page numbering.

Areas of Agreement / Disagreement

Participants express various issues and solutions regarding LaTeX formatting, but there is no consensus on the best approach to resolve the problems, as multiple suggestions and experiences are shared without agreement on a single solution.

Contextual Notes

Some participants mention specific LaTeX commands and document classes, indicating that the solutions may depend on the particular setup and requirements of their documents. There are also references to external resources and documentation that may not be universally applicable.

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
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 1 ·
Replies
1
Views
5K
  • · Replies 5 ·
Replies
5
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 4 ·
Replies
4
Views
43K