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

learn more… | top users | synonyms (4)

1
vote
1answer
128 views

Easiest way to draw diagrams like this in a LaTeX document?

I'd like to produce diagrams such as this: It is purely illustrative. There are no numbers attached to any of the points. What is the simplest way for me to generate diagrams like this for a LaTeX ...
1
vote
1answer
46 views

Drawing topology of network with Tikz

I want to draw with Tikz a topology as illustrated below The shape of node preferred is ball, can you help me ?
2
votes
1answer
35 views

Increase the font size of captions of sub-figures

I have the following latex code to show two sub figures and their captions. \documentclass{article} \usepackage{amssymb} %\usepackage{graphicx} \usepackage{caption} \usepackage{subfigure} \...
1
vote
4answers
50 views

How to put 6 images in 3 columns-2 rows?

i tried to put 6 images in a 3x2 imagebox using this code: \begin{figure}[H] \begin{subfigure}{0.3\textwidth} \centering \includegraphics[width=.8\linewidth]{imp_1.png}\quad \caption{image1} ...
1
vote
2answers
63 views

\includegraphics, try another extension

I have a number of documents (jupyter notebooks) that are created and accessed essentially using a browser interface, and because of the browser interface the cleanest way to include external vector ...
0
votes
0answers
13 views

Insert example figure [duplicate]

How can one insert an example figure to the document using includegraphics? I mean for the situation where one wants to show the graphics without having any actual image.
0
votes
1answer
22 views

Can't locate 'xref' (1) error in BaKoMa Tex when including pdf-image containing LaTex

I'm trying to include a pdf-image containing LaTex code into tex-document in BaKoMa Tex editor. When I include the pdf-image I get the following error from BaKoMa Tex: Note that I tried the hint ...
27
votes
4answers
1k views

Polaroid photo effect in tikz

Is there any way to make a polaroid photo effect in TikZ? I am thinking of something like this A computer font as the caption might be better in fact but I couldn't find a suitable example online. ...
1
vote
1answer
112 views

Magnified subfigure without tikz

