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
13 views

Unexpected behavior from \vspace in a grid of \includegraphics

I am trying to produce a grid of plots using the code below. Due to the sizing, the seventh plot is vertically offset a bit, as can be seen in the first image. But adding \vspace{-0.2in} to before the ...
0
votes
1answer
30 views

includegraphics is missing a number, treating it as zero

Here is the entire code for my document: \documentclass[11pt]{article} \usepackage{graphicx} \begin{document} \includegraphics{‌image.pdf} \end{document} When compiling, I get the error ! ...
2
votes
1answer
21 views

Error Inserting Custom Symbols (Graphics) into the Section

I am making a cookbook, and want to use a single macro \recipe (in the minimal example below) to insert the name of the recipe, the tags for the food (custom symbols denoting dietary restrictions), ...
1
vote
1answer
38 views

Import pdf form in latex with filled in text

For a thesis I have to add a university specific title page and a declaration of originality to my LaTeX document. Both are pdf forms. So I can fill in the gaps directly in the pdf and also save it. ...
1
vote
1answer
30 views

TikZ External Creating Border Around Image

I am using TikZ with the external package to export a drawing as a pdf, and include in another LaTeX document. Here is the code that creates the image: % test_figure.tex % exports a pdf named ...
1
vote
1answer
20 views

Error Message: “Missing number, treated as zero.”

searched a lot around to fix this issue, usually it only takes a few seconds but now I have no luck. LaTeX puts out this error message mentioned above, here's my code: \usepackage{caption, subcaption}...
1
vote
1answer
45 views

Can't include file with \includegraphics using ifthen

I am using TexLive and TexStudio as a compiler. I created a custom class in order to produce tests. In that class file there is an option for the color output so I can choose for example to use blue ...
1
vote
0answers
16 views

make4ht/ODT: resizing of images outside of root compile directory

While using the solution to this question make4ht/ODT: resizing of images, I observed that the solution and defaults behaviours worked, but this would break down if the images were placed in a sub ...
1
vote
1answer
37 views

Shifting graphics vertically within figure

I'm sure this is answered somewhere. I've looked, but still having trouble getting exactly what I'm trying to do. Perhaps I need to use something I'm not familiar with. I'm trying to shift one of two ...
1
vote
3answers
28 views

Vertically align a figure within a multirow environment of a table

I am using multirow to merge two rows of a table - I want the figure in that column to be vertically aligned. MWE \documentclass[11pt]{article} \usepackage{graphicx} \usepackage{multirow} \begin{...
1
vote
2answers
37 views

Align figures at top in beamer

I have several frames containing figures of the same size but captions of different length. The code I'm currently using is something like this: \begin{frame} \begin{figure}[!ht] \...
1
vote
1answer
26 views

\includegraphics Package inputenc error and Undefined control sequence

**EDIT: The solution to my problem was editing the graphicspath to: \graphicspath{‪{images/}} ** I am trying to include a figure but I'm getting a myriad of error messages for the same line of code. ...
2
votes
1answer
57 views

Division by zero error when using adjustbox and makebox

first question in this stack community. I'm trying to create a new style for title page: \documentclass{article} \usepackage[italian]{babel} \usepackage[paper=a4paper, top=4cm, bottom=2.5cm, left=2....
0
votes
0answers
21 views

Position Figure in the Center [duplicate]

I want to put figure in the document so that it is positioned in the center but its margin goes beyond linewidth. For that I am using the following command. \documentclass[a4paper]{article} \...
0
votes
1answer
26 views

Cannot generate frames containing a single image

I am trying to generate a sequence of frames conatining an image each. Overleaf gives the following error, which I cannot interpret. The command works properly in other slides where I also inserted ...
1
vote
1answer
61 views

Included graphics in TiKZ with XeLaTeX get displaced

I have a problem with \includegraphics within TikZ with XeLaTeX, namely that the images get displaced. This is similar to the problem described in this question, but the symptoms are different. ...
0
votes
0answers
37 views

Whitespace in \includegraphics in combination with lualatex

When including a graphics file from a different directory than the current working directory having whitespace in its path, I usually put the path in double quotes like this: \usepackage{graphicx} .....
0
votes
0answers
25 views

Include figure with path relative to graphicspath

I am trying to insert figures, that are deep in a folder structure. Unfortunately, I cannot directly include the directories containing each of them, since there are multiple name clashes between ...
0
votes
0answers
68 views

Figure and table numbers are missing a period

I am writing a science dissertation in the memoir class. The numbering system of the figures and tables appears to use the Chapter Figure number in chapter format, but does not include any separator ...
0
votes
1answer
30 views

wrapfig not working with llncs

I am trying to split a single column page to double column such that figure appears on the left half and text appears on the right half. I try to achieve it using wrapfig \documentclass[runningheads]...
0
votes
1answer
43 views

I am unable to add the text after the PDF table inserted in latex

\begin{table} \centering \caption{TEST} \vspace{-25mm} \makebox[0pt]{% \includegraphics[width=18cm,height=27cm,scale=2.5]{Table1.pdf}} \label{table1} \end{table} I am able to insert ...
1
vote
1answer
30 views

Big picture with several smaller ones on the side with subfigure/subfig

I want a solution the problem discussed here, but using subfigure (or subfig) instead of subcaption. The question by @Makers_F was: I'm trying to achieve an effect like: _____ ___ ___ | | ...
0
votes
0answers
18 views

Remove blank pages

If I try to include something via \includegraphics, I will sometimes get a blank space that goes away if I reduce the scale of the figure. How can I avoid that?
0
votes
0answers
19 views

How can I choose the left alignment size of a graphics

I'm using \includegraphics to display a pdf on my latex paper but I want it to be positioned at the leftmost position (\begin{flushleft} isn't enough), how can I do that?
1
vote
1answer
50 views

