{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)

4
votes
3answers
98 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
79 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
41 views

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

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
77 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
50 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
100 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
1answer
28 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
30 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
50 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
97 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
326 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
110 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
56 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} ...
5
votes
1answer
192 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
42 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
80 views

pdftex: SVG not found [duplicate]

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 ...
2
votes
1answer
184 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
69 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
54 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
58 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
53 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
26 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
90 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
115 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
52 views

How to embed graphics formats [duplicate]

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
44 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
74 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
104 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} ...
2
votes
1answer
115 views

Scaling (and annotating) images in a rotated matrix of tikz nodes, scaled to page size?

In the MWE below, which currently results with this output (click for full-res): ... I want to: Arrange four images in 2 rows, 2 columns, for which I've used a \matrix of \tikz nodes, Have them ...
3
votes
2answers
106 views

Why do EPS images have lower quality than PDF images?

I'm using Tikz to create some vector graphics images. I'm finding that when I compile my images to EPS (the preferred format of my publisher) the quality is significantly lower than if compiled to ...
2
votes
1answer
79 views

How to insert multiple pictures in page

I have many PNG files, and I want to put them in a latex page in certain positions. Could you please help me how? I cannot use tabular idea, as many of images are diagonal and using table does not ...
0
votes
1answer
28 views

How can I set the defaults for pictures in my document? [duplicate]

I was wandering if there is a command that will let you define the size of graphics globally throughout then entire document. Most of my images are photos and should all be the same size and it would ...
3
votes
2answers
51 views

Wrong dimensions when using \XeTeXpicfile with CMYK image

When including images in XeTeX using \XeTeXpicfile I noticed that the dimensions of the output picture are wrong. I created the following MWE: \nopagenumbers % The TeXbook, p. 311 ...
0
votes
1answer
147 views

Unable to load picture or pdf file, XeTeX, Win 8

I was A-OK with my previous Win 7. I have been having this problem ever since I changed to Win 8. I use TeXstudio to edit my files. I get the error below: Unable to load picture or PDF file ...
1
vote
2answers
93 views

Graphics, graphicx, and Texlive2014

I am setting up my install of texlive2014 and working on my first document. I want to insert a small graphic on a page, and have the following: \documentclass[a4paper,12pt]{letter} ...
1
vote
2answers
98 views

! Package pdftex.def Error: File `first_sketch.pdf' not found

I am trying to compile image which I created by Inkscape but I am getting the following error ! Package pdftex.def Error: File `first_sketch.pdf' not found. the PDF file first_sketch is in the ...
3
votes
3answers
118 views

Is it possible to fix the width of the included image with `includegraphics`?

I have tried to use the renewcommand do redefine includegraphics, as shown in this answer: % save the meaning of \includegraphics \LetLtxMacro\latexincludegraphics\includegraphics ...
3
votes
1answer
71 views

How to make a picture taking the maximum space?

To expand a picture imported with \includegraphics that is wider than heigh to the width of the text block, you just do this: \includegraphics[width=\textwidth]{ ... } When they are heigher than ...
0
votes
0answers
76 views

Larger picture in minipage, [scale=..] not effective

I try to make the last picture in this minipage larger with the [scale=..] code, but it is not working. I hope it does not have to do with the original view of the picture, so it can be fixed using a ...
3
votes
1answer
97 views

How can I insert multiple images with captions in a non-floating environment?

I'm writing my master thesis and I need to place a large number of images and tables, as in the following way: \paragraph{name 1} ...long list of images and tables.. \paragraph{name 2} ...
2
votes
2answers
63 views

Shift logo after hiding navigation symbols in beamer

I have a beamer presentation using the Warsaw theme in which I have a logo and I'm hiding the navigation symbols. The navigation symbols are hidden, but the logo remains in the same place. I can fix ...
2
votes
2answers
384 views

beamer box around equations

How can I make a fancy box around equations like the one in the left? I tried many time on my own but nothing satisfactory obtained!
1
vote
1answer
48 views

Conflict between image and algorithm style

I'm trying to write an article with both figures and algorithms. The commands related to images should be these: \usepackage{float} \usepackage{graphicx} \usepackage[margin=1.5cm]{caption} ...
0
votes
1answer
60 views

Displaying mediator analysis with LaTeX (TikZ-pfg maybe?)

I want to "draw" a mediator analysis with LaTeX, e.g. with TikZ. Unfortunately, I did not find any template for such a graphic; plus, I am lacking of skill to do it on my own (but very willing to ...
0
votes
0answers
32 views

Image location in LATEX [duplicate]

I inserted image inside the 2nd page of the PDF latex, and it is appeared at the top of the page (part of image not appearing at the top edge of the page). I would like the image to appear in the ...
2
votes
3answers
224 views

Add image to fit the whole page

How can I add those two pictures to my LaTeX document? To fit the whole page look like written by LaTeX The code must represent the image in LaTeX, like that: ...
5
votes
3answers
115 views

Forcing subfigure caption to right-middle of figure

I want to plot say two figures with their respective sub captions on right-middle side of the figure. Any help?
4
votes
2answers
110 views

\xdef with arguments in \newcommand?

Considering this newcommand (it works fine) \newcommand\createCMDSH[4]{% \expandafter\@ifdefinable\csname #3#2\endcsname{% \expandafter\xdef\csname #3#2\endcsname{% ...
2
votes
1answer
99 views

A very simple positionning problem using pgfplots standalone geometry and tikz package

I try to find information in the big list of pgfplots question on tex, without success, so this is "one more question" from a beginner about pgfplots, standalone, geometry, tikz combo package. I need ...
1
vote
1answer
102 views

How to make a graphic to continue on next page?

I have an article in TeX, The following image describes what I want to achieve! I know how TeX works "Normally" on graphics, but really this is what I want. Thanks.