Questions tagged [includegraphics]

about adding external images in a document. Use {graphics} tag for a more general audience.

Filter by
Sorted by
Tagged with
0
votes
0answers
24 views

How to reduce image before I put on my latex document

I have a similar question to this link. I want to decrease the image quality, so for example if I have an 18MB image, I want to reduce it first before using \includegraphics..... And yes, I know I can ...
0
votes
0answers
29 views

includegraphics: one single picture not found

I include about 100 pics in a LaTeX document and only one of these pics is not found: ! Package pdftex.def Error: File pic_053_001_A_ccc_SS_bb_TT21_test.pdf not found All pics are in the same folder—...
0
votes
1answer
17 views

“Missing endcsname inserted. Undefined control sequence” for a includegraphics

everyone. I've retaken Latex for a project a need to make, and I've been dealing with this problem for two days now. It's driving me nuts. I've tried uninstalling texlive and texmaker fully and then ...
1
vote
0answers
31 views

Create a command to reduce code duplication when inserting imgage

so I have to do a pdf with a lot of images and I would like to avoid code duplication, so I'd like to create something like a function which take as input two arguments: Image name Caption text So ...
0
votes
1answer
15 views

Include Image with uncertain end of filename / range

I would like to include an image using includegraphics. This is for a series of business cards and I have to rely on an external source for generating these images. I will include these image names ...
1
vote
0answers
32 views

Problem with \pause when using a macro with \includegraphics

I defined the following command that allows me to put icons in math mode: \newcommand{\icon}[1]{% \mathord{\raisebox{-0.25ex}{\includegraphics[height=2ex]{#1}}}% } The problem is that if I want to ...
0
votes
0answers
17 views

Script for inserting multiples images

So I have a text table with Two column : Image_name \ Caption I would like to read from this table the value of Image_name and Caption and automatic put them in the code like : \centering \begin{...
0
votes
1answer
57 views

Chemmacros breaks auto-pst-pdf

this is my first time here but I will try to do my best. My document stopped compiling and I was able to boil it down to the following MWE. Basically I need chemnum (and therefore auto-pst-pdf) to ...
0
votes
0answers
21 views

Floats/graphics’ margins in pdflscape with afterpage

I am currently working on a lengthy scrbook document that includes many graphics (images, music scores, etc.). At one particular side, I have a left (even) page full of text, then using \afterpageas a ...
0
votes
0answers
25 views

How can I adjust the size of tcolorbox so that they fill the page without blank?

I'm using tcolorbox in order to make exercises. In these boxes, I regularly include images with \includegraphics, and also a vspace at the bottom so that the student can take notes. The exercises are ...
1
vote
1answer
66 views

Why is my photo on the wrong side?

\subsubsection{Upphängningsmetod} \begin{figure}[ht] \centering \includegraphics[scale=0.15]{metod.jpeg} \caption{Figuren hängs från en av de tre punkterna och det hölls en tråd med en ...
0
votes
0answers
16 views

problem with position of inserted picture [duplicate]

I have problem with picture. Look position of picture in code and where overleaf put picture \documentclass[a4 paper, 12pt]{article} \usepackage{pgfplots} \setlength{\baselineskip}{17pt} \usepackage{...
0
votes
1answer
33 views

4 figures side by side in ieee latex paper

I would like to have 4 figures side by side and I am getting this instead in latex I would like to have them all side by side instead of having 3 in the first row and the 4th figure in the second row....
1
vote
0answers
19 views

Numbering of graphics is with a point before the number ('.1' instead of '1')

I have no idea why this is happening. As far as I can see the document I am working with only uses the '\usepackage{graphicx}' When I inculde a graphic like this: \centering \includegraphics[width=\...
0
votes
0answers
43 views

Dimension too large in \includegraphics

I want to include this image (shown below) at the right side of my page, surrounded by text. But I got the following error ! Dimension too large.<argument> \wd \@tempboxa l.291 ...phics[width=...
0
votes
0answers
30 views

Includegraphics doesn't work on Linux. Not even when I put the exact path

I have \includegraphics[width=1\textwidth]{/home/user/thesis/template-latex_thesis/template_thesis/chapters/picture} and that is exactly where it is located. Does someone have an idea why this doesn'...
1
vote
1answer
55 views

Combining images side by side with overlays in beamer

I have left and right images. I want to place them side by side and overlay them by clicking next in the presentation. The left pictures should change with every click and the right pictures would be ...
0
votes
1answer
22 views

Nature include graphics and table inslide main body of text

This question follows off Nature include graphics. As posted there by commenter, Nature encourages the inclusion of figures (and tables) into the main body of text for initial submissions (which most ...
1
vote
1answer
24 views

Will width=\textwidth also automatically scale the height of the original image?

For example, \includegraphics[width=0.5\textwidth]{Example.jpg} Will the height also been automatically adjusted according to the same ratio of width?
0
votes
1answer
33 views

Using setkeys for a specific graphic — or: How to define options for a specific graphic in a command or macro?

(The motivation for my question is given at the end!) Question: How can I define keys for the options of includegraphics in a separate command, i.e., not directly in the graphic that uses them? (E.g., ...
1
vote
2answers
46 views

pdflatex: filesize of pdf generated using includepdfmerge(pdf-pages) is much smaller that includegraphics

I have a pdf file test.pdf. I am regenerating the same pdf using two different methods includepdfmerge and includegraphics. I found that pdf generated using includepdfmerge is almost same as original ...
0
votes
0answers
22 views

pdflatex + includegraphics pdf file size very large

I have two PDFs whose sizes are pdf1.pdf 1000kb pdf2.pdf 700kb Each have same number of pages and I have to make a new PDF with pdf2.pdf and pdf1.pdf mixed in a single page. I am trying to put each ...
0
votes
0answers
12 views

includegraphics with different margins

using includegraphics multiple times in the same page but with different margins how to do \documentclass[parskip=full,version=3.21]{scrartcl} \usepackage{pdfpages} \usepackage{geometry} \usepackage[...
0
votes
2answers
39 views

Overfull hbox from wrapfigure

I'm trying to include a figure (a pdf chart) in my document and wrap around it, but it's giving me tons of overfull hbox errors. Here is the code: \documentclass{article} \usepackage{wrapfig} \...
0
votes
0answers
19 views

Macro - Introduce a constant to differ the index of the right-hand side image, compared to the left-hand side image

Consider the answer of Ulrich Diez of this post: \pgfmathsetlengthmacro uncompatible with a loop?: \documentclass[]{article} \usepackage[most]{tcolorbox} % Define the command \NiceForEachElement to ...
1
vote
0answers
37 views

Why does this code need the tcolorbox package?

Why does this code need the tcolorbox package to compile? \documentclass[]{article} \usepackage[most]{tcolorbox} \def\Image{\includegraphics[scale=0.2]{example-image.jpg}} \begin{document} \...
0
votes
1answer
40 views

How to loop through all images (all of equal size), 2 images per page, with tikzpicture and tcolorbox on every page?

Please consider this MWE: \documentclass[a4paper, landscape]{article} \usepackage{tikz} \usetikzlibrary{calc} \usepackage[most]{tcolorbox} \newcommand\UseImage[1]{% \IfFileExists{#1.jpg}% {\...
0
votes
1answer
44 views

Compiling speed and output: \includegraphics vs \includepdf - what are the differences?

I made a .tex file and compiled it via pdfLatex in two scenarios: (1200 pages long) \includegraphics*[scale=1]{example.pdf} added some text here and there \newpage (repeating this with example2.pdf, ...
0
votes
1answer
24 views

pdfcrop silent mode

I love pdfcrop in figure production but every time get to see: "PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek." With all respect: the first dozen times in a day I ...
1
vote
2answers
39 views

Underfull and overfull in minipage environment

I get very often, warnings about the space used in minipage environment such as: Overfull \hbox (2.61108pt too wide) Underfull \hbox (badness 10000) in paragraph I tried many times to optimize the ...
0
votes
0answers
17 views

Figure not found in latex

Estoy intentado compilar un documento en latex con Texmaker en el que faltan aún varias imagenes. En lugar de dejarme sus huecos vacíos, no llega a compilar. ¿Alguna solución? Muchas gracias
0
votes
1answer
38 views

Why does includegraphics complain with # in filename?

I am very noob with latex. I have to compile latex file with following code: \includegraphics[width=5.5cm]{### LOGO ###}\\ Compilation with pdflatex fails with ! Illegal parameter number in definition ...
0
votes
0answers
16 views

\includepdf position

I'm writing a report including some pdf cropped cause the rest of the page is blank, but neither with a minipage I can put it between the sentences. Here is the code: \section{prova} \lipsum[2]...
0
votes
1answer
49 views

How to insert figure inside tcolorbox environment before the \begin{document}

In order to insert a logo picture in my sheet, I want to use the tcolorbox, but I don't know how to create a new environment to include it inside a node before the \begin{document}. Here's my code ...
0
votes
0answers
21 views

Unable to include picture file (.jpg) using texlive from terminal under UBUNTU 16.4

unable to compile Particular statement \includegraphics [scale=0.08]{IMG1001.jpg} while trying to run from the terminal under UBUNTU 16.4 LTS. For clarification, a minimal program and log file is ...
3
votes
1answer
69 views

Can't use a macro inside bracket or for trimming

I'm trying to define figure optional parameters as a default with a user command but I can't use it inside the [ ]. The next example throws an exception when I replace the trim=0 0 0 0 with trim=\trim....
0
votes
0answers
22 views

Insert shapes (graphics) from .tex files to a mainfile.tex

I use Texstudio and MikTex 2.9 I want to insert shapes which drawled using tikz package in Fig#.tex files to a main.tex file. like this: \begin{figure}[H] \includegraphics[scale=1]{...
5
votes
1answer
248 views

Slightly different positioning of graphics compiling with xelatex instead of pdflatex (MiKTeX)

Edited. Truly MWE at the bottom of this post. I am having troubles generating the identical PDF outputs from the following Asymptote source code: size(0, 40mm); draw(unitsquare); label("$1$",...
0
votes
0answers
22 views

Textboxes on my PDF don't show up when loaded into LaTeX

I have used a PDF reader to add textboxes to a PDF image. When I save the changes, one can open the PDF and see that there are now textboxes on it, but if I try to upload the PDF into an article ...
1
vote
1answer
29 views

Why getting a larger image box when rotating?

I'm trying to put two images side by side, using a simple code: \documentclass[11pt]{article} \usepackage{graphicx} \begin{document} \begin{figure} \centering \includegraphics{example-image} \...
0
votes
0answers
48 views

els-cas-templates – Elsevier updated LATEX templates - extra comma when including images using \begin{figure}[h]

I'm using Elsevier single column using Overleaf. When I include images using the following code, I saw an extra comma added on the top of the image. My file is around 40 pages and I have many figures ...
1
vote
1answer
69 views

Logo on west side on the same page

When I am trying to insert logo or image picture is going to be post in frist page how I can force the picture to be stay on that postion only? \documentclass[5p,times,authoryear]{elsarticle} \...
0
votes
1answer
26 views

\includegraphics[]{file}

I have generated a 5 page PDF file using the publish option in Matlab. I am trying to include this file using \includegraphics[]{xxx.pdf}, but it only includes page 1 of 5. what is the solution?
0
votes
0answers
26 views

How to figure out the correct name to include graphics?

I am having trouble using the includegraphics command. I assume it is because I gave the wrong name (my file contains space character and I got error messages because of it). Also, where should I put ...
0
votes
0answers
27 views

Error: Cannot determine size of graphic

\begin{figure}[h] \centering \begin{floatrow} \ffigbox[0.4\textwidth]{\caption{Aristotle: The first formal logician}}{\includegraphics[scale=0.5]{../../../practice/images/aristotle.png} \caption{...
0
votes
0answers
30 views

Unable to include graphics from Google Drive network file [duplicate]

I want to include graphics from a Google Drive network file, using the LaTeX Base online LaTeX editor. The command \includegraphics {https://drive.google.com/file/d/1oqbedMUmelhHP0ZnB12MvUIXcyAg1Hix} ...
0
votes
1answer
34 views

Why does /includegraphics not find image if run in process

I have a tex file which \includegraphics an image in the same directory. If the file is run with texstudio the image is included. If the same file is run in a process started from a program, the file ...
0
votes
1answer
47 views

How to put a text in particular position of an image?

I'm working with overleaf and trying to add texts in these red marked positions. For example, I want to add 4,5 and 6 respectively. I've tried with \put(0,0), but it always disables the \resizebox ...
0
votes
0answers
12 views

Set a timeout for pdflatex or latexmk disk access

My latex document includes figures located on a remote server, via a sshfs mountpoint. However, it happens that it disconnects, and if I run latexmk/pdflatex at this stage, it gets stuck trying to ...
1
vote
0answers
16 views

includegraphics with width from included file

I have the following problem: I would like to include some pdfs of different sizes in my document (different width, but same font size), such that they APPEAR as the same size, even though the actual ...

1
2 3 4 5
8