How to move includegraphics

Exactly this question : How to shift graphics/adjust placement of figure with \includegraphics but only half the answer is given, since using \hspace* works as intended, i.e. I can move my ...
1
vote
1answer
56 views

tex4ht not converting .eps images in converted_graphics folder to .png or .svg

Inside the latex file (.tex) the typical picture command is used: \includegraphics[bb=0 0 2100 1528,width=3.83in,height=2.79in,keepaspectratio]{summbetadiethist.eps} However, when running htlatex ...
0
votes
0answers
38 views

How to use 300 dpi images of .eps file in Latex

can anyone tell how to fix a good resolution of .eps file in Latex, as I have used these images and it has been stretched, cover most of the length in the text. I am unable to increase the width of ...
0
votes
1answer
54 views

Having problems showing / inserted pictures on overleaf

Using graphicx package. I use the following command \includegraphics{dog.jpg} but I only get this empty white box with the file name (as shown below) even though I have uploaded the image to ...
0
votes
0answers
18 views

Set the max width of the image and does not stretch if smaller [duplicate]

Hi Is there any option in includegraphics in a way that I can specify the maximum width of the figure. If the image is larger than the specified width, it should be resized to its maximum width. ...
2
votes
2answers
59 views

Print the “scale factor” on each figure as a watermark

From a previous question (\includegraphics: get the "scale" value of a figure whose size is expressed by "width") I learned how to get the scale factor of a figure inserted by the \...
4
votes
2answers
57 views

Inserting a transparent background image

I am wanting to include a signature on a document using Signed:\\ \includegraphics[scale=0.5]{Signature} \rule[1em]{25em}{0.5pt} The image is .png with a transparent background. However,...
4
votes
4answers
241 views

\includegraphics: get the “scale” value of a figure whose size is expressed by “width”

Lets take this string: \boxed{\includegraphics[width=0.4\textwidth]{FIGURE.pdf}} that generates this figure: Now lets say that I need to crop the blank margins of the figure keeping the figure's ...
0
votes
1answer
28 views

Inclusion of separate files in a main file show error for graphics

