Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

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

0
votes
0answers
26 views

Find the image path included in a document

MWE: \documentclass{article} \usepackage{graphicx} \graphicspath{{../Images/}} \begin{document} \includegraphics[width=.5\linewidth]{Android-Touchpad} \qquad \includegraphics[width=.5\linewidth]{...
1
vote
2answers
62 views

Only shows 4 images from 6!

Hello I have 6 images and output has only 4 images. Here is the codes: I tried to fix to problem via \clearpage comment to separate the first three. What happened to my other 2 images? Thank you!! % ...
1
vote
1answer
31 views

Wrap an image to the right of the text

I want to wrap the image with the texts at the right. The way it now appears is below the text. Any help is much appreciated. \documentclass[12 pt]{article} \usepackage[margin=.5in]{geometry} ...
0
votes
1answer
56 views

How to draw simple graphs, paths, arrows [on hold]

I´m trying to learn how to draw with LaTeX, but I have found too much info about that: 1. XY-Pic 2. pgfplot 3. tikz 4. LaTeXDraw 5. PSTricks So I need to focus in one package/tool each time to ...
16
votes
3answers
560 views

Beamer Highlighting some part of an image and hiding remaining part

I want to highlight some part of an image and hiding the remaining part. My minimum working example is below. Any help will be highly appreciated. Thanks \documentclass{beamer} \usepackage[T1]{...
1
vote
0answers
26 views

Plotting a Grid (with Graphics + Text) in TeX?

Question: Using resources from the TeX universe, what is the best way to create a graph similar to the one below (i.e., a 2x2 matrix with different images at different coordinate locations, with text ...
0
votes
0answers
31 views

Latex: Picture - scale/crop according to defined size - possible?

I'm facing a problem, for which I can't find a solution in any of the forums. Maybe one of you guys can help... For a project, I need one page with images, that all are there in a specific size and ...
0
votes
0answers
16 views

How to reduce clutter in igraph using bookdown? [closed]

I'm not able to fit this plot for whole page.
2
votes
0answers
70 views

All pdf images are rotated. png images are the correct orientation

I am working on a large collaborative document on overleaf, where all images look fine. When I clone a local copy to work on, all the pdf plots are rotated 90°, while all the .png plots are the ...
0
votes
0answers
27 views

Why create space between text when adding a figure with H [duplicate]

I have created a section and added a figure below it. When I change the scale of the figure it has the effect on the space between this section and the previous section. I used this code for figure: \...
2
votes
2answers
57 views

How to make this array with link-list?

I want to draw a diagram in tikz or without tikz (image of a diagram given below). I have been able to do to some extent using texstack exchange previous questions but not able to modify it to make it ...
2
votes
2answers
42 views

How can I put two bayesnet object in a row?

How can I put two bayesnet object in a row with one caption for the whole? The post about tikzpicture Two tikzpictures side by side does not work in the sense that: picture size is in fact not ...
1
vote
2answers
41 views

Minipage/subfigure issue - creating a set of 4x3 graphs (12 total)

I am trying to fix a 4 by 3 set of graphs, with caption, on a .tex file. The result I want to achieve is the following: (this was done in Word. Yes, that's lame, I know.) The code for each small ...
0
votes
2answers
48 views

Table with images and wrapped text

I am trying to build the table of two columns. The first one contains an image and the second one pretty long description. Moreover, the size of the table exceeds one page, therefore my idea was to ...
3
votes
2answers
53 views

ConTeXt inserting images into header

I need to insert three images into header in ConTeXt and specific info in the footer. The equivalent snippet in LaTeX is: \usepackage{fancyhdr} \renewcommand{\title}[1]{\gdef\@title{#1}\gdef\mytitle{...
0
votes
2answers
33 views

Outset of images: Figures surrounding figures

I am trying to create a figure layout as in With llap, raisebox and makebox, I managed to achieve until Could someone help/guide me on how to get it as shown in the first figure? Better suggestion(s)...
3
votes
1answer
63 views

Image in Equations

As part of a document I'm writing, I'm trying to include an image as part of an equation, I have managed to get this to work, however the image's bottom is set to the same height as the bottom of the ...
0
votes
0answers
26 views

Argument of \@fileswith@pti@ns has an extra } <inserted text>\par l.8 \usepackage{graphicx} while trying to include graphicx package

I'm trying to insert an image in my LaTeX document. And I'm getting this error Argument of \@fileswith@pti@ns has an extra }. <inserted text> \par l.8 \usepackage{ ...
2
votes
0answers
38 views

How to flatten or postprocess a Latex generated PDF to crop image outside of viewport? [closed]

I have a large PDF document that includes lot of complex figures. To build these figures I used the viewport feature of the \includeGraphics command from Graphics package extensively. I am aware that ...
2
votes
1answer
49 views

/Newcommand how to add a picture with specific allignment

In the code you see below I would like to add the option of introducing a picture right after the "employer"/"position" sections. Do you have any idea of how I could achieve that? (package+...
1
vote
1answer
40 views

Face cards do not show up on poker package (pst-poker)

My .tex looks like this: \documentclass{article} \usepackage{pst-poker} \begin{document} \crdQs \Qs \crdAs \As \end{document} Everything compiles great except for \crdQs. I am getting the ...
1
vote
0answers
63 views

How LaTeX builds the large horizontal/vertical brackets

Wondering about how LaTeX implements the vertical and horizontal brackets [{(⟨. I saw these unicode characters which could potentially be used for vertical brackets: ⎡ ⎢ ⎣ ⎤ ⎥ ⎦ ⎧ ⎨ ⎩ ⎪ ⎫ ⎬ ⎭ But ...
1
vote
1answer
19 views

Positioning of image with caption

I have some issues with positioning an image with the help of textpos-package. I want the figure to be positioned as in frame 1, but with a centered caption (like in frame 2). I tried to put the image ...
-1
votes
1answer
53 views

How to draw a graph with shaded area by using Tikz [closed]

Anyone knows how to draw the graph in the picture by using Tikz?
2
votes
1answer
20 views

Magnify image in side-by-side images

I need to magnify an image which I managed to do it using TikZ \begin{tikzpicture}[spy using outlines={circle,black,magnification=5,size=1.5cm, connect spies}] \node {\includegraphics[height=6.85cm, ...
2
votes
2answers
85 views

Have a picture on the right of a section title in ConTeXt

I am trying to set a picture to the right of a section title. Like this (bad ASCII-Art rendering): 1.2 Section Title +---------+ | Picture | Lorem Ipsum ...
1
vote
1answer
21 views

Vertical alignment in longtable with figure in table [duplicate]

I am working on a lab manual for a course that I teach. In the lab safety chapter, I want to have a table of the GHS pictograms and their descriptions. I plan for this to be a longtable so a page ...
1
vote
2answers
36 views

Problem with using glossaries-extra with ocgcolorlinks option of the ocgx2 package and scalebox-based glsabbrvsmfont/glsnamefont commands

The following example causes problem: \documentclass{article} \usepackage[colorlinks,linkcolor=blue]{hyperref} \usepackage[ocgcolorlinks]{ocgx2} \usepackage[record,acronym,shortcuts=ac]{glossaries-...
1
vote
1answer
18 views

How can I put two images side by side with individual borders in a multi-column environment?

I need to put two images within a single column in a two-column page such that each subfigure will have a border around it. I have tried the following: \begin{figure}[t!] \centering \begin{subfigure}...
0
votes
0answers
20 views

pdflatex did not succeed with \usepackage{graphicx} [duplicate]

I just did a fresh reinstall of MiKTeX for Windows: basic-miktex-2.9.6753-x64.exe from https://miktex.org/download When I compile a pdf from the command line using pdflatex on a .tex file without \...
0
votes
2answers
26 views

Trimming the blank space in PDF image for insertion in TeX file

I have an image in PDF format like this: There's a lot of empty space in the bottom half of the image. When I insert the PDF image in main.tex using \includegraphics[width=\textwidth]{...
0
votes
2answers
74 views

Need help to draw a graph on Latex

I am trying to draw a graph look like this. Anyone can teach me how to do it?
0
votes
1answer
16 views

including graphics from multiple directories

I have tried two approaches to including graphics from multiple directories, one using graphicspath and another using macros. The graphics path approach is: \documentclass{beamer} \usepackage{...
0
votes
0answers
24 views

Figures are not successfully displayed in ACM sigconf sample

I prepare my article with the new ACM template available in (https://www.acm.org/publications/proceedings-template). When I run sample tex flie (sample-sigconf.tex), there is no error message, but ...
1
vote
2answers
66 views

Scale images in proportion to textwidth

[I rewrite this post to address the questions posed in the comments.] First I formulate what I want to accomplish as clearly as I can. After that, I explain why I want to do that. My question: How ...
0
votes
1answer
32 views

Unknown graphics extension pdftex.def

I am using latex for my thesis. When I run the program and it's said unknown graphics extensions, .eps files. all eps files can be read when I convert DVI to Pdftextifying. I am using \usepackage{...
1
vote
1answer
49 views

Why are eps files of the graphics of my latex document covnerted to pdf?

The graphics in my latex document as eps image files and I would like the latex output pdf file to be as small as possible in size and with higher resolution, but whenever I run the compiler of the ...
0
votes
1answer
41 views

How can I remove the gap that's appearing between a graphic and a rule?

I am trying to put together a title page with a graphic taking up the upper portion, and a block of colour immediately below it. The code in question currently looks as follows: \newgeometry{margin=...
1
vote
1answer
38 views

How to align images and text in same line?

I am trying to align 3 images and text such that text is left aligned and images are all right aligned but can't figure out how to do it. Following is the code snipped I have written for the same. \...
0
votes
2answers
49 views

ContinuedFloat not working - ShareLatex

I'm using ShareLatex to write my thesis and right now I need 16 images divided by 3 pages with the same caption. The images should be on pairs of two for being able to compare. I don't want any ...
1
vote
1answer
36 views

Including graphics

The following code does not produce the desired image: \documentclass{article} \usepackage{tcolorbox} \usepackage{lipsum} \usepackage{setspace} \usepackage{wrapfig} \begin{document} \begin{...
2
votes
1answer
88 views

Setting axis limits (xmin, xmax, ymin, ymax) from external .dat file

I am importing the data for my plot from a .dat file produced in matlab. I would also like to set axis limits from a .dat file. Is there a way to set xmin, xmax, ymin and ymax from a table in a .dat ...
1
vote
1answer
53 views

How to fill the area below a curve in a chart with pgfplots

I would like to divide the graph into 3 zones and fill each one with a color and put the names of the areas. Look at the code (commented part) that I tried to do it for the first zone, but it did not ...
3
votes
2answers
56 views

How to combine these separate two tables to become as sub tables of a main table?

Here an image of the objective output: a table (TABLE I) of sub-tables (A) and (B) Here is the code of separate small tables: (to be combined) \documentclass[conference]{IEEEtran} \usepackage{array} ...
2
votes
1answer
52 views

Add text to magnification snippet

I found a great code snippet which I use to magnify parts of my picture in this answer. Now, I have a bigger matrix of zoomboxes (12), I want to add small labels into the corners of the boxes so I ...
1
vote
0answers
44 views

How to add an image in a scientific paper that spans columns and is situated after the text?

I want to add an image in a two-column paper in the following manner. I have tried using \begin{figure*} \centering ... \end{figure*} but there's an error: Output loop---100 consecutive dead ...
1
vote
1answer
37 views

Horizontal alignment using subfigure package

I want to align horizontally two images, but I am not able to this in this case: \begin{figure}[!hbt] \centering \subfigure[][Areas used to evaluate the interpolant parameter function.]{ ...
0
votes
0answers
14 views

How to include graphics in mxGraph/JGraph format?

The draw.io diagram editor exports to XML in mxGraph/JGraph format, which is human readable and convenient for tracking changes (the SVG export of draw.io has some bugs for now so the native XML is ...
0
votes
0answers
46 views

“File not found” error message

I'm writing my first LaTeX document using Texmaker, and I've encountered what seems to be a common error when trying to insert png files. LaTeX cannot find the files I'm trying to insert. Here's all ...
0
votes
0answers
50 views

figure, image position top page

I'm trying add image. But i cant understand why its start from middle of the page (I want it start from top). My code sample: \begin{figure}[htbp] \centering %% \resizebox{width}{height}{...