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

  • Thread starter Thread starter camillerinadia
  • Start date Start date
  • Tags Tags
    Latex
AI Thread Summary
The discussion revolves around common issues encountered when using LaTeX for document preparation, particularly with graphics and page formatting. Users are struggling to correctly position graphics in their PDF files, with suggestions to use the optional argument [h] in the figure environment to control placement. There are also inquiries about creating an index in LaTeX, with guidance provided on using the \index{} command and the need to include the makeidx option in the document class. Additionally, users are facing problems with incorrect page numbering, specifically starting from the third page instead of the first, with advice to use \setcounter{page}{1} to reset the page count. Another user reports an issue with an unwanted blank page at the beginning of their document, seeking solutions to eliminate it and maintain proper page numbering. Overall, the thread highlights various LaTeX challenges and collaborative troubleshooting among users.
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
Views
3K
Replies
7
Views
3K
Replies
3
Views
2K
Replies
5
Views
3K
Replies
5
Views
4K
Replies
5
Views
5K
Replies
1
Views
3K
Replies
1
Views
3K
Replies
4
Views
42K
Back
Top