Questions tagged [includegraphics]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
48 views

Does includegraphics run any faster with lower bit depth images?

My images take a long time to render (using TexStudio with pdflatex). I don't want to drop the resolution (number of pixels) of the images but can afford to drop the bit depth from 24 to 8 bit without ...
0
votes
0answers
34 views

Inserting a pdf file in LaTeX

Im trying to insert a PDF file in LaTeX and I'm having some problems. Making a search here I have found several solutions, but none of them is completly working for me. First of all I tried using \...
1
vote
0answers
28 views

Can't add .png to document [closed]

I am new to LaTeX and currently am struggling with inserting a .png. Also, I am new to this forum so please tell me if anything is missing for the question. I have looked for similar topics, however I ...
1
vote
1answer
38 views

About saving a drawing as a `tikz` file

This answer describes how to include a tikz file in your document, whether it is an article, a book or a beamer presentation. It works fine, up until the point that you call for some other libraries. ...
1
vote
1answer
31 views

Beamer add captions below subfigures

I have a slide in Beamer with two subfigures in the same row. I wish to place two captions, one for figure, below the figure (i.e., Leo Bremain (1928 – 2005) and Adele Cutler). I tried different ...
2
votes
2answers
25 views

Align horizontally 2 figures with minipage (with one figure have a longer caption than the other)

I want to put 2 figures next to each other using minipage command. The caption of one of the image is longer than the other and takes seval lines. This has for consequences to disalign the images ...
1
vote
2answers
37 views

How to put side caption in a figure that is wrapped inside a a text?

I am relatively new and struggle to combine different packages. I am trying to wrap a figure within my text and I also want the caption to be aligned on the side of the text. My current approach looks ...
1
vote
1answer
43 views

Cell divider in table not long enough

When using a longtable environment where I include a pdf as the content of one of the columns, the adjacent separator lines are not sufficiently long: My code is as follows: \documentclass{article} \...
1
vote
0answers
60 views

How to Have an Imported Rectangular Image be Displayed as a Parallelogram with LaTeX [duplicate]