When I call two separate files(chapters) from a main file, it shows error for graphicx. Details are bellows: (i) The main file main.tex contains following contents: \documentclass[a4paper,...
0
votes
2answers
78 views

Improve quality of Windows illustration \includegraphics especially Powerpoint

I have been doing a powerpoint illustration and saved it as a png image type. I then included the graphics, by using the following code: \begin{figure} {\includegraphics[scale=0.6] {Logo/...
0
votes
2answers
25 views

caption images in beamer inside column env

How do i caption these images? \begin{frame}{Einführung 2} \begin{columns} \column{0.5\textwidth} \centering \includegraphics[height=2.5cm]{FiguresAndPictures/AlleAktien-...
2
votes
1answer
53 views

Includegraphics without stretching

I am trying to use \columns in conjunction with \includegraphics to show a "list" of pictures. Sadly this code: \begin{frame} \frametitle{Einführung} \begin{columns} \column{0.5\textwidth} ...
0
votes
1answer
63 views

Generate DVI file from valid TEX with pdflatex returns error for images

I can render PDF using pdflatex normally, I used Makefile like this: all: pdflatex $(PAPER).tex bibtex $(PAPER) pdflatex $(PAPER).tex pdflatex $(PAPER).tex This renders PDF with no ...
0
votes
1answer
29 views

Plot figures on the y axis with pgfplots

I have a graph and I want to plot on the Y axis figures instead of numbers or text. My code is the following: \begin{tikzpicture} \begin{axis} [ xbar, xmin=0, xmax=10, width=7cm, height=8cm, ...
5
votes
2answers
90 views

Find the width of a figure in latex, to properbly align multiple minipages within a figure

I want something like this: made with this MWE: \documentclass{memoir} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{graphicx} \usepackage{duckuments} \newsubfloat{figure} \begin{...
4
votes
2answers
76 views

Yet another images in tables question alignment. Want text to start at top of cell. Not centered

I want to have a table with image in one cell and text in other cells. I know about the issue of alignment at center of cells. So I use the trick of \raisebox{-.5\height}{\includegraphics[...]`...
1
vote
0answers
16 views

Grid alignment of 4 images [duplicate]

I wanted to align the four images in a grid of 2x2, but the images are getting arranged vertically. I'm working on a template of IEEE format. This is the code that I'm working on: \begin{figure}[!tbp]...
1
vote
2answers
29 views

Expand graph over twocolumns on titlepage

I am using the (very outdated) documentclass asme2ej, which produces two-column academic journal documents. My problem is as follows: I want to print my title, switch to onecolumn style and add an ...
0
votes
1answer
108 views

Problem with \includegraphics and long relative path and parent folder

after a long search without results I hope you can help me. Here is my problem: I can't load .pdf files with \includegraphics. The background is that I have one repository to create my frequent used ...
1
vote
1answer
40 views

How to reduce white space around floats to prevent them from taking an entire column

I have a two column document that features a couple of high aspect ratio (tall) floats which, including the caption, take up more than half, but not a full column. When I compile Latex always seems ...
0
votes
0answers
30 views

Beamer background does not match pdf background when including pdf as image

I want to include some pdfs in my Latex beamer presentation like so: \begin{figure} \includegraphics[]{./path/to/image.pdf} \end{figure} Unfortunetaly there is a clear change in color between ...
1
vote
1answer
78 views

Populating a tikz matrix with complex content

I am trying to populate a tikz matrix dynamically using foreach to loop over a list-argument and breaking it further apart using xstring operations. I am hitting an issue where, as far as I can tell, ...
1
vote
1answer
41 views

Creating a titlepage: two figures in one line (left and right)

In order to create a title page I would like to include two logos in one line where one of the figures is left and the other is one the right side. My first minimalistic examples using the following ...
0
votes
1answer
38 views

How to fix clash between pdfpages/graphicx and invoice package on overleaf

How to reproduce clash? Use this template: https://nl.overleaf.com/latex/templates/invoice-template/rpdlzpjmkfmj Add \usepackage{graphicx} or \usepackage{pdfpages} Actually now that I test it, ...
1
vote
1answer
32 views

Figure with uneven size images

I would like to create a figure with five images as shown in the attached file (2 images on the left, and 3 on the right side) and put a thin black border around all five images. I only know how to ...
0
votes
1answer
37 views

Wait until a page is full, then add an image on the next page

I have some documents (book, memoir, and article classes) with full-page graphics on their own pages. When putting in \includegraphics{foobar.png}, the graphic will always appear in that position in ...