Skip to main content
Share Your Experience: Take the 2024 Developer Survey

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
0 answers
12 views

How can I display the complete coordinates with ‘\addplot graphics’ on the respective axes in TIKZ?

I use ‘tikz’ and plot an ‘eps’ file in an axis. In the axis I place a coordinate system around this image. Now I have the problem that the last numbers (3 and 2.7) are not displayed in the x- and y-...
data's user avatar
  • 31
0 votes
2 answers
25 views

Unable to control the layout of the images in two columns, even if there is enough space?

I would like to place the three figures in the paper as follows: Figure 1: Top of the left column. Figure 2: Top of the right column. Figure 3: Bottom of the page, Figure 3 needs to occupy the ...
ojipadeson's user avatar
2 votes
1 answer
40 views

How make raggedleft really right aligned in if/else environment?

For some reason, the \raggedleft isn't really right-aligned. I tried minipage but that apparently doesn't work in the if/else environment. \documentclass[ % handout, english,usenames,...
jay.sf's user avatar
  • 477
1 vote
1 answer
17 views

tex4ht warning cannot determine size of graphic

With tex4ebook I get warnings for tex4ht when includegraphics, and the images are squared in the epub and not rectangular like in the pdf, so they seem a bit distorted. TeX4ht warning --- Cannot ...
Thomkrates's user avatar
2 votes
2 answers
47 views

Tikzpicture Multi-Edge

I want to create a multigraph. It's correct so far, but I want to have 3 edges from A to the same node B. This is my latex code: \begin{tikzpicture}[level distance=1.5cm, level 1/.style={sibling ...
VD3's user avatar
  • 19
0 votes
1 answer
26 views

How to set the size of the image in IEEE format

The size of the image does not adjust according to the document, following the IEEE format. \begin{figure}[htbp] \centerline{\includegraphics[width=100px]{first.png}} \caption{caption} \label{fig} \...
Eman Fatima's user avatar
1 vote
1 answer
17 views

How to have the left padding/margin be 0 so that this columnwidth image does not have extra margin/padding on right?

How to have the left padding/margin be 0 so that this columnwidth image does not have extra margin/padding on right? \subsubsection{AI3D Benchmark Card} The AI3D Foundation produces a ``Benchmark ...
ina's user avatar
  • 123
2 votes
2 answers
83 views

Insert Image beside Tabular

I have some issues with Image Inserting. That's the Code part. \begin{rSection}{Persönliches} \begin{tabular}{ @{} >{\bfseries}l @{\hspace{6ex}} l r } Geburtsdatum: & xyz & \multirow{3}...
luks's user avatar
  • 21
4 votes
2 answers
96 views

\verse in a \caption

the following example gives a hail of error messages, also neither the verse nor the reference are correctly formatted as part of a caption. Simply \protecting the verse does not help. %%==============...
Engelbert Buxbaum's user avatar
-1 votes
1 answer
86 views

Existence and uniqueness [closed]

Sorry, I am new to LaTeX. How can I make this figure or something similar from Nagle's Differential Equations book in a TikZ code?
Carlos Eduardo Velez Cantos's user avatar
1 vote
1 answer
9 views

Fix position of images across slides below text of variable length

I have created the two images shown below, which have the same height but different widths. Since they are meant to be seen sequentially to highlight different aspects of the dataframe, I want to fix ...
NC520's user avatar
  • 147
0 votes
0 answers
16 views

latex not finding graphics in wd. using RStudio and r sweave

\documentclass{article} \usepackage[pdftex]{graphicx} \graphicspath{{"path to directory"}} \begin{document} \begin{figure}[p] \includegraphics[width=\linewidth,height=0.9\textwidth]{{&...
Groggy's user avatar
  • 1
0 votes
0 answers
19 views

Included pdf figure is not displayed [duplicate]

I am trying to include a pdf figure into my main.tex but do not see anything. The figure pdf file is generated by me through the command pdflatex -shell-escape "C:\Users\saro.harutyunyan\...
saroyr's user avatar
  • 23
0 votes
2 answers
56 views

How to avoid centering caption by default?

The caption centering is quite annoying, is it possible to avoid it? My problem comes when in my code \documentclass{amsart} \usepackage{graphicx} \usepackage[font=small, labelfont=bf, ...
baristocrona's user avatar
-2 votes
1 answer
57 views

jpg diagram to latex [closed]

I want to obtain this jpg diagram as a latex code to modify the parameters
Sayed Sayari's user avatar
1 vote
2 answers
80 views

Separate nodes in tikz latex

I want to draw this tree in Latex. It is a graph of a structural proof for some code. I have tried \node [draw, circle] {1} child { node [draw, circle] {2} child{ node [draw,circle]...
baristocrona's user avatar
0 votes
1 answer
14 views

Typesetting a 2 times 2 figure grid terminates with error

My M(non)WE is: \documentclass{article} \usepackage{subcaption} \usepackage{graphics} \begin{document} \begin{figure} \begin{subfigure}{.5\textwidth} \centering \includegraphics[width=0.8\linewidth]...
coderodde's user avatar
  • 549
5 votes
2 answers
457 views

Calling TikZ code (speedometer) several time to plot the same graph multiple time

I wonder if there is a way to encapsulate the following tikz code in a function so that I can repeat that diagram several times on the same page. I wanted to be able to redraw the following chart ...
Kernel's user avatar
  • 165
0 votes
1 answer
22 views

Display multiple paragraphs at the right side of an image separated by vertical line

What I am trying to do I'm trying to typeset the following using LaTeX. The image shown below was created using Inkscape. Some important details: Paragraphs, which are shown on the right side, are ...
rdrg109's user avatar
  • 717
5 votes
5 answers
141 views

Adjust image width to occupy the entire width of a tabularx cell regardless of the width of the column

What I know I know that it is possible to set the width for specific columns when using the tabularx environment. See minimal working example below. The preamble argument for the tabularx environment ...
rdrg109's user avatar
  • 717
2 votes
1 answer
113 views

Drawing surfaces with TikZ

As a complete TikZ novice, I want to create surfaces like the following handdrawn one with TikZ: Ideally, this should be coded bottom-up: First you draw the bident with xy-plane at height 0. Then you ...
Max Demirdilek's user avatar
0 votes
1 answer
25 views

Using y right axis axis - tikz

I asked this before but somene said it needed clarification. Sorry for the oversight, I want to plot a stacked area. However, when trying to use the secondary y-axis, the "yticklabel" is not ...
Fernando's user avatar
  • 101
2 votes
1 answer
57 views

Includegraphics doesn't work

I Had TexWork editor on my previous computer and It worked (I wrote many rapport, thesis, ...). But now I reinstall it on my new computer and I can't use includegraphics anymore, (codes I did before ...
Leonardo Rafael Mora's user avatar
0 votes
0 answers
37 views

Why there is space between the images in subfigures [duplicate]

Why there is space between the images in subfigures? Also, the space is not even. How could I fix that? Notice, that I change the images for privacy. %---------------------------- \begin{figure*}[h]%[...
user836026's user avatar
1 vote
1 answer
41 views

Position the text on the left and the images on the right for the entire document

How can I do the following formatting for the entire document? That's what I expect to see: I tried to make it in the form of a minipage/table, but the text and pictures are not located on the same ...
Ara Ray  's user avatar
1 vote
1 answer
74 views

trim and clip \includegraphics PDF leaves selectable text artefact

I regularly use \includegraphics with trim + clip option to e.g. include a single panel from a larger figure in a .pdf file. I recently noticed in the Evince PDF editor I can select text objects from ...
pip's user avatar
  • 1,887
0 votes
0 answers
31 views

How to overlay figure caption on a image in overleaf latex?

I am using Overleaf latex. I have an input image that I cannot change/reorganize. I need to use this image to create a figure. The image itself is full page high. The left bottom of the space has ...
skm's user avatar
  • 960
4 votes
1 answer
52 views

Shading area between tangent normal and x-axis

I was wondering if I could get some help filling in the area bounded between the tangent the normal and the x-axis (which is the triangle). I've read through quite a bit of material and threads but ...
BillyBOB1's user avatar
3 votes
2 answers
133 views

Insert text if pictures in a certain folder exists

my code is the following \documentclass[ngerman,german,14pt,twoside,openany]{scrbook} %Bei Hochformat [oneside] zusätzlich eintragen und linker Rand 3cm, 2 Spalten und 6cm Bildhöhe \usepackage[left=2....
mario1000's user avatar
  • 174
1 vote
0 answers
54 views

Drawing arcs with arrowheads

The code below (which uses the pict2e package) seems to do what I intended but I want to do some further editing and add some other lines and label the angles differently. When angles are adjacent to ...
Michael Hardy's user avatar
0 votes
1 answer
29 views

How to Exactly Downsize Font outside Resizebox Based on Font Size inside Resizebox?

The following minimal working example resizeboxes a long tabular to textwidth, but the caption and sentences above the tabular are not downsized accordingly. I wonder whether there is a way to exactly ...
Junyong Kim's user avatar
0 votes
2 answers
42 views

How to set a image in the header via fancyhdr?

I am veeery new to LaTeX but I am encountering a very weird issue, because I need to have the header, on only the first page, as shown in the screenshot. And the Univeristy provided a rectangular ...
ANunzi's user avatar
  • 1
2 votes
2 answers
109 views

How to share a figure between 2 columns with paracol

I am writing a report in two languages. Therefore, I use the package paracol to synchronize my text in columns. I also use a \columnseprule to separate the two columns. My problem is that within this ...
R. N's user avatar
  • 1,122
2 votes
1 answer
67 views

Paragraph gets under the figure despite being above in code

I am trying to make the paragraph to be above the figure yet it is put below. Why ? I have tried different figure options with no success. \paragraph{Poniżej jest porównanie obrazów przed i po ...
Szymon42214's user avatar
4 votes
1 answer
164 views

dashed line in tikz

I have written the code for this figure, how can I add these two dashes to it \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows,positioning,fit} \usetikzlibrary{arrows,calc,positioning}...
mzn's user avatar
  • 325
4 votes
2 answers
88 views

Putting tikzpictures next to each other

I want the three triangles in this document to be centered and equidistant from each other. How would I do that? Sorry about the formatting, I'm new in this side of StackExchange. \documentclass{...
rudytheduck's user avatar
1 vote
0 answers
49 views

How to draw 3D blocks stacked to grow on each other without caring about the order of drawing those blocks on Tikz

I'm trying to draw adjacent cube shapes. If I don't specify coordinates in order, the lines of the subsequent shape will overlay the previous ones as shown below. How can I handle this issue without ...
trong vox's user avatar
-1 votes
1 answer
171 views

Draw several cars with TikZ and and special style arrows

Can you guide me to draw this figure? I have drawn several cars with this code: \documentclass[border=10pt]{standalone} \usepackage{tikz} \tikzset{ pics/my car/.style={ code={ ...
mzn's user avatar
  • 325
2 votes
2 answers
64 views

Create Customized tables

I was wondering if it is possible to create customized tables in LaTeX similar to the one shown in the picture below. I have searched extensively online, but I couldn't find any satisfactory solutions....
Maximilian's user avatar
1 vote
2 answers
34 views

Two indentatinons in one image for two different captions

So my collage require that my work should have one upper cation for an Image and another one at the bottom just for the source of the image. That being said , it also requires that the first caption ...
Juba's user avatar
  • 11
0 votes
1 answer
13 views

I want the image to be in te middle of the title and the end of the page. What can i do?

\documentclass[a4paper, 12pt]{article} \usepackage{graphicx} \usepackage{amsmath} \usepackage[dutch]{babel} \usepackage{booktabs} \begin{document} \begin{titlepage} \title{Adviesrapport} \...
Stef Jansen's user avatar
0 votes
1 answer
26 views

Inserting the Basename of a file in a href

In my document I have this macro (GraphicIf) to only insert images if they actually exist, and fall-back to an example image otherwise. Recently though, I wanted to add a href to the basename of the ...
Xaldew's user avatar
  • 115
0 votes
1 answer
24 views

having error while inserting image

while applying this code, my output for image i have inserted is mixed pixels like blurry image is showing. Please help \documentclass[a4,12pt]{book} \usepackage[english]{babel} \usepackage{blindtext}...
prashant's user avatar
0 votes
0 answers
28 views

Want to improve the image quality and decrease the image size

There is an image that I am using for my project and I want to make it small (by reducing size so it looks fine) along with increasing the quality of image. I am using below code: Code used is: \...
Dheeraj's user avatar
  • 13
1 vote
1 answer
44 views

Image doesn't show in Tikzposter

I'm using Tikzposter and when I've tried to add an image it doesn't show in the pdf, after compilation. I have used this code : \block{A figure} { \begin{tikzfigure} \...
Ourida Chaigne's user avatar
2 votes
1 answer
52 views

List of figures vs. endnotes

I am using endnotes and list of figures. But for some reason, the list of figures does not list any figures. It seems that there is a clash with my endnotes. Any ideas? \documentclass[11pt,a5paper,...
B.Hueber's user avatar
  • 221
2 votes
1 answer
55 views

issues with overfull \vbox and tabularx figure arrangement

Hi there I was looking into a clever way to present five figures in LaTex. I found this post which I believe it's quite useful in my case since I can present an enlarged version for one of the ...
Matteo's user avatar
  • 163
0 votes
1 answer
59 views

Unable to load picture or PDF file - Xelatex

As of recently I am having a problem of compiling my .tex file. Mainly it fails when processing or loading an image but only for xelatex, while pdflatex works fine. Here's the sample code: % Setting ...
Abovegame's user avatar
0 votes
0 answers
41 views

If a file named `picture_test.aux` is missing for the graphicx package, then where can I get a copy of the file, and where do I put it?

If a file named picture_test.aux is missing for the graphicx package, then where can I get a copy of the file, and where in the LaTeX installation do I put it? Code \documentclass[]{article} \...
IdleCustard's user avatar
  • 1,230
3 votes
1 answer
136 views

Fallback image file for includegraphics

My question is something I feel should be relatively easy to resolve, but I cannot find any references online on how to do it. The basic premise of my situation is as follows: I have a number of image ...
Mel's user avatar
  • 97

1
2 3 4 5
143