Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [includegraphics]

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

2
votes
2answers
72 views

Wrapfigure on top right corner

Hello I am using MikTex in TexStudios. I have this document: \documentclass[paper=letter,fontsize=11pt]{scrartcl} % KOMA-article class \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \...
1
vote
0answers
16 views

Use multi-page PDF as multiple graphics in LyX with correct preview?

In LyX, the "Insert > Graphics" dialog is the standard way for including graphics and, usefully, provides an inline-preview of the graphic in question. LaTeX's \includegraphics command allows to ...
0
votes
0answers
20 views

How to remove/ hide the name of the image in the LaTeX file? [duplicate]

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} \...
1
vote
1answer
66 views

Broken build if a too big picture is included in a framed environment, how to insert “horizontal slices” rather?

This produces about 5000 pages before crashing: \documentclass{article} \usepackage{framed} \usepackage{graphicx} \begin{document} \begin{framed} \noindent\includegraphics[height=35cm]{example-...
5
votes
2answers
125 views

Which file does includegraphics select if there are multiple files with different extensions? [duplicate]

We usually write something like \includegraphics{image} instead of: \includegraphics{image.png} That is, \includegraphics does not usually require a file extension such as .png .pdf ....
0
votes
0answers
33 views

Figures Near End of Document Don't Display [closed]

I have a document with a few different figures embedded. The code for each embed is identical, but the placement of each code block is different (sometime we enter the figure environment near the ...
1
vote
0answers
79 views

Which leads to fewer headaches, embedded PNGs or embedding PDFs?

I noticed that \includegraphics can be used to embed either a PDF or a PNG (and possibly other things as well). Although both are allowed, is there one which is less finicky / less prone to cause ...
0
votes
1answer
30 views

How to display horizontally aligned images with caption?

I'm looking for an advice how to display high amount of images horizontally aligned with caption: there are hundreds or even thousands images in the gallery dimensions of images are unknown, their ...
1
vote
1answer
39 views

LaTeX: \figure + \includegraphics unwanted page breaks and wrong spacing between caption

I'm implementing gallery of scanned documents and I have issues with using \figure + \includegraphics, see the screenshot below: 1) [violet comment] caption of current image and following image are (...
1
vote
0answers
42 views

How can I make LaTeX find a graphics file [duplicate]

For any business correspondence, I use a graphic, aglogo.jpg. As long as I'm in the directory where it resides, of course latex always finds it. But, if I'm working in a different directory it's not ...
4
votes
1answer
164 views

LaTeX - how to detect scale of \includegraphics

I have a general question, so without any example code. I'm implementing part of document containing gallery of images. Generally, I have two types of images: 1) document, typically scanned A4, ...
1
vote
0answers
30 views

LaTeX - invalid page break for first \includegraphics in chapter

I've created chapter containing only images with caption. All images shall have fixed width (\textwidth), height is always unknown (image shall be correctly scaled). From second image everything ...
2
votes
1answer
76 views

How to log scaling applied by \includegraphics?

I'm currently working on a large-ish document that contains a lot of screenshots. These range from relatively small dialog boxes or details of the screen to some very large overview pictures. I ...
0
votes
0answers
17 views

Make 2 images appear next to each other without space in between them

The current solution I found with minipages displays the two figures next to each other however it also adds a lot of space inbetween them. I'd like to have the two images be right next to each other ...
0
votes
0answers
19 views

Force includegraphics to obey bounding box of eps

I have an test.eps that consists of %%BoundingBox: 0 0 343 491 %%EOF and a tex document \documentclass{minimal} \usepackage{graphicx} \newbox\figbox \begin{document} \setbox\figbox\hbox{\...
2
votes
1answer
32 views

Figure won't compile

I am trying to add a picture in the same folder, subfolder pictures, named iphone.png, but it will terminate with an error. \documentclass[journal]{IEEEtran} \usepackage{graphicx} \usepackage{...
4
votes
1answer
119 views

Error “Missing \endcsname inserted” when including PDF using \includegraphics

\documentclass[12pt,a4paper]{article} \usepackage{color} \usepackage[turkish]{babel} \usepackage{graphicx} \usepackage{tabularx} \usepackage{multirow} \usepackage{graphicx} %%%%%%%%%%%%%%%%%%%%%%%%% \...
0
votes
1answer
35 views

! LaTeX Error: Cannot determine size of graphic in…pdf or png (no BoundingBox)

I am using Windows x64 bit , Texmaker 5.0.3 , basic miktex 2.9.6850 and when I compile this code, I mean when I run 'LaTeX': \documentclass[twocolumn,prl,nobalancelastpage,aps,10pt]{revtex4-1} %\...
1
vote
1answer
52 views

name.bb appears above picture when using includegraphics

I've tried adding a picture using: \begin{figure}[htb] \centering \textbf{bbb}\par\medskip \includegraphics[width=\textwidth]{schematOgolny.png} \captionof{figure}{sth} \label{aaa}...
2
votes
1answer
80 views

Included PDF image has invisible, but selectable text

I am currently facing some problem when I tried to import a PDF as a graphic. The PDF with some original text beside was first cropped to remove the text and then imported using \includegraphics. ...
2
votes
1answer
46 views

Include graphics under enumeration, align top with number? [duplicate]

Currently the bottom of the image is aligned with the enumeration number, how can I align the top of the image instead? \documentclass[12pt]{article} \usepackage{graphicx} \begin{document} \begin{...
1
vote
2answers
53 views

Figure position left

This is the code that I use to create a figure: \begin{figure}[H] \includegraphics[width=0.9\paperwidth]{img/Info.png} \caption{Info \label{overflow}} \end{figure} The problem is that the ...
1
vote
1answer
37 views

xwatermark causing issues with \includegraphics options

I'm currently having issues using xwatermark and the clip and trim={} options of \includegraphics for graphics that are completely unrelated to the watermark produced by xwatermark. Here's a MWE that ...
1
vote
1answer
52 views

xelatex rotates pdf image

Consider this example \documentclass{article} ...
1
vote
1answer
39 views

Search order of graphic files

There are many packages that contain graphic files. For example, rutitlepage has logo.pdf, hand.pdf in notes, and so on. If I want to use my own logo.pdf, which I want to load from a subfolder, then ...
1
vote
2answers
50 views

I'd like to put a full pdf page in my document, but it doesn't work!

i've got an issue. I'm writing a LaTeX document, i would like to make a page of my final document as a pdf file (that is a text). I searched on this site but no one of the existing topic helped me. I ...
0
votes
1answer
42 views

How can I automatically rotate figure environment based on native/actual size?

I have a LaTeX document that is generated from a collection of other documents that include source for generating images. These images end up with varying sizes, some of which are too wide for the ...
2
votes
1answer
22 views

{beamer} use \insertsection to load image gives error: TeX capacity exceeded, sorry [input stack size=5000]

I'm trying to set up a template for a section frame. On this frame I want to load an image selected by the section title as described in this question. But when applying the suggested solution I get ...
1
vote
1answer
31 views

{beamer} use \insertsection to load image in section frame - replace spaces

I have a custom section frame defined for my presentations. I'd like to load an image with the name of the section title. Problem is that LaTeX usually fails to load image if their names contain ...
0
votes
0answers
26 views

Pythontex : automatic importation of a figure

I would like to define a command showing the last figure saved by pythontex on a png file (Figurecount.png) where count is a Python counter numbering the figure. Next I use includegraphics to import ...
0
votes
1answer
44 views

How to add round picture in CV using CV package?

\documentclass[a4paper]{article} \usepackage{fontawesome} \usepackage{tabularx} \usepackage{fullpage} %\usepackage{doublespace} %\setstretch{1.2} \usepackage{ae} \usepackage[T1]{fontenc} \usepackage{...
4
votes
1answer
108 views

Text after tcolorbox Overlapping with Figure inside wrapfig

I've been trying to use wrapfig inside a tcolorbox environment that has an amount of text that will not cover the height of the figure inside the environment. The following code resulted in the text ...
0
votes
0answers
19 views

Correct way of using `\graphicspath` for multiple folders

I am trying to set path for mt .eps plots to multiple folders \graphicspath{{"D:/Mypaper/GraphicsFolder1/"}{"D:/Mypaper/GraphicsFolder2/"}{./Plots/}} If I include the quotes to the folder paths, ...
5
votes
1answer
66 views

graphicx regression in TL 2018? \convertMPtoPDF undefined in preamble

Consider the following MNWE: \documentclass{article} \usepackage{graphicx} % \input{supp-pdf.mkii} \newbox\mypic \sbox\mypic{\includegraphics[height=6.5ex]{moral-compass-lliw10}} \begin{document} ...
2
votes
2answers
175 views

Adding “a)” label on top of figure

I'm writing a paper and the convention is to put several figures together, each of them with the marking "a)", "b)", etc... directly on top of the figure. The perfect solution for me would look like ...
1
vote
1answer
30 views

including caption after \includegraphics in latex beamer slides

I'm trying to include a caption or source note at the bottom of a slide. For example, I'd like to include the url for the graphic. http://www.assignmentpoint.com/business/economics/assignment-on-...
0
votes
1answer
35 views

Sticky labels with image and different font sizes

I want to create products labels. For the alignment I am using tabluar. But as soon as I place an image inside the table or change the fonts size everything gets messed up. The image moves out of the ...
1
vote
1answer
36 views

How to cover certain area of included pdf pages with white rectangle?

I have a bunch of handwritten notes that I'd like to integrate with my other notes typesetted with latex. And to give the integrated notes a clear structure, I am wishing to typeset the section ...
1
vote
1answer
63 views

XeLaTex includegraphics Dimension too large

Somehow Photoshop seems to save JPGs that causes XeLaTeX some issues. Images that are saved by my colleague from Photoshop cause the error: ! Dimension too large. <to be read again> If I run ...
1
vote
1answer
86 views

How to insert multiple images at once

I'm beginner in Latex, and need help, How can I, select all images on folder? I trying using the popular /*.jpg, but do not function \documentclass{article} \usepackage{graphicx} \begin{document} \...
0
votes
0answers
61 views

Weird Image Scaling in tex

I have two images which I try to include in tex (greater context: trying to convert ipython notebook to tex which also has output images). I find a weird scaling problem. Both images are comparatively ...
2
votes
1answer
34 views

Centralize with includegraphics

I'm having trouble with the beamer. I want to put a background image. The image is not too large, so I can not put the size of the page so it is not distorted. The problem is that using scale=1, I ...
0
votes
1answer
59 views

EPS2PDF conversion not working in latex

I am writing a research paper in latex template which has some figures in EPS format. While compiling the template I see a blank box instead of figure I'm not getting why it's happening I have used \...
1
vote
1answer
54 views

using includegraphics conditionally

I want to print a different logo sequentially for 4 years, and then resuse them. My script is not working... any idea? \documentclass{article} \usepackage{pgf,calculator,ifthen} \MODULO{\year}{4}{...
0
votes
1answer
20 views

“Doing something” when a new page is created

I have custom page number images that I want to place at the bottom of a given page to represent its page number. The MWE does just this: \documentclass[12pt]{article} \usepackage{geometry} \...
0
votes
0answers
25 views

Disable highlighting of text in invisible areas of vector graphic

I am currently writing a thesis and therefore I include different vector graphics inside my document. The graphics are created with tools like Visio and exported as PDF (The pdf contains the vector ...
2
votes
2answers
34 views

How can I get a wide image right below the title of a twocolumn document followed by twocolumn text?

I want to have a onecolumn image on the first page right below the title of a twocolumn document. The image should span the text width. I am not using the multicols package because it causes problems ...
0
votes
1answer
55 views

Tikz node background image not centered when using right= of

Why is the image not centered for the right node? \usepackage{tikz} \usepackage{mwe} \tikzset{ image/.style={ path picture={ \node at (path picture bounding box.center) { \...
0
votes
0answers
22 views

GraphicX Folder Paths

I am generating a sequence of worksheets. They're organized by difficulty, from Level 1 on up. Each level is in its own folder and has its own .tex file and PDF. All the levels (and thus .tex files), ...
1
vote
0answers
43 views

What would be the most efficient way to insert image in a document?

In terms of occupied space and performance (compiling time), what would be the most efficient way to insert image in a document : Insert images from different files (multiple .jpg, .png, etc.); ...