Questions tagged [graphics]

{graphics} is about inclusion of external graphic files in your document. For questions about vector graphics created programmatically inside a (La)TeX document, use {diagrams} instead, or preferably the tag for specific packages like {tikz-pgf}, {pstricks}, or {metapost}.

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

remove extra space on top of figure

I am using 3 subfigures in my figure such that each sub figures appear in a new line.The figure should start from the first line or so. Instead, it appears to be in the center of the page (vertically ...
0
votes
0answers
40 views

Matching colors

I'm having trouble matching colors. I build myself a "top" and "bottom" for an abstract box. However, I can't get the middle background color to work. No matter what I try, even ...
0
votes
1answer
25 views

overfull hbox too wide in Figure

I am using this method to add 3 images as a single figure in a column such that each image appears in a different row and there's nothing else in the row. The overall figure should be in center. ...
0
votes
1answer
24 views

Aligning multiple tikz and algorithms with subfigure

\documentclass{article} \usepackage{graphicx,subcaption} \usepackage{algpseudocode} \usepackage{tikz} \usetikzlibrary{arrows.meta,positioning} \usetikzlibrary{shapes.misc} \usetikzlibrary{shapes,...
2
votes
2answers
67 views

What's the best way to write over an image?

I'm trying to write text over an image like this exemple: I've read a lot about this topic but as I'm quite a beginner with Latex I'm lost (I'm using Overleaf with pdflatex btw). I did the exemple ...
0
votes
0answers
12 views

\includesvg is showing three copies of whatever the first image is

I'm using the following bit of code in a project: \begin{tabular}{ccc} \includesvg{Image1.svg} & \includesvg{Image2.svg} & \includesvg{Image3.svg} \end{tabular} The three images it'...
0
votes
1answer
27 views

Scale image figure to page width

I am using the following code to scale the image figure to the page width: \begin{figure*}[!ht] \centering \includegraphics[width=0.90\paperwidth]{mypdf.pdf} \caption{Caption goes here} ...
0
votes
1answer
47 views

Parabola with offset in tikz

The parabola seems to be plotted wrong, the vertex is located in (2,1), but tikz plot it around (-2,1). I have detected some issues while using \pgfplotsset{compat=1.14} and \pgfplotsset{compat=1.17} ...
1
vote
1answer
29 views

Generate cross-referencing graph

TL; DR Is there a package that auto-generates a graph for the inference structure from a tex source file? Writing mathematics is hard. A reason is that, while the underlying structure of the ...
0
votes
0answers
35 views

What is a good tool or software for generating curved lines for Latex graphics?

For example, I want to generate the following images, or I am using LaTexdraw at the moment but it seems to be very bad at generating curves. What would be a good choice for generating these curves ...
0
votes
1answer
28 views

issue with a circle using tikz,beamer and pgfplots

Im trying to make a circle like this using the next code \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.14} \begin{document} \begin{tikzpicture} \begin{axis}[...
0
votes
0answers
30 views

image cache for pdflatex like for dvipdfmx?

When using dvipdfmx for PDF generation from DVI, one has the -I option, which caches images for a specified number of hours between runs. This is very useful to speed PDF generation when including ...
-5
votes
0answers
44 views

Solve: 'How to put an imagen in LaTeX' [closed]

I had a problem with 'How to put an imagen in LaTeX', but I used TextStudio and I saw that in the header of that IDE you can use the option LaTeX//Insertat o Incluir Archivos//Insercción de Imagen. ...
1
vote
1answer
33 views

How do I remove the logo from this template frontage?

I'm not able to locate where the frontpage logo has been inserted in the code of the following template: https://da.overleaf.com/latex/templates/kom-thesis-template-v1-dot-5-1/tsmshxkgpyjy How can I ...
0
votes
0answers
9 views

Problem in pdfs with multi-layer images

I've hand drawn some pictures for my thesis using an ipad app called Concepts. The app can export an SVG file, which I edited in inkscape, adding letters and math symbols. From Inkscape I exported the ...
0
votes
0answers
27 views

having problem inserting image in latex, only draws a square

I have uploaded an image .jpeg in overleaf and tried to include it my document but it does not show anything. It just draws a square but no image inside it. My code is below: \documentclass{...
0
votes
0answers
41 views

bounding an image by 4 corners and making them set the perspective

Edit new question formulation I wan't to distort an image so it fits within 4 poins defining a plane. @abcdefg suggested an answer and I took a look at it: Text in TikZ with perspective (not just ...
5
votes
0answers
57 views

How to provide good looking TeX output in StackExchange? [migrated]

I realise that this is not directly concerned with TeX and friends but it is about improving my answers to such questions. I try and provide an MWE in my answers and I want to show their typeset ...
0
votes
1answer
32 views

How can I delete the name of figure?

First I use \usepackage{graphicx} Then I use this command to insert the figure \includegraphics[scale=0.5]{Close Price.png}. But finally I get the name of it, which is "Price.png". I do not ...
0
votes
0answers
18 views

annotated DAG as a force-directed plot with curved edges and a 'major axis'

How can I generate a plot like Fig. 1 (below) which is based on sample data in Tables 1,2 (below)? The data includes: a directed graph (Table 1) both discrete and real-valued vertex annotations (...
0
votes
1answer
19 views

insert text between two logos on title page (horizontally)

I need to insert two logos of my university between its name like this But the best I made is this Logos are slightly different but it doesn't matter. I was trying to put images into the figure ...
11
votes
2answers
3k views

How to Draw a Rose in Latex

Is it possible to make a reasonably simple Latex facsimile of the following rose image: The picture comes from a previously posted question on this site: How to set opacity of background picture and ...
0
votes
1answer
49 views

PGF equivalent of PostScript relative movement (`rlineto` and `rmoveto`)

Like PostScript (with its rmoveto and rlineto), TikZ makes it trivial to produce relative movement of the current point. I'm not seeing anything equivalent in PGF. Is it missing? If so, is it easy ...
0
votes
1answer
42 views

Write on pictures [duplicate]

Is there a way to write on pictures using LaTeX, and I don't mean like including graphics and all, I mean like writing on pictures directly. Any suggestions?
2
votes
1answer
106 views

How to delete a part of a curve in Tikz?

I would like to do this: I am actually begin with this code: \begin{figure} \begin{tikzpicture}[scale=1.2] % Axis \draw [->] (0,0) node [below] {0} -- (0,0) -- (5.5,0) node [below] {Good 1}; \draw ...
0
votes
1answer
24 views

Space between equations/figure depends on previous paragraph/newline

I need to rewrite a Latex book and optimze the code and found a "problem" which I cant solve and dont find a global solution. In my opinion the code is better to read, if there is a newline/...
2
votes
1answer
30 views

Beamer: set position of custom image in title frame

I want to add a custom image to my title frame in beamer. To do that, I use : \documentclass[10pt]{beamer} \usetheme{default} \usecolortheme{seahorse} \usefonttheme{professionalfonts} \usepackage[...
1
vote
1answer
30 views

Change extension of argument to \includegraphics (\includegraphics{xyz.svg} → \includegraphics{xyz.pdf

I'm trying to write a macro which takes a file name as input, changes its extension, and passes that to \includegraphics. I have seen \includegraphics, try another extension , which gives an ...
0
votes
0answers
24 views

Annotating / Labeling an Image with tikz-imagelabels and adding a custom style

I want to use the TikZ package tikz-imagelabels in conjunction with these types of labels I found used in a pie-chart demo but I have absolutely no idea where to start. Im not so good with TikZ to ...
0
votes
0answers
49 views

`epstopdf` can't handle paths going up in the file hierarchy: pdftex.def error

I try to include *.eps files from several directories, but epstopdf seems to be able to only go down the file (system) hierarchy, whereas some files are placed in paths I had to symlink into my LaTeX ...
1
vote
0answers
36 views

How to correctly position a graphics included in an anchored TikZ node?

In this MWE, \myfig seems to be shifted horizontally by some half \pgflinewidth: \documentclass{article} \usepackage{tikz} \def\myfig{\includegraphics[height=1cm, width=\linewidth]{example-image-a4-...
-1
votes
0answers
30 views

Crop background pdf to margins

I am trying to get a pdf as background on every page that stays within the margins and is kept to scale, meaning it is cropped to the margins instead of scaling down to fit. Ideally it will work with ...
1
vote
1answer
101 views

Change in Video embedding?

I am trying to embed a video in a beamer presentation. I must specify that the exemple below using media9 package was previously working. It is not working anymore, and I don't understand why. I am ...
0
votes
1answer
24 views

Remove the figures in a draft while keeping the hyperlinks

I want to remove the figures of my document so that it compiles more quickly and compile it as a draft as indicated in this SO question. However what I would like is to remove the figures but while ...
1
vote
0answers
29 views

How do I put text around a picture in irregular lengths?

First time asking a question because I really couldn't find one similar. I have a background picture which is a paper texture + a graphic on the bottom right corner. The reason for this, is because ...
0
votes
0answers
14 views

Subplots don't plot next to each other (Overleaf)

I am trying to put two subplots next to eachother under one big subplot, with this code: \begin{figure} \centering \begin{subfigure}[b]{0.9\linewidth} \includegraphics[width=\linewidth]{figures2/...
0
votes
1answer
30 views

Error from PGF/TikZ .tex file from geogebra (size)

I am using geogebra for the first time and am having an error when I put the PGF/TikZ code into overleaf. The exact error is Float too large for page by 455.39223pt on input line 306. main.tex, line ...
1
vote
2answers
38 views

Get graphic width

I'd like to have a command for inserting images in a figure with a width given by either the dimension of the raw image or the text width, whichever is smaller. I'd like to avoid blowing up images but ...
1
vote
0answers
40 views

latex: includegraphics not working

\includegraphics is not working with texlive. The minimal code included in the file "test.tex" is the following \documentclass[]{article} \usepackage[utf8]{inputenc} \usepackage{graphicx} \...
3
votes
1answer
34 views

Insert empty space between decoRule and figure

I wanted to insert a little space between the figure and the line of \decoRule. Instead \vspace{} is adding a space between the line and the caption. Does anyone know a why it does that? Thanks. \...
1
vote
1answer
32 views

What order does LaTeX check for image file extentions? [duplicate]

I'm reading the tutorial on LaTeX by overleaf, and in their section Adding Images they have some example code: \documentclass{article} \usepackage{graphicx} \graphicspath{ {images/} } \begin{...
2
votes
2answers
43 views

Vertical centering of text in tabular cells

I am trying to vertically center some text in a cell in a table. I have found some similar examples that make use of \rotatebox. However, I can't seem to get vertical centering to work. Here is an ...
0
votes
0answers
31 views

Latex includes a png file ./…png that I cannot find on my computer

I have a working latex code for a paper. It uses one image graphics file named ./DecompMatrFoValpha..png as I see in my log file on p. [4]. All other image files on later pages [5],[6] are findable ......
0
votes
2answers
37 views

Aligned and centered figures

I have 3 figures and I want to put two at the same ligne, where the third is centered below them as you can see below. How can I center the third figure? Thank you.
1
vote
1answer
35 views

Vertically aligning side-by-side images in Beamer

tl;dr: In any Beamer presentation, how to vertically align images at the top? Consider the following frame: \begin{frame} \centering \includegraphics[width=0.3\textwidth]{fig1} \includegraphics[width=...
0
votes
0answers
34 views

A common way to contribute copyrighted images?

I'm writing a script about art & mathematics with a lot of pictures that I must contribute copyright. I would not like to put the copyrights in the caption, is there a usual way to attribute ...
0
votes
0answers
31 views

IEEE Transaction issue figure over two columns

When I am trying to span a figure over two column in the template delivered by IEEE (I used the template in this website "Transactions, Journals and Letters" => "IEEE Transactions on ...
0
votes
0answers
19 views

How to mirror and position the analog clock dials

I am trying the create analog clock dial with roman or standard numbers on display and at the same time create another one but the mirror image of it. I managed to do that but for some reason a third ...
1
vote
1answer
25 views

How can I arrange my plots using subfloat?

\usepackage{graphicx} \usepackage[]{subfig} \begin{figure}[hbt!] \centering \subfloat[\label{Airline:a}]{\includegraphics[width=0.46\textwidth]{a.eps}} \qquad \subfloat[\label{Airline:b}]{...
0
votes
1answer
12 views

Configure the Matplotlib figure size so that the font within the graphics matches the font in the text

I would like to configure the size of a figure produced by Matplotlib so that the font within the graphics matches the font size in the text. The following Python script produces the figure using Tex ...

1
2 3 4 5
119