Graphics, Figures & TablesTrouble with FIGURES:NEED URGENT HELP

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
animagupta
Posts: 2
Joined: Mon Aug 24, 2015 10:03 pm

Trouble with FIGURES:NEED URGENT HELP

Post by animagupta »

Hello,
I am writing a PhD thesis in which I used this command 1 time :-
\includegraphics[width=\textwidth]{05}

and it worked fine, and then I wrote it 5 times in the doc one after the other because I needed it.

And it did not work. I am bogged down by this. I am also trying to use \figure to insert figures but it does not work. I am trying to figure out how to copy log data and paste it- but that too I am unable to do.
Can somebody guess what is happenning wrong ?
I have included the following packages, so there shouldnot be any problem.

Code: Select all

\usepackage{mwe}
\usepackage{adjustbox}
\graphicspath{ {images/} }
\usepackage[rightcaption]{sidecap}
\usepackage{wrapfig}
\usepackage{subfig}
\usepackage{caption}   
Please suggest.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10324
Joined: Mon Mar 10, 2008 9:44 pm

Trouble with FIGURES:NEED URGENT HELP

Post by Stefan Kottwitz »

URGENT: PLEASE DON'T WRITE ALL IN CAPS!

How does this look? It would be good to use normal writing style and to have a title which describes the topic. Some, as I, read a question if the title would be interesting.
animagupta wrote:And it did not work.
What did not work? You wrote the code which worked.
What does "not" mean? Error? No image?
animagupta wrote:\figure to insert figures but it does not work.
That's correct. Have a look at the forum, you can post code here. Even whole files as attachments. We need some information besides that figures don't work on your computer.

Stefan
LaTeX.org admin
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Trouble with FIGURES:NEED URGENT HELP

Post by Johannes_B »

The code you posted should work fine, as you noticed before yourself.

What we now need is how you actually use it in the document, as well as the log-file. Best to reduce your document before posting. There is a very simple mechanical algorithm how this reduction can be done safe and quickly in Creating a LaTeX minimal example.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply