2022 Developer Survey is open! Take 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
11 views

Tikz image resizing + externalize to eps in standalone

I have a tikz image that I want to resize (with \resizebox) and then export as .eps. The PDF file that is generated by pdflatex has the correct dimensions from resizebox. However, the PDF generated ...
user avatar
  • 47
0 votes
0 answers
13 views

Graphic size error in lyx

i am getting this error : Latex error :cannot determine size of graphic Try typing to proceed. If that doesn't work, type X to quit.
user avatar
1 vote
2 answers
61 views

Remove the heading of the page where the figure is?

I need to insert a very large figure which will occupy the whole page, so I need to remove the heading of the page where the figure is. I do this with code: \documentclass[a4paper,12pt,twoside]{book} \...
user avatar
  • 449
2 votes
1 answer
48 views

A finite number of arrows in an ODE solution

I was trying to edit this answer a bit, I wanted to put 5 or 6 arrows on the red and blue lines, I couldn't do it. The only thing I managed to do is this: (a lot of arrows come out and it's not what I ...
user avatar
  • 317
2 votes
2 answers
154 views

How can I draw a box around a picture plus text?

Right now I am struggling with getting a box around some text with a figure. The idea is that I have a small picture on the lefthand-side with some text right next to it. And then draw a box around ...
user avatar
0 votes
0 answers
68 views

Help for drawing graphs in LaTeX

How do I graph something like that in LaTeX? This is the code I've got so far. \documentclass{article} \usepackage{tikz} \usetikzlibrary{arrows.meta} \begin{document} \begin{...
user avatar
1 vote
2 answers
70 views

Writing mathematical expressions with chemical formulae

How can I write phrases like the ones shown below? Edit: I tried using the chemfig package but I got this:
user avatar
3 votes
1 answer
69 views
+50

Classification of index in Phase Portaits

I am trying to make the following graphs horizontally, I used the following answer as a basis: input: \documentclass[border=1mm]{standalone} \usepackage{tikz} \usetikzlibrary{decorations.markings,...
user avatar
  • 317
2 votes
1 answer
47 views

Scatter Plotting an Image in a Pspicture with Polar-Type Coordinates

I would like to be able to direct an image from a fixed point in a pspicture to various locations in the picture individual specifying angles and radii from that point. Consider the code (which I ...
user avatar
  • 4,927
0 votes
1 answer
52 views

Incorrect formatting of table with graphics inside using centering statements

I am trying to produce this beautiful table with ducks. I have two formatting issues that are connected: the most annoying one is that when zooming on the table the white \Xhline or the color bands ...
user avatar
  • 123
1 vote
0 answers
27 views

How to size the image resolution in Latex?

I'm using overleaf to write the report of a big group project. There are lots of figures in the file. Thing is, I noticed that the pdf file output is becoming larger and larger due to the large png ...
user avatar
1 vote
1 answer
39 views

How to Produce a Circular Display of Images

I have an image (in this case, a colorized predefined one) that I would like to display in a circular fashion about a fixed point and specified radius. Consider the minimal (nonworking) example which ...
user avatar
  • 4,927
1 vote
1 answer
24 views

Creation of a new command so that you do not have to write a certain caption by hand

I have a problem. My figures should have a caption like <Caption> - Own representation, based on [1]. As you can see I am writing Own representation, based on [<literature>]. Is there an ...
user avatar
  • 151
0 votes
0 answers
20 views

Width of images as max to textwidth, but scale down

I'm using images in my master thesis and I want them to be no wider than linewidth, but scale them down to 70%. How can I do this? Current code: \begin{figure}[!htb] \centering \includegraphics[...
user avatar
0 votes
0 answers
13 views

Which should be the workflow of creating figures with AutoCad to insert them into LaTex?

I was wondering if someone that uses AutoCad to create figures that will later on get imported into LaTex could share with me his/her workflow. I used to export an AutoCad figure as a pdf document to ...
user avatar
5 votes
1 answer
238 views

Clockwise and counterclockwise path around the origin

I want to draw the following At first I thought of doing something like a dipole but then I realized that it was not like that, it is just a curve that returns it to the origin of coordinates in a ...
user avatar
  • 317
0 votes
1 answer
28 views

Wrapfig after subsection near page break

I know wrapfig has problems with images near the bottom of the page, but I want to know if there is a solution (even with a different package, for example with minipages). This is my MWE: \...
user avatar
  • 33
1 vote
2 answers
129 views

Rotation number of a vector field

I am trying to define what is the rotation number of a vector field and for this I need to show the following graph (or one quite similar) my attempt is as follows (I used as template the code given ...
user avatar
  • 317
1 vote
1 answer
32 views

insert picture in a table - Latex Overleaf

I want to have a table of two columns and two-rows, one of the columns I want to put a picture in it, and in the second one I want to put a paragraph here is my code so far : \begin{tabular}{ | m{5cm}|...
user avatar
  • 13
1 vote
2 answers
57 views

Graphics Alignment

I have compiled this code but the right part is somewhat messy. I would like the two graphs on the right to be aligned (centered) one below the other, but I have not been able to do so. Any idea to ...
user avatar
  • 317
1 vote
2 answers
47 views

Colored and inclined boxes

I would like to get the following colored boxes so that they are also slightly inclined. Here is a picture of what it should look like Can someone tell me how to do this with latex? Which packages do ...
user avatar
  • 387
4 votes
3 answers
595 views

Draw the flat torus

I want to graph a curve on the flat torus, but not on the entire R^2 plane, but on the square [0,1]x[0,1]. For this, I have created a "do...while" with only the initial data of the rational ...
user avatar
  • 317
1 vote
1 answer
52 views

Join graphs tikz + pgfplots

I have two graphics that I would like to join into one but even more I would like to put them inside text, something like this: \documentclass[12pt]{article} \usepackage{tikz} \usepackage{pgfplots} \...
user avatar
  • 317
2 votes
2 answers
60 views

TikZ: prevent overlapping boxes when using fit

I am drawing the following figure where I am highlighting a node-set using red. It is meant to include five nodes and it does. But this is a complex shape for fit (probably too complex) so I decided ...
user avatar
  • 311
0 votes
1 answer
42 views

Displaying moderator analysis with 3 variables with LaTeX

i found how to do a mediation here : Displaying mediator analysis with LaTeX (TikZ-pfg maybe?) but i don't manage to transform it to a moderation like this : I'd like to keep the possibility to put ...
user avatar
0 votes
2 answers
24 views

how to subreference in floatrow package - hyperref?

I have a subfigure environment using the floatrow package and I would like to reference each figure in the panel individually in my paragraph as follows: figure (3a) and figure (3b) but it somehow ...
user avatar
  • 69
0 votes
1 answer
35 views

pdf file containing a cropped image is displayed as if the image is not cropped already

I have come across this code here(How to manipulate an externally-generated pdf figure in LateX?) that allows me to send some labels/annotations to an image in a pdf file. The pdf file is already ...
user avatar
2 votes
1 answer
77 views

add some elements in tikz picuture - advanced tikz commands

I have implemented the following tikz picture: This is the code: \documentclass[tikz, border=2mm]{standalone} \usepackage{tikz} \usetikzlibrary{positioning,arrows} \usetikzlibrary{fit} \tikzset{% ...
user avatar
0 votes
0 answers
30 views

Generating display mockups (ex. for datasheets or documentation)

I understand this is a very generic question but I have been trying to find something ready made to generate mock-ups of basic character displays (such as OLED screens) in LaTeX. I have considered ...
user avatar
  • 579
0 votes
1 answer
61 views

Framework for interactive graphics in LaTeX documents

I've written a prototype LaTeX package and associated viewing framework to allow LaTeX documents to be viewed in an environment that allows for interaction with figures. The figure might have points ...
user avatar
0 votes
0 answers
21 views

Photo Book with images over two pages - spreads [duplicate]

How do I make an image spread over two pages? This will be the left half image on even page and the right half image on odd page. Obviously my question is on automatic way, without manually cutting ...
user avatar
  • 101
0 votes
1 answer
23 views

Managing pgfplot labels [duplicate]

I am working with Pgfplot to plot some graphics, and I am having some trouble managing its labels. Specifically, I would like to know how to remove an automatically generated label. Let's take a look ...
user avatar
0 votes
0 answers
24 views

Is hvfloat incompatible with mathtools and cellspace?

I notice strange interaction between the hvfloat package and the cellspace and mathtools packages. It happens when I want to split an image (png or pdf) on two pages via the command \hvFloat[...
user avatar
  • 281
-1 votes
0 answers
26 views

Draw adjacent hexagons [duplicate]

I need help to draw the following figure How can I draw numbers in the hexagons? Thanks in advance!
user avatar
  • 387
1 vote
1 answer
32 views

Putting subfigures side by side using subcaption and caption package

I have the following piece of code: \documentclass{article} \usepackage{subcaption,caption} \usepackag{graphicx} \begin{document} \begin{figure}[hbt!] \centering \begin{...
user avatar
  • 225
1 vote
1 answer
41 views

Trouble with vertical alignment of text and images in table

I am trying to create a table with both text and images (in separate cells) are left, top justified. This is what I get: attached pdf. I have googled and searched StackExchange but no luck. Please ...
user avatar
0 votes
1 answer
46 views

Problem with a side by side image in beamer

I am trying to put two images side by side in the same beamer. I am trying different solutions and I am focusing on this answer How to align two images side by side and to scale them automatically to ...
user avatar
  • 113
0 votes
1 answer
47 views

How to write graphics using subfig package or other?

Can somebody help me with these two linear graphics? At least some hints, how to start. I would be very greatful.
user avatar
1 vote
1 answer
46 views

Loading a graphics image in Tikz given the position of the bottom side?

Is it possible to write a Latex macro based on \includegraphics so that given two points A and B this will become the lower side of the image (i.e., the image will be translated, scaled, and rotated ...
user avatar
  • 21
0 votes
0 answers
56 views

PDF figure not compiling

I know that this a common request in this forum but I've tried all suggestions of previous posts unsuccessfully. I apologize if it's still obvious. So basically, I am trying to compile a pdf image on ...
user avatar
  • 71
0 votes
2 answers
37 views

How do I calculate offset to \put picture from left bottom page corner?

I need to place picture on empty page just from left bottom corner via \put(x,y){} command. I can do this after I typtsetting document and measure (approximately) offset by Acrobat Reader and ...
user avatar
-2 votes
1 answer
667 views

Draw in latex without downloading the pdf

A query I am trying to write in latex and attach this image. I did it separately, downloaded the pdf file to keep its resolution and attached it to my latex file. Is there a way to do it directly ...
user avatar
  • 317
1 vote
0 answers
41 views

Putting figures over other figures/images

I want to put 4 diagrams on top of a map, so that the fontsize of the text in the diagram can be the same as in the rest of the text. The entire page is size A4. Currently, I'm implementing the ...
user avatar
1 vote
1 answer
51 views

Modifying an arc/curved line in a tikz figure

I am rather new to tikz, but I have been studying it extensively lately, and I have received great help in this question I asked here. I have written the code below \begin{tikzpicture} [scale=2] \...
user avatar
  • 221
8 votes
2 answers
1k views

Why did LaTeX rotate my picture?

I inserted a picture in LaTeX, but it rotated my picture. Why? \documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure} \includegraphics[width=0.5\textwidth]{1.jpg} \end{figure} \...
user avatar
  • 449
0 votes
1 answer
73 views

How would one draw the following figure describing a wave in Tikz?

I am rather new to Tikz, and I could not find this anywhere online. How would one draw this rather complex figure meant to show a wave? I only know how to create points and connect them with straight ...
user avatar
  • 221
3 votes
3 answers
180 views

Multipage PDF and graphicx's \includegraphics

I'm working with multiple animations inside a single Beamer frame, and I wish to include only the last page of a multipage PDF page inside an \only<n>{\includegraphics[opt]{args}}. The problem ...
user avatar
0 votes
2 answers
56 views

subfigures caption using overleaf

I am trying to insert subfigures within figures in an overleaf document. The problem is that the subfigure’s caption is not centered. Can someone know how to fix this please? Thank you in advance This ...
user avatar
  • 3
1 vote
1 answer
45 views

Automatically adding images directly from python code (preferably using VSCode)

Imagine I have some python code that generates an image. e.g. import matplotlib.pyplot as plt import numpy as np # Data for plotting t = np.arange(0.0, 2.0, 0.01) s = 1 + np....
user avatar
0 votes
0 answers
18 views

How to includegraphics on the same page as \part? [duplicate]

\documentclass{book} \usepackage{graphics} \begin{document} \part{Hello World} \includegraphics{anything.jpg} \end{document} For example, this code will create a page called Part I Hello World ...
user avatar
  • 2,909

1
2 3 4 5
132