{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
3answers
155 views

I am trying to draw this picture with latex

I have recently presented statistics of breast cancer and made a powerpoint image: Please notice that the icons are not exactly the same (I was lucky enough to find similar icons with different ...
0
votes
0answers
43 views

Matlab chart into LaTeX [on hold]

I use Matlab print command to generate an .eps file (abcax) stored in the same directory as my TeX file. However, while compiling, I end up with the error Unknown graphics extension: .eps. ...
1
vote
0answers
24 views

I would like to plot kaplan-meier curve in latex

I am writing my M.Sc. thesis in biochemistry. I am working on breast cancer. I have plotted survival curves with external software. I am writing my thesis with latex (love it) but would like the ...
0
votes
1answer
61 views

How to draw spherical figures?

I need to input in my document this kind of images. How to 1. draw this image? 2. set its position to text? 3. enumerate and give name, to refer to its number?
3
votes
1answer
70 views

pdflatex cannot find PDF

I am using Sweave (in Emacs) to generate a report. I can compile the .tex file just fine. There are images (PDFs) that I generate (I have graphicx included in my \usepackage{}; I am not dealing with ...
0
votes
0answers
35 views

White space between upper and lower subfigure

I am working on a paper right now. In this paper I have some figures, I am using subfigures for creating a page with two figures beside each other and one (bigger) figure beneath it. It is all clear ...
7
votes
1answer
67 views

Zooming on one of multiple images in a slide using Tikzpicture

I would like to zoom in on one of the 12 images that I have organized in 3 columns. There are 4 images per column, all the same height and width. There is one image that I would like to zoom in on ...
1
vote
2answers
58 views

How to set opacity/transparency to vector image?

Hold your horses!. If you are hurrying to flag this as a duplicate of this question or this question none of those have an answer to what is asked here. Thanks for the attention though. I ...
1
vote
0answers
48 views

White space around cropped pdf [on hold]

I am trying to insert a figure which is in PDF format using \includegraphics. The problem is that although I have already cropped my figure using pdfcrop tool but when I compile my tex file I got the ...
1
vote
1answer
28 views

Cropping an image generated in R code

I would like to crop an image that is not inserted (which has been searched a lot), but an image that is generated in R code. \documentclass{article} \setlength{\parindent}{0pt} ...
0
votes
0answers
62 views

includegraphics showing an incorrect, blank image

I can't get includegraphics to show up any images at all in the pdf I'm writing to. Here's a small document that produces a blank pdf for me: \documentclass{article} \usepackage[final]{graphicx} ...
1
vote
0answers
66 views

\usepackage{graphicx} prevents change in document

I use \usepackage{graphicx}. If I change something in my tex document and convert it to pdf, my pdf document doesn't change, without \usepackage{graphicx} it works. When I type something like (see ...
0
votes
0answers
88 views

latex \usepackage{graphicx} [duplicate]

I use \usepackage{graphicx}. If I change something in my LaTeX document and convert it to PDF, my PDF document doesn't change, without \usepackage{graphicx} it works. When I type something like: % ...
0
votes
1answer
15 views

Issue with \scalebox, \makeatletter, and \input

A colleague of mine had a LaTeX-specific issue for which I did not exactly know the cause of the issue. I have distilled a Minimal Working Example to illustrate the issue. Originally my colleague had ...
3
votes
3answers
100 views

How can I print the filename of a graphics file in pdf

I would like to print the true filename of a graphics file, such as example.jpg, close to the position where the figure actually appears in the pdf file?
4
votes
1answer
39 views

Titlepage in amsart : how to include a picture in the title page?

Let's say I have the following .tex file (coming from an answer to my question here) : \documentclass[titlepage]{amsart} \usepackage{lipsum}% Just for this example \begin{document} ...
1
vote
1answer
40 views

Image/graphics treatment with ps2pdf vs. Acrobat Distiller : can both achieve the same quality?

Hundreds of images are included in my free physics textbook. I use the .dvi -> .ps -> .pdf route and have all the images stored as .eps files. About two thirds contain .jpg files, sometimes .png, ...
2
votes
1answer
55 views

Creating a simple “map” with text

I've been using LaTeX for a while now with text documents (both math and otherwise), but now I find myself trying to do some typesetting that includes picture-type things, and I have no experience ...
5
votes
1answer
227 views

Draw (very basic) network topology using tikz

I'm trying to draw some very basic Network topologies and thought that I'd try using Tikz for it. So I thought that I'd make a start and then ask for help, as I've got to do 5 of these and there's ...
0
votes
0answers
17 views

Problem wrapfigure in twocolumn

MWE, \documentclass[a4paper,11pt,twocolumn]{book} \usepackage[left=1.5cm,right=1.5cm,top=2.5cm,bottom=2.5cm]{geometry} \usepackage{lipsum} \usepackage{wrapfig} \usepackage{graphicx} \begin{document} ...
4
votes
3answers
88 views

create environment that resizes content

I want to create an environment that puts its content within a minipage as wide as the current page. The environment would work as follows: \begin{FitToWidth} HELLO \end{FitToWidth} and produce a ...
4
votes
2answers
49 views

Help with non-conventional electrical circuits

I am trying to draw two different circuits for several days and just can't get all the parts together. I tried different packages like TikZ and circuitikz but not sure which one is the best for these ...
1
vote
0answers
27 views

IEEEtrans class, eps images don't appear in their place

I'm writing a journal paper using the IEEEtran class and .eps images. All of them appear correctly but the ones that have longer caption appear at the end of the document. For example, ...
2
votes
1answer
65 views

Where should I save my image files for LaTeX?

In order to insert an image in LaTeX, I do as follows, but I get an error telling that the file 'me.jpg' is not found. Where should I save my image files to do this? \documentclass{article} ...
1
vote
1answer
35 views

How to put figure beside video (media9) in Beamer?

Video: \includemedia[ activate=pageopen, width=5cm,height=5cm, addresource=videos/video.mp4, flashvars={ source=videos/video.mp4 & autoPlay=true & ...
1
vote
2answers
74 views

PDF figure will not scale

I am trying to import a graphic from Excel to LaTeX. The graph has been printed on a PDF but when trying to import it into LaTeX it doesn't scale. Using the \fbox function shows a box where I would ...
0
votes
0answers
42 views

Big gap after figures before text starts again

After I insert a figure (I'm using overleaf), there are several lines of white space before the next paragraph begins that I didn't insert. Is there a way to manually prevent/delete this white space?
0
votes
1answer
23 views

Centering graphics without indenting lines afterwards [duplicate]

Is there a way to nicely place a graphic on a separate new line and centering it there, without using a \begin{center} environment, which wraps around the graphic ? I don't want to use that ...
1
vote
1answer
28 views

How to provide a picture for a 'global' class? [duplicate]

Is there a way to provide pictures for a 'global accessible' class file? To use my own class and style files from everywhere, I put them in ...
0
votes
0answers
43 views

Inserting graphics (JPEG file) is not working

I am using this codes in order to get the graphics in my Latex file.. \begin{figure}[ht] \captionsetup{justification=raggedright} \begin{minipage}[b]{.3\textwidth} \centering ...
0
votes
0answers
44 views

How to include an image in a LaTeX class? [duplicate]

So I have an image and I want it to be part of the class (this is going to be a class for letters, and the image is the logo of my University). Is it possible to configure graphicx so that it can ...
4
votes
1answer
92 views

Drawing Line Plot with cosmetic enhancements

Per title says, I want to draw a line plot and two additional versions of it. More specifically: I would like to plot some(preferably a big number of) nodes between the unit interval. I want ...
8
votes
2answers
308 views

How does TeX (LaTeX?) center images off the page?

I noticed that if I try to center an image that goes off the page, TeX/LaTeX seems to give up and just left-align the image. Why is this?
0
votes
0answers
48 views

How to insert images whhen using TeXStudio?

I am a beginner at LaTex. I am using TeXstudio. I am not able to insert images into it. One of my friends told I am not using the proper syntax; on using the syntax suggested by him, I get this: ...
2
votes
2answers
49 views

How best to re-define the \includegraphics command?

I'm trying to re-define the \includegraphics command to add surrounding code to hide warnings using the silence package. So far I have the following MWE: \documentclass{article} ...
4
votes
1answer
147 views

Best program/package for creating LOTS of function graphs to use in Beamer?

I am looking for program/package recommendations for drawing graphs. I know similar questions have been asked before, but I have some pretty specific needs because of the project I'll be working on. ...
1
vote
1answer
35 views

How do I lay out figures that need to be both regular and sideways?

I'm submitting to a conference with limited page space and need to fit my figures all on one page. The layout needs to look like the following: I've figured out how to turn a figure sideways, but I ...
0
votes
0answers
45 views

pdftex: SVG not found

I'm trying to use svg graphics in my big latex document. I followed other posts and included the svg and the amsmath package. And used the following to test it: \begin{figure}[htbp] \centering ...
1
vote
1answer
79 views

Different aspect ratio images, full-width, same-height row layout

Problem Often I have the use case that I want to layout several images in a row inside one figure. These images may have different aspect ratios, but for the layout to look good I want them to have ...
2
votes
2answers
60 views

Images do not appear in PDF where they appear in my code

I've been having trouble getting images to appear in the PDF where they appear in my code. An example of my code is shown below. We then plotted $\delta_1$ vs. R and got approximately a straight ...
4
votes
2answers
38 views

Cite references in figure caption

Problem: Getting error messages when trying to cite a reference in the figure caption. Not sure what I am doing wrong. Can't seem to find that this has been up previously either. Minimal Working ...
1
vote
0answers
38 views

How do I include eps files using TexWorks

I am trying to add some EPS files in text but I got the following error message ! LaTeX Error: Unknown graphics extension: .eps. Does anyone knows how to fix it? I installed MikTex 2.9
2
votes
1answer
42 views

Autoscale to fit images between paragraphs

Does anyone know to to place an image to fill up a space between paragraphs? My situation is that I have two minipages that must fall on the same page, but they dont take up all the space. Right now ...
0
votes
0answers
25 views

Add .tif graphic in latex [duplicate]

I have to add .tif graphic in my LaTeX file, as my journal only accept graphic in .tif format. But it is not working. can anyone help me to resolve this issue.
1
vote
0answers
76 views

Combining logarithmic scale and self-defined ticks on colorbar

I'm trying to make a heat map of matrix form data, with logarithmic scale on the colorbar, I'm essentially following the advice here. But the problem I am having is that I have the ticks set on weird ...
0
votes
1answer
72 views

How to shade a region outside the sphere in Tikz

I would like to graph the region given by (x-2)^2 + (y+1)^2 + z^2 > 5. So, I'm looking to draw a dashed sphere of radius sqrt(5) centered at (2,-1,0) and then shade everything outside of it. Any ...
0
votes
0answers
48 views

How to embed graphics formats

Is it possible to include .x3d, .dae, .pov, .dxf, or .wmf grapics into tex-syntax in order to create a pdf file?
1
vote
0answers
26 views

Referencing gnuplot epslatex symbols in LaTeX

The situation I am faced with is that I need to write a caption for a figure created with gnuplot, where I wish to reference the point types used by gnuplot in the actual plot, something akin to ...
4
votes
1answer
38 views

! Undefined control sequence. minipage graphic

I am trying to add two minipages beside each other in Latex beamer and I am getting the error ! Undefined control sequence. I appreciate any help. \documentclass[xcolor=dvipsnames]{beamer} ...
3
votes
1answer
82 views

Importing a PDF created in Numbers displaying incorrectly

I created a LaTeX document using Overleaf and a diagram I made in Numbers and exported in PDF format. I included it into Latex like so: \documentclass[12pt,a4paper]{article} \usepackage{fullpage} ...