Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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}.

-3
votes
0answers
21 views

Creating a rectangular node with lines [duplicate]

I am trying to create a node as shown in the below figure in latex. Could anyone tell how to draw this node?
0
votes
1answer
28 views

How to fix image positioning in IEEEtrans format?

Can anyone help me with the positioning of the image in Project description?
1
vote
1answer
34 views

How to put the 5x5 grid of images in whole page in a conference paper IEEEtran format

I want something like the above But I get this because the page is split into two sections. Can anyone please help me with this? I tried the following both of which won't put the image in a whole ...
0
votes
0answers
13 views

Image not showing after update

Everything worked fine with my Latex document until I decided to change one figure, which was made through Matlab. So I made the change using MATLAB and saved the figure in eps format using the ...
1
vote
1answer
55 views

Plotting my chart incorrectly in tikz

MWE \documentclass[tikz,border=10pt]{standalone} \usetikzlibrary{datavisualization} \usetikzlibrary{datavisualization.formats.functions} \usetikzlibrary{patterns,backgrounds} \def\mytypesetter#1{ \...
2
votes
1answer
59 views

Context images / figures and linenumbering

When typesetting a document with linenumbering, I get heavy problems with images. The linenumbering becomes a mess. What do I do wrong? Here is an MWE: \setuppapersize[A5] \setupexternalfigures[...
0
votes
1answer
39 views

Inserting a table with photos in each cell

I would like to insert a table in each cell in overleaf, like the following:
0
votes
0answers
21 views

Compilation error when inserting a figure with \usepackage{graphicx}

I am trying to insert a figure into my report (using TexMaker), the code I'm using in the preamble is: \usepackage{graphicx} Then when placing my figure (which is a .png and located in the same ...
0
votes
0answers
20 views

How can i give latex code for original jpg colour . Please modify the below code.Even though i saved the colour jpg in the folder

How can I give latex code for original jpg color? Please modify the below code. Because below jpg shows color in black and white. Even though I saved the color jpg in the folder. \begin{frame} \...
1
vote
2answers
30 views

Vertical alignment of arrow between images

I'm struggling with template given for my article. I've got four images and I'd like to place right arrow between them. Problem is that arrows should be in the middle instead of at the bottom. \...
0
votes
0answers
28 views

What are current environments for combining LaTeX/MathJAX/… and handwritten notes/sketches/drawings?

I am pretty sure there must exist by now several editing environments where you could, using touchscreen, insert any kind of scribbling into TeX-generated output (or maybe even intersperse the source ...
0
votes
0answers
26 views

WrapFigure bottom spacing issue

I'm currently facing an issue where a wrapfigure is making some lines not use the whole line, to make it clearer here's a picture: As you can see there's plenty of space for the line to use, yet ...
1
vote
1answer
33 views

Image at the top of the page + margins

I am trying to do my company paper. After few tries I finally put my image at the top of the page. But after that when I am using \usepackage{scrextend} and trying to change margins, the text is above ...
4
votes
2answers
208 views

A collection of the actual smartphones

Considering the recent excellent questions that I've really enjoyed Welcoming 2019 Pi day: How to draw the letter π? and What has been your most complicated TikZ drawing? I have carefully observed ...
0
votes
0answers
27 views

Change size of a figure [closed]

I'm using this code to plot on latex the figure, but I need to reduce the size. How can I change the size? \Figure[t!](topskip=0pt, botskip=0pt, midskip=0pt){matrix.png} {Risk Matrix.\label{fig1}} ...
2
votes
1answer
44 views

Illegal unit of measure px when clipping in xelatex (but not pdflatex)

When I compile my document with pdflatex (on Ubuntu) it works fine. I was switching to xelatex for some other issues, but now the following code will no longer compile: \includegraphics[clip, trim={...
1
vote
2answers
59 views

How plotting a curve with vertical and oblique asymptote?

How can I plot a curve with a vertical and oblique asymptote, same as the following picture? Curve equation: y=\sqrt[3]{\frac{x^7+3x^6-2x^5-x^4-3x^2+1}{x^4-2x^2}}
1
vote
0answers
29 views

Error runaway argument, missing }

I suddenly have several runaway arguments in several figures, while I don't think that I am missing something. These are the lines of my script: \begin{figure}[h] \centering \...
0
votes
0answers
15 views

Include images with lower resolution [duplicate]

I need to include many JPG images in a LaTeX document. They are quite "heavy" (many MBs each), but in my document they will be printed in a very small size (~2x2 cm). Obviously \includegraphics[width=...
1
vote
1answer
23 views

Pictures on \fancyhead will show out of place

I'm working on the translation of a baroque book replete with a variety of ornaments, some of which are appended to the header. I have already rasterized them, created .png files and attempted to ...
0
votes
0answers
33 views

Latex Table (Graphix) Help! Is it possible to draw? [duplicate]

I would like to draw these following diagram (table or graphix) in latex (i attached them), is it possible?
3
votes
2answers
53 views

How do I raise a figure (placed with wrapfig) to be flush with the top of a paragraph?

I am using the wrapfig package to place a figure with text wrapped around it. Here is a minimal example, with a screenshot of the relevant part of the output below: \documentclass{book} \usepackage{...
3
votes
2answers
44 views

How can I insert picture into environment Problem and align it?

I am trying insert a picture into environment Problem and align it like this I tried \documentclass{article} \usepackage{amsmath} \usepackage{enumerate} \usepackage{amsthm} \theoremstyle{definition}...
0
votes
1answer
23 views

\pinlabel {$r=6$} at 600 450, how is the position 600 and 450?

You will notice that the cursor position is recorded (in PS points) either at the bottom or the side. This position is what you will read as your labelling coordinates. But I do not know what its ...
1
vote
1answer
29 views

How to make image not to exceed certain width?

I've never used external images in my documents but today I had to look something up. I ran across graphicx but I wonder how to make all images not to exceed width of, say, 300 pixels by scaling them ...
3
votes
2answers
32 views

Tikzpicture shifts subfigure environment

I would like an axis drawn with TikZ in the corner of the image grid to see the increase in variables clearly. The MWE below results in Figure 1. I have tried putting a \linebreak in between \end{...
0
votes
2answers
37 views

graphicx includegraphics globally centered

Is it possible to globally set \includegraphics pictures to be centered horizontally on page? I have read the manual and see some unfamiliar global settings keys: \setkeys{Gin}{width=0.75\textwidth}
2
votes
1answer
31 views

Is it possible to define the space above and below a `figure` and `table` environment (`\intextsep`) locally?

Having established how to define vertical spaces above and below captions globally as well as locally, I wonder if there is a way to also define \intextsep locally. Also, having floating disabled by ...
2
votes
1answer
42 views

Putting 15 images in 5 rows (2x2 +3*2 +1 on side)

As the title says, i'm trying to compile 13 images into one page. I've tried multiple options, but none seem to work. Ideally the legend would be next to the other images on the side rather than ...
1
vote
1answer
30 views

Setting `caption` parameters for `figures` and `tables` locally

The answer to a question asked Jan 16 '13 at 4:54 by @manish continued into a discussion on how to set caption parameters locally. The suggestion that this would be done using \captionsetup[figure]{..}...
3
votes
2answers
48 views

Add a space between image and line in header

--- EDIT 2 --- I've created the following header using an image editor to help you guys understand what I'm trying to do. --- End of EDIT 2 --- --- EDIT 1 --- This is closer to what I have in my ...
1
vote
0answers
24 views

Remove selectable text from source code PDF output

I am writing my master thesis in LaTeX. For source code listings I use minted package. However, my thesis supervisor pointed out that the anti-plagiarism software that is now used in my country will ...
3
votes
0answers
96 views

ConTeXt images/floats in text and margin

In making a format for a Latin Textbook, I get problems when I insert images in margin and text. Because I fear that there is some interference in my document, I will paste the whole document setup (...
0
votes
0answers
36 views

Why it always shows extra text in front of figures in Latex? [duplicate]

I inserted a PNG file in my Latex, everything is ok except the extra '1.png' in front of my figure, here is the code: \begin{figure}[h] \centerline{\includegraphics[width=8cm]{Figure 1.png}} \caption{...
1
vote
1answer
60 views

Subfloat: How to align two images with different width to same height?

Assumed we have two images with different widths. Now we want to align them next to each other, but with same height. Minimum working example (MWE): \documentclass{article} \usepackage{graphicx} \...
2
votes
3answers
108 views

Make an interesting calligraphy character like an Axe in the Text

I am trying to use LaTex/PDFTex to make this character (or at least Figure) in the text. I could not find any proper charcter look like this: Do you have any way to find this symbol or make this ...
6
votes
2answers
190 views

Picture with grey box as background

Does anyone know how I can set up a grey box as background for my images like in this example in the picture below? I had found a good example in Grey box code and lists but it doesn't work with a ...
2
votes
3answers
80 views

Constructing a figure showing a ring of connected nodes using TikZ

I want to reproduce this figure (see below) with 7 nodes and 8 nodes, but since I've never constructed a figure in LaTeX so I'm clueless.
1
vote
1answer
58 views

Inserting full page subfigures

I have tried to look through TeX.SE questions (e.g., like this) to figure out how to layout full-page subfigures (two full-page figures that share the same caption, but with their own subcaptions such ...
0
votes
0answers
6 views

Position an image to touch edges of page? [duplicate]

I'm trying to position an image to touch the right and bottom edges of the page. It's for a subtle background image. Any ideas on how to do this?
1
vote
1answer
32 views

Renumbering figure in different order

If I define three figures like this \documentclass{article} \usepackage{graphicx} \usepackage{booktabs} \usepackage{xcolor} \usepackage{subfigure} \begin{document} \begin{figure} \subfigure[A]{\...
0
votes
0answers
24 views

Strange errors with image in texfile

I am working on a manuscript in overleaf and it compiles perfectly there, however when I try to submit it the onsite compiler of ArXiv does not like it at all. The main error seems to stem from line ...
1
vote
1answer
40 views

Custom subsection title with image

I would love to use custom subsection title with image in my TeX project, can anyone help me how to do it? I don't need it exactly the same just the layout is important. Thanks a lot!
0
votes
0answers
26 views

Aligning the axis of included graphics with the text in the document

I'm trying to align a pgfplot graph with the text area of the document. I create the graph as a standalone pdf with the scale only axis option and width=\textwidth and so far I only managed to ...
1
vote
1answer
44 views

Tikz - highlighting part of image in non-minipage environment

With regards to this two questions Tikz - three pictures in two pages in landscape mode and Tikz - highlight text in an image, I struggle to put the given solutions together (which work otherwise fine ...
1
vote
1answer
157 views

Insert GIF in LaTeX

I'd like to insert a GIF image in my text and I found this Convert GIF image to PNG on the fly. So I pasted in my document \documentclass[a4paper]{article} \usepackage{graphicx} \DeclareGraphicsRule{...
1
vote
1answer
89 views

Convert image to text and include in LaTeX

I'm writing a class, that should insert a logo (which i have available as .pdf and .svg) in the header. I thought it would be an elegant solution to just include the file directly in the class, ...
0
votes
0answers
22 views

Trying to render an image under a problem [duplicate]

I'm trying to add an image to a problem but it is not rendering the way I want it to. Below is the TeX code and below that a screenshot of what is happening. \documentclass[]{book} %These tell TeX ...
6
votes
2answers
155 views

Tikz - highlight text in an image

How can I highlight text in an image with tikz by using a rectangle and have the rest of the page filled with a grey (or opaque black) tone, see example below (taken from here)? You can see a ...
9
votes
3answers
542 views

Drawing a function without knowing its definition

I don't know TikZ in depth so I barely can play with it. The following is a transfer characteristic of an inverter gate. I have researched on the Internet to find the function's explicit definition ...