I would like to be able to call in a rectangular image into Latex and have it appear as a parallelogram instead of a rectangle. For instance, \documentclass{article} \usepackage{graphicx} \begin{...
0
votes
0answers
27 views

Floating Figure on new Page creates missing or unavailable character(s) Error

I have a problem using the figure environment. In my example I have three figures with pictures in them. If they are to big to fit on one site, the error =====Latex reported missing or unavailable ...
2
votes
2answers
67 views

Undefined subtype 'subfigure'

I am trying to enter some subfigures in my tex document as follows: %%% FIGURE %%% \begin{figure}[!hptb] \begin{center} %\includegraphics[width=15cm]{query.jpeg} \subfloat(a){\includegraphics[...
0
votes
1answer
59 views

LaTeX \includegraphics{.eps}: shown reversed (upside-down) font characters on .eps file, generated by Python matplotlib.text.usetex on Windows10

The .eps file is created by Python matplotlib.text.usetex, where the characters in question are on the title and the legends of the chart in TeX text mode of matplotlib. The characters in question in ...
0
votes
0answers
16 views

filename chunk with \includegraphic, graphicx and spaces in the filename

I'm making a document with xelatex and I have a problem. I include a graphic with \includegraphic from the graphicx package. My filename illustration a1-2.png contain some spaces and when I build my ...
0
votes
0answers
34 views

Problem with include_graphics, ! LaTeX Error: Option clash for package graphicx

I'm using a preamble for a (PDF) markdown document for the first time. I want to insert some png images into my PDF, but I have problem when using include_graphics in my Rmd script. This is my ...
2
votes
1answer
44 views

Problem with inserting graphics with HtLaTeX on Debian buster

I've been tasked with porting some software to Debian buster. The software has pretty extensive documentation using latex. I'm mainly a sysadmin/software guy and only know a little TeX. When building ...
1
vote
3answers
50 views

Title in included figure replaces the metadata

I would like to edit the title of the final pdf file. Following this post I got the following code, which works perfectly \documentclass{article} \usepackage{hyperref} \hypersetup{pdftitle={Title I ...
0
votes
0answers
20 views

Why do my images show up in the wrong page? [duplicate]

I have two images that should be under a section but it glitches back for some reason. Here is the code \section{Resultat} Huvudet från hammaren placerades i den mindre skålet medan stenen och ...
1
vote
1answer
41 views

Place figure in between end of text and bottom of page

I currently have a page where the text finishes a quarter of the way down the page. There is a figure on the same page. The figure can either be placed: at the top [t] at the end of the text [htbp!] ...
3
votes
0answers
73 views

Corrupt PDF with \includegraphics

I'm trying to include an image that is in .pdf format within my document. I am including lots of images in my real document with others displaying correctly: I need to retain their high quality hence ...
1
vote
1answer
41 views

Table with figures inside a table inside a tikzposter block

I'm trying to put a table with figures inside a table in a "tikzposter" block environment. Whilst the method below works in documentclass{article} + \begin{document} ... \end{document}. It ...
2
votes
2answers
70 views

Table with figures inside a table

I'm trying to put a figure (with \tabular) inside a table (\tabular): I've tried the code: \begin{tabular}{cc} \begin{figure} \begin{tabular}{ccc} \includegraphics[width=0.16\...
1
vote
1answer
36 views

How to center a caption beneath a figure when using wrapfig in a two column (multicol) configuration

In Partha D.'s answer[1] to the question "Perfect positioning of an image on top of text" Partha presents a solution using wrapfig (instead of pullquote) to place caption text below a figure ...
1
vote
0answers
24 views

Using a bash script to compile, then Image in same directory not found. Mac OS 10.15.7, pdfLateX (texlive), function \includegraphics{image}

As the title suggests, I am putting an image into my pdf document using the \includegraphics command. It works, and puts my output main.pdf in the same directory as expected. Here's where my question ...
0
votes
1answer
29 views

Positioning of pictures in Beamer

I would like to position a picture where the red rectangle is: I have heard of the package textpos but I could not make it work so far. It would be very kind of you to help me (with a concrete line ...
0
votes
0answers
69 views

include PDF, PNG/JPEG images with DVI-PS-PDF chain (needed for \chemnum package) (Texstudio)

I am writing a chemical report in TexStudio and include several different image formats, mainly EPS, created with ChemDraw. The drawings are included with the graphicx package and \includegraphics. As ...
0
votes
1answer
44 views

Redefine \includegraphics* (starred version)

I have this code: \setlength{\fboxsep}{0pt} \let\includegraphicsbak\includegraphics \renewcommand*{\includegraphics}[2][]{\colorbox{white}{\includegraphicsbak[#1]{#2}}} How can I make it work with ...
0
votes
0answers
23 views

\includegraphics with angle results in loss of quality of pictures

In a tikzpicture, in order to include pictures, I usually use a command like that \includegraphics[origin=c,height=5cm]{pic.png} and everything goes fine. But if I insert an "angle" option ...
0
votes
0answers
20 views

Pictures side by side on right half of the page - put them further right?

I used the suggested method to put two pictures next to each other: Minipages side by side on the right half of the page (cf. code below) However, as you can see on the photo the pictures are a bit ...
0
votes
1answer
17 views

How can I place a caption for the more subfigures?

I want to a caption for the three figures but I want to be like a title. My code is: \usepackage{graphicx} \usepackage{subcaption} \begin{figure} \centering \begin{subfigure}[b]{0.3\textwidth}...
3
votes
1answer
44 views

Why are my tikz graphs not side-by-side?

With \includegraphics and PNG images I'm able to align graphics side by side. However, when I replace \includegraphics with a tikzpicture, the graphs are not side by side. Instead, they are one on top ...
0
votes
0answers
22 views

Why my table doesn't appear on the page I place it? [duplicate]

I have thw following code in latex but my table appears after the images. In the code the code for table is written before the code for imgaes. How can I make the table appear before the images? Some ...
2
votes
2answers
46 views

How can I stretch an image used in a figure in one (e.g. vertical) direction, say in an \includegraphics command?

A circle in the particular image in this case is "squashed" in the vertical direction. The image includes a big circle that gets displayed as an ellipse compressed in the vertical direction, ...
1
vote
0answers
24 views

Under what condition can we import protected pdf

I was able to integrate pdf (with includegraphics) which were only protected against modification. To my amazement, I was then able to edit and modify the pdf (with Acrobat). What becomes of the ...
2
votes
1answer
42 views

How to position multiple images or tikzpictures in beamer background

I’d like to rebuild a PowerPoint template with beamer. For this, I need to position several graphic elements in the background of a frame. I have tried so many ways and codes but have several problems....
2
votes
1answer
49 views

Minipages side by side on the right half of the page

I have a letter format in which I would like to include two pictures only on the right half of the page - as seen below. Right now, one of the pictures is on the left half of the page, the other one ...
2
votes
2answers
61 views

How can I resize the images?

I introduced these images into my latex work. I want to increase the size of the images but when I do this they do not align properly. \begin{figure*}[h] \centering \begin{subfigure}[t]{0.25\...
0
votes
0answers
41 views

What is the best procedure for integrating .gif?

I have tried several solutions convert with Magick to .png and use the animate package. convert to video. Neither satisfies me. How do you do?
4
votes
2answers
189 views

Why are .gif files not supported?

This is a question that I have been asking myself for a while and I have not found an answer. Is it because of licensing issues? Because of the file format? Some other reason?
1
vote
0answers
33 views

inline graphic definition [duplicate]

I can include a jpg to a LaTeX document using the \includegraphic command. In a simulation program, the program writes latex code into a .tex file to create a result pdf. A graphic should appear. If I ...
1
vote
1answer
18 views

Include multiple PDFs with different size and additional text on one page

I have several PDF files containing vector graphics. They all have customized sized such that there is no white border present. Now I want to combine them on a single page with some additional text. ...
4
votes
1answer
70 views

Bounding a picture inside a shape on a node

I have a tikzpicture tiled inside of a tikzpicture with the shape of a starburst as a central, repeating node. I want to fill the starburst with a picture. Normally, for a question here, I'd take ...
0
votes
1answer
32 views

wrapping pictures with box

\documentclass{article} \usepackage{graphicx} \usepackage{fancybox} \graphicspath{ {d:/pics/} } \begin{document} \begin{figure} \fbox{\centerline{\includegraphics[scale=0.25]{example-image-a}}} \...
1
vote
2answers
59 views

How to prevent latex from removing the margin from a PDF image

I have a chart in PDF format, which had been cropped to have no margin using pdfcrop Months later, I realized that I need to add X- and Y- axis labels. Because I don't have the original script to ...
0
votes
1answer
51 views

Image positioning that leaves a large blank

In my document, I add an image (almost the width of the page) using \includegraphics. The problem is that the text placed after appears after a large blank as shown in the following screenshot: My ...
5
votes
2answers
123 views

Colors changing under graphic inclusion with graphicx

I have (a couple) of PNG images with a background color of, for example, RGB(80,64,83): that when placed on a page of the same background color with graphicx -- they show a distinct tonality against ...
2
votes
2answers
91 views

Images with the 'eps.gz' extension can no longer be included

The following snippet of code used to work under Linux Mint 19, but fails under Linux Mint 20: \documentclass{article} \usepackage{graphicx} \begin{document} \includegraphics{test.eps.gz} \end{...
0
votes
1answer
41 views

graphicspath per chapter with individual .tex files for each chapter

I have found a fix for what I want to do if I use subfiles, however I am either having an issue using subfiles with the custom class that I need to use, or am I having issues updating subfiles to a ...
0
votes
0answers
29 views

How do I ignore whitespace in the file name when calling \includegraphics?

I'd like my latex code to be more organised with indents so it's easier to read. Is there any way to ignore the whitespace in the file name? Here's what I'd like to do: \includegraphics[lots, of, ...
1
vote
1answer
26 views

How can I get the figure number in subfigure without common caption?

How can I get "Figure 2a)" , "Figure 2b)" instead of just "a)" and "b)" ? I don't want to have a caption for both, just like this , only with the number in ...
0
votes
0answers
37 views

Nested Latex Configuration with \import and \includegraph

I have been very busy to solve this issue by myself then I thought I wasted my time a lot to solve this problem (still couldn't solve it..). It should have a simple solution but I think I stuck with ...

1
2 3 4 5
9