In my LaTeX file, the name of the image appeared. May I know how can I remove it? Thank you very much.  My code is as follows:  \documentclass[12pt,a4paper]{report}   %%%%%%%%  \usepackage{geometry} \usepackage{graphicx}       %%%%%%%%%%% %%%%%%%%%%%% \begin{document}    %%% \begin{figure}[h] \includegraphics{Albert Einstein.jpg} \caption{Relationship between graphs} \label{fig1} \end{figure}   \end{document}
21284
I am writing a LaTeX document with the apacite and graphicx package. The issue is when I include an image either using figure with an enclosed \includegraphics or \includegraphics by itself it shows the image with the file name to the side.  For example:              --------------             |             |             |    BOX 1    |               --------------- Error1.jpg   I do not want it to write Error1.jpg. Would show the image but it seems I do not have enough rep.  This is an example tex file to show the error (with Windows XP, using Miktex 2.8).  \documentclass[man]{apa} \usepackage{apacite} \usepackage{graphicx} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \begin{document}   \includegraphics{Example Error1.jpg} \begin{figure}[htb] \includegraphics{Example Error1.jpg} \caption{This is the caption of the figure.} \label{fig:fig2} \end{figure} \end{document}
43663
In addition to the .tex and .dvi or .pdf files, TeX/LaTeX/ConTeXt produces and uses lots of other files. What do they do? Which ones are used to create the document and which ones are automatically created by the compiler. What files can I safely delete?
66828
In order to insert an image in LaTeX, I do as follows, but I get an error telling that the file 'me.jpg' is not found.  Where should I save my image files to do this?   \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure}[h]    \centering   \includegraphics[width=0.2\textwidth]{me.jpg}   \caption{Some figure} \end{figure} \end{document}
93878
I have hundreds of figures with filenames containing "#" to include using \includegraphics, I've tried packages like grffile or currfile, but none of them work. Can anyone suggest a real solution so that I don't need to change hundreds of file names? Thanks.  Update: 1. I'm using Windows. 2. When I compile it, it shows "Illegal parameter number in definition"
118393
I'm trying to insert a figure into my LaTeX file using the following syntax:  \begin{figure}   \centering   \includegraphics [width=3in]{fig1.png}   \caption{Calculation of shortest path betweenness}   \label{Fig.3:Shortest path betweenness} \end{figure}   It worked for me before but this time I'm getting the following error:   LaTeX Error: \begin{figure} on input line xxx ended by \end{document}   Also, hovering over the red cross symbol indicating error in Eclipse, I see this message    paragraph ended before Gin@iii was completed.   It's obvious that I have the \end{figure} to end my \begin{figure} so I don't understand how I still get that error.  Can someone please tell me what the problem is?  Edit: Add more details for debugging. The problem went away if I remove '[width=3in]'. Here is the detail error:  pdflatex&gt; Runaway argument? pdflatex&gt; width=3in]{fig1.png} \caption {Caption} \label {Fig.1}  pdflatex&gt; ! Paragraph ended before \Gin@iii was complete. pdflatex&gt; &lt;to be read again&gt;  pdflatex&gt;                    \par  pdflatex&gt; l.40  pdflatex&gt;        pdflatex&gt;  pdflatex&gt; Underfull \vbox (badness 10000) has occurred while \output is active pdflatex&gt; (./document.bbl pdflatex&gt;  pdflatex&gt; Package natbib Warning: Empty `thebibliography' environment on input line 3.   Added sample code:  \documentclass[10pt,psfig,letterpaper,twocolumn]{article} \usepackage{geometry} \usepackage{graphics} \usepackage{setspace} \usepackage{natbib} \usepackage{verbatim} \usepackage[scaled=0.9]{helvet} \singlespacing \paperwidth 8.5in \paperheight 11in \oddsidemargin 0in \headsep 1.3cm  \geometry{left=0.75in,top=0.75in,right=0.75in,bottom=1in} \textwidth 7in  \textheight 9.25in \columnsep 0.4in \footskip 0in  \renewcommand{\bibname}{REFERENCE} \pagestyle{empty}  \begin{document} \bibliographystyle{acm}   \title{\fontfamily{phv}\selectfont{\huge{\bfseries{Title here}}}} \author{ {\fontfamily{ptm}\selectfont{\large{\bfseries{author name}}}}\thanks{contact info }}  \maketitle \thispagestyle{empty}  \section*{\fontfamily{phv}\selectfont{\normalsize{\bfseries{Section name}}}}  \begin{figure} \centering \includegraphics[width=3in]{fig1.png} \caption{Caption} \label{Fig.1} \end{figure}  \pagebreak[4] \vspace*{5.52in} \bibliography{ref} \end{document}
123654
I am trying to include a graph in a tex document. I do realize that there have already been several questions asked about this topic, but I think by now I have tried all suggested solutions but none seem to work. This is the minimal example:  \documentclass[12pt]{report} \usepackage{graphicx} \graphicspath{{C:/Users/felix/Desktop/Bachelorarbeit/TeX/BA_text2/images}} \usepackage[a4paper]{geometry}  \begin{document} \begin{figure} \includegraphics[scale=1]{gap_v3_v4_AT.png} \end{figure} \end{document}   Information about my setup:  I am using Texmaker and MiKTeX 2.9.   Things I have tried:   Absolute and relative paths,  not initialising a figure environment, including the directory where the graph is in the MiKTeX Options-> root directory (was suggested in one of the answers to a similar question)   There is definetly a .png file with the same exact name in the folder set by \graphicspath.   I would be really grateful for any ideas!
51540
When I run my LaTeX document through pdflatex, some of the pages (the ones where figures appear) have all the text bolded.  Why, and what can I do to make it stop?
1327
I can't find where I can remove any kind of hyphenation and just have LaTeX just do a line break.  edit: Honestly speaking I just don't like to read hyphenation anywhere and that's the only reason why I wanted to remove it. It is a matter of style, probably unexpected in LaTeX.  The document has only a summary in a different language and I used the language packages to hyphenate properly.
44425
I have a Latex document with headers on each page.  On the pages where I have a 'sidewaysfigure', I want to remove the headers, because sometimes, the white borders of the large sideways figures overlap the header.  Is it possible to remove headers on pages where there are sidewaysfigures?    Edit -   So here is my minimal working example. I have a main file which calls the other files - sorry I don't know the correct terminology. It's called testlatex.tex. It calls a file called test.tex which has the sideways figure.  I have     \thispagestyle{empty} in the sidewaysfigure environment, but the header and footer still appear.  testlatex.tex:  \documentclass[12pt,twoside]{ociamthesis}  % default square logo   \usepackage[bottom=37mm,top=10mm,left=33mm,right=33mm]{geometry} \usepackage{natbib} \usepackage{calc} \usepackage{aas_macros} \usepackage{color} \usepackage{longtable} \usepackage{amsmath, amsthm, amssymb, amsfonts} \usepackage{fourier} % The Fourier font package. \usepackage{microtype} % Apparently this makes pdfs look nicer. \usepackage{graphicx} \usepackage{longtable} \usepackage{eucal}  \usepackage{hyperref}  \usepackage{multicol} \usepackage{nomencl} \usepackage{geometry} \usepackage{setspace} \usepackage{rotating} \usepackage{changepage}  \usepackage{subfigure} \usepackage{dcolumn} \usepackage{booktabs} \usepackage{xfrac} \usepackage{fancyhdr} \setlength{\parindent}{0pt} \usepackage[font={footnotesize}]{caption} \let\oldtabular\tabular \renewcommand{\tabular}{\footnotesize\oldtabular} \include{mymacros} \makenomenclature \renewcommand{\nomname}{List of Symbols} \renewcommand*{\nompreamble}{\begin{multicols}{2}} \renewcommand*{\nompostamble}{\end{multicols}} \setlength{\columnsep}{3em} \title{Test title} \abstracttitle{} \author{a.n.other}             %your name \DeclareMathSizes{12}{13}{8}{10}  % For size 12 text  \begin{document} \pagestyle{fancy} \fancyhf{} \fancyhead[LE,RO]{\leftmark} \fancyfoot[CE,CO]{\thepage} \baselineskip=24pt plus1pt % this looks about double-line \setcounter{secnumdepth}{3} \setcounter{tocdepth}{3} \pagenumbering{arabic} \newgeometry{bottom=4cm,top=4cm,left=3.2cm,right=3.2cm} \baselineskip=24pt plus1pt \doublespacing \include{test}  \end{document}   Test.tex  \chapter{Test Chapter} \ifpdf     \graphicspath{{Chapter3/Chapter3Figs/PNG/}{Chapter3/Chapter3Figs/PDF/}   {Chapter3/Chapter3Figs/}} \else     \graphicspath{{Chapter3/Chapter3Figs/EPS/}{Chapter3/Chapter3Figs/}} \fi  \begin{sidewaysfigure*}[] \thispagestyle{empty} \begin{center} \includegraphics[ width=200mm]{anything.png} \caption[]{Figure caption here.} \end{center} \end{sidewaysfigure*}
57575
I am facing problem to write the code of this below picture in my Latex document. kindly guide me about this.
34007
How do I find unresolved references? Does LaTeX tell me this somewhere? Is it in a log file? The LaTeX output just says I have unresolved references, but it doesn't tell me what they are, or does it? thanks
107893
I m importing one image in latex document. But caption has bigger font than my normal text on page.   \documentclass{article} \usepackage{graphicx}  \begin{document}    Some text...    \begin{figure}[htb]   \begin{center}   \includegraphics[height=1in,width=1in,angle=-90]{foo}   \caption{This is a figure.}   \end{center}   \end{figure}     More text...    \end{document}   How to reduce the font size of caption and space between caption and image?
62650
When I pdflatex the text below it doesn't insert the picture, but writes the name of the file instead (pic).  And the geometry line gives the error  ! LaTeX Error: Missing \begin{document}.   The picture I am using is at  and the floatrow package .  Question  Can anyone see what is wrong?  Text  \documentclass[a4paper]{article} \pdfpagewidth=\paperwidth \pdfpageheight=\paperheight \usepackage{aeguill} \pdfcompresslevel=9 \usepackage[pdftex,colorlinks]{hyperref}  \usepackage{a4} \usepackage{fixltx2e} \usepackage[danish]{babel} \usepackage[latin1]{inputenc} \usepackage[T1]{fontenc}  \usepackage[draft]{graphicx} \usepackage{floatrow}  \usepackage{geometry}  \geometry{margin=10pt,paperwidth=\textwidth+20pt,paperheight=\textheight+20pt}  \begin{document}  The first paragraph.  \begin{figure}   \includegraphics{pic} \end{figure}  And the second.  \end{document}
38190
Here is the output I get when I use \includegraphics to import a figure in an equation environment:    But I want the output to be like this (edited photo):    My MWE:  \documentclass[]{IEEEtran}      \usepackage{graphicx}        \usepackage{amsmath}   \begin{document}   \begin{equation}     \includegraphics[width=0.8\columnwidth]{my_figure.png} \end{equation}   \end{document}
121039
I use the chngcntr Package to Name my figures accordingly. \counterwithin{figure}{section} \counterwithin{figure}{subsection} \counterwithin{figure}{subsubsection} \counterwithin{figure}{paragraph}  My Problem is when a Figure is, for example, only in a subsection and not in a subsubsection and paragraph the Figure name looks like this: Figure 1.1.0.0.1. But i want to look like this: Figure 1.1.1 If anybody can help that would be much appreciated :)
69789
I am sorry if my question is too silly, I am totally new to LaTeX.   I have just downloaded TeXstudio 2 days ago and am trying to include some figures/images in the document. I found out about the \includegraphics command but cannot understand how it works at all. Every guide I have found jump to something like   \usepackage{graphicx} \includegraphics[width=0.5\textwidth]{bird1}   and I don't have a clue how I am supposed to use the command except that I need to use the package graphicx.  Where do I have to put my images so that TeXstudio can find it? Let's say I have an image called cat.png located at C:\Users\ASUS\Desktop\PICS, do I just type \includegraphics{cat} and TeXstudio is going to magically find it?
14863
When writing documents, I consider it to be necessary that all figures and tables are referenced (\ref) in the text, whether or not I've remembered to \label them. LaTeX does not currently warn if a figure or table is not referenced. Is there a way to ensure that this is flagged up as a warning?  Note that I am specifically concerned about figures and tables, not chapter or section headings; it will be no good looking just at \labels that don't have an associated \ref.  In other words, it should report boo and not report bla in the following MWE:  \documentclass{article} \begin{document} \section{BLA}\label{bla} \section{BOO}\label{boo} In Section~\ref{bla} we do something. \end{document}