I want to create a figure with a magnified subfigure. I know this can be done with tikz (link) however I want to do it without tikz. Can this be done? Example: My early attempt: \documentclass{...
1
vote
1answer
25 views

can I fill a tikzposter block with an image?

Can I fill a tikzposter block with an image? \PassOptionsToPackage{dvipsnames}{xcolor} \documentclass[a2paper,blockverticalspace=1cm,innermargin=9mm, colspace=9mm]{tikzposter} \geometry{paperwidth=...
14
votes
5answers
223 views

Store and reproduce effective graphics scaling

When an image's length is scaled to a variable length, say \textwidth, how can I determine the effective scaling factor? \includegraphics[width=\textwidth]{image.pdf} I would like to use it to ...
1
vote
1answer
34 views

How to export Visio graphic for Tex document?

Visio can export many different image formats but only .emf and .pdf as vector graphics. Tex can only handle .eps and .pdf vector graphics and therefor .pdf is the file format to go. But there is the ...
6
votes
0answers
82 views

Why does the picture appear in a different position in XeLaTeX?

Min reprex: \documentclass{article} \usepackage{graphicx} \usepackage{adjustbox} \usepackage{showframe} % just to illustrate \begin{document} \adjustbox{trim={.5\width} 0 0 0,clip}{\includegraphics{...
2
votes
1answer
32 views

How to upload the picture at the left side of this cv template?

\documentclass[11pt, a4paper]{awesome-cv} % A4 paper size by default, use 'letterpaper' for US letter \fontdir[fonts/] % Specify the location of the included fonts % Color for highlights \colorlet{...
0
votes
1answer
25 views

Comment image in caption

I want comment an image inside caption{}, but I don't want have the comment in the table of image. So I used caption*{}. \begin{figure}[H] \centering \includegraphics[height=6cm, width=0.65\...
0
votes
0answers
24 views

graphics with baposter

I'm trying to include some plots into my poster. I would like the plot background to have the same color as my poster-boxes and the panel background to be white. Hence I create plot in R, but the ...
1
vote
0answers
33 views

Anyone knows any “automatic” package to draw graphs of posets (the Hasse diagrams)?

anyone knows any "automatic" package to draw graphs of posets (the Hasse diagrams)? I know TikZ, but I wanted something faster (automatic). Thank you.
3
votes
1answer
50 views

Organize figures in two columns and one above the other

I would like to organize 3 figures as it's shown in the figure below: Can anyone help?
3
votes
2answers
75 views

Fraction of \textwidth as image width

I would like to specify the width of an image as a fraction of a predefined length, like this: \documentclass{article} \usepackage[demo]{graphicx} \begin{document} \includegraphics[width=1/3*\...
0
votes
1answer
46 views

Include picture in top right, in the background of the rest of the document

I'm trying to recreate my CV with Latex, but currently struggle to include a picture of me in to top right, as it is usual. I'm using this template and added \noindent \hfill \includegraphics[...
1
vote
1answer
137 views

The image in pdf overlap the text, and not come in its specified place, can any body help please?

The problem is that the image overlaps the text which is not required, all images look like they moved toward left and down side. I used the following code to insert images: \begin{figure}[!h] \...
58
votes
2answers
93k views

How to use \graphicspath?

I am using MikTex 2.9 and TeXstudio for my TeX preparation. I would like to set the path to my figures folder containing all the figures, plots etc. required for my work. I used \graphicspath to set ...
4
votes
0answers
74 views

How can I prepare a PDF file for a colour overlay with `\color`?

I want to include colorised icons in a mdframed environment. Since I think that in the near future I will probably need the icons to have varying colours, I'd like to use the \color{...}{\...
0
votes
1answer
58 views

Is it possible to display a figure by referencing it after it was displayed earlier on in the document?

For example, in Page 1 my tex file I write \begin{figure}[ht] \begin{center} \includegraphics[scale=0.6]{Figure_1} \end{center} \caption{Figure 1} \label{fig:Figure1} \end{...
2
votes
1answer
52 views

Code to move two images to the middle

I am inserting 4 images in LaTeX with the code below. However, the images in the top row have a different size than the images in the lower row. I do not want to make the toprow figures smaller with ...
5
votes
1answer
201 views

How to draw a sloping grid?

Could you help me make the code to draw a sloped gride like the image below in TikZ?
3
votes
1answer
347 views

Add photo to moderncv style banking with modifications

How to add a photo to moderncv style banking Follow up question from the above. How is the modification of the code create the photo only on the resume page but not to the letter page? And also with ...
3
votes
1answer
44 views

Graphics Floating Around

I have wrote this piece of LaTeX code \chapter{Datenmodellierung} \paragraph{Fremdschlüssel} \includegraphics[width=0.4\textwidth]{Resources/Included Graphics/foreign_keys_example.png} \paragraph{...
0
votes
0answers
31 views

LyX: Graph (.emf) from Excel — “Error loading file into memory” and “pdfTex Error”

I copy-paste graphs from Excel into LyX. I think LyX then converts it to .emf. (So far this is the only way I've found to ensure the graphs and images I copy from Microsoft Office are high quality in ...
79
votes
5answers
38k views

How to expand TeX's “main memory size”? (pgfplots memory overload)

I'm compiling one pretty simple LaTeX file with few dozen of pgfplots. Now, I can compile part by part, but am unable to compile it all at once. I really need good precision for all those plots (noise ...
0
votes
0answers
31 views

eps latex image file editing

I have a question regardin the modification of the image size. I have images using eps latex output terminal through gnuplot multiplot. The output file contain two image files. The below state my ...
2
votes
0answers
17 views

Reversing order of graphics file extensions with `TikZscale`

I am using the tikzscale package and having trouble with the search order of different graphics files. Consider the following MWE: \documentclass{article} \usepackage{tikz} \usepackage{tikzscale} \...
1
vote
1answer
50 views

Characters missing from R-generated graphic when \pdfinclusioncopyfonts=0

I have a .pdf figure generated by R/ggplot2, which renders correctly when viewed as a standalone file, but when embedded in a document by pdftex, one character is missing. I've cut the problem down ...
1
vote
0answers
33 views

How to shift this image to the left? [duplicate]

As you can see in the picture below, the diagram is shifted to the left. The code I am using to display this image is give below: \begin{center} \includegraphics[width=\textwidth]{"Law 2".png} \end{...
0
votes
0answers
30 views

File not found problem Graphic “.png”

in uploading document .tex with the image that I used in .tex for conference proceeding (easychair using standard Miktex to compile .tex end generate the pdf )I have this problem Package pdftex.def ...
1
vote
2answers
3k views

Inserting images in ShareLaTeX

I have no idea how to correctly define my graphics path on ShareLaTeX. In a Linux terminal my folder location would look like: \home\Libraries\Documents\paperimages I'm sorry if this is asked on the ...
3
votes
2answers
1k views

box instead of picture in sharelatex

\section{Software Architecture} Hello \begin{figure}[h] \includegraphics{SystemOverview.pdf} \end{figure} Hallo results in: I'm using packages \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc}...
3
votes
2answers
103 views

Creating large star graph

I'm trying to create a star graph in Latex. My graph may have an arbitrary large number of vertices, so I'm trying to incorporate this fact in the drawing. This is what I have done so far: %My Macros:...
3
votes
2answers
39 views

Vertically and horizontally align image inside table

I have a table with two columns. The first column contains text, the second a image. Short example: \documentclass{article} \begin{document} \begin{table}[htbp] \centering \caption{My ...
0
votes
1answer
45 views

Resume title formatting

So currently this puts everything into one line but I want my name to be much bigger and preferabbly the phone and email start from right not equally spaced from name. I still want everything to be in ...
2
votes
1answer
157 views

everytime I put a figure, latex puts this huge space between the figure and the next text

I have a huge problem with the figures in my report, I don't know why everytime I put a figure, latex puts this huge space between the figure and the next text. here's an example: Please help \...
3
votes
3answers
185 views

How can I put the image at right corner of tcolorbox and keep writting below it?

I'm trying to put one image at right corner of tcolorbox but, the \tcblower option wastes a lot of space, I want write around the image, but I cant find a real answer.
2
votes
2answers
35 views

Numbering Images in Marginpar

I would like to add some small images into the marginpar. The purpose of the images is to add some additional 'nice to know' information, but they are not directly related to the document's content, ...
3
votes
1answer
39 views

The first subfigure appears rotated and very large [closed]

The used the following script in LaTeX but the first subfigure is very large and rotated. I am using subcaption package. The figure is 1920x1080. I used this code twice in the script; the first is ...
87
votes
4answers
10k views

How to create magnified subfigures and corresponding boxes for portions of a large image

Updated Below I hope the title gets at what I'm trying to do. I have a large image for a thesis on an image processing topic, and I want show the large image, with zoomed in boxes (typically with the ...
0
votes
1answer
84 views

Caption of figure from PDF overlap page number and at the end of page

I have a drawing from Word 2010. As I would like to insert this drawing into latex, I save this Word file as pdf file. Then I insert the pdf file into latex using includegraphics. Although the size of ...
3
votes
3answers
128 views

figure is in subsection but it goes to subsection [closed]

I need your help in solving the followings: \documentclass[a4paper, 10pt, conference]{ieeeconf} ... \subsubsection{C} \begin{figure}[h] \begin{minipage}[t]{0.3\linewidth} \centering \...
1
vote
1answer
24 views

Subfile with \includegraphics not working in the mainfile

I have a problem trying to get my maindocument to compile a subdocument, with an included figure. I have the following file-structure setup: mainfile.tex /chap /chapter1 / ch1.tex /...
0
votes
1answer
85 views

How to move the abstract to the left column?

My question is similar to this question, however, instead of a picture, I wish to move the abstract section to the left column, using same document class. Can anyone help with this? The document ...