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

3
votes
0answers
16 views

Can I disable interpolation (enable nearest-neighbor filtering/upsampling) with \includegraphics? [duplicate]

When I include the .png image on the right side (32x30 px) in a LaTeX document and typeset it with latexpdf I get the blurry result on the left, even if I turn interpolation off using ...
2
votes
3answers
151 views

Strange graph in tikz

I want to make a strange graph in tikz. This graph has some nodes inside the nodes... like this figure: I tried this: \newcommand{\twonodes}[2]{% \begin{tikzpicture}[node distance=0.7cm] ...
2
votes
1answer
88 views

Security Protocols In Latex

I am quite new to latex. As part of a course we are required to submit different variations of protocols using the regulars Alice, Bob and Trudy. I was wondering if it is possible to produce ...
4
votes
2answers
205 views

5 Figures arranged in 3 rows x 2 columns

I would like to arrange 5 figures in 3 x 2 format. I would like the figures to look like this: I tried the following (See below) but cannot get the 2 figures in the second row to be centered. ...
4
votes
1answer
74 views

Shrink image on click in beamer

In my frame I have a list with three images. Each subsequent image should appear on the next click, below the previous image. This is working fine, but I would like the previous image(s) to shrink in ...
9
votes
1answer
1k views

Why has no one told me I can use rubber lengths for graphics? Is that bad?

I just had a thought. Quite commonly when I define a figure graphics I write something like: \begin{figure}[btp] \centering \includegraphics[width=0.95\textwidth] ...
0
votes
0answers
54 views

Flashmovie in Beamer using JW-player

I am using this to play a flashmovie in beamer: \flashmovie[width=7cm,height=7cm,engine=flv-player,auto=1,loop=1,controlbar=0,image=Li.png]{Filament.flv} This is working however flv-player is not ...
0
votes
0answers
14 views

figures and text do not appear in the right order [duplicate]

That's my code \subsection{Here is the subsection} Here is the text\\ \begin{figure}[htbp] \centerline{\resizebox{\width}{5cm}{\includegraphics[scale=0.5]{r1.png}}} \caption{Here goes the ...
0
votes
0answers
50 views

Beamer video getting rasterized

I have .avi, .mp4, .swf files of the same movie. When I play the movie with: \width=250pt \height=250pt the video will play smoothly on any of the formats. However if I change the size of the video ...
0
votes
2answers
43 views

Enforce figures to be placed in the same section [duplicate]

I'm having some sections in a report with more images (figures) than text. I include the images in the following way: \begin{figure}[h] \centering ...
1
vote
1answer
147 views

How do I put a bounding box around a poorly saved .SVG image?

! LaTeX Error: Cannot determine size of graphic in ./queen-diamond-red.svg (no BoundingBox). How do I put proper bounding boxes into an .SVG file? I tried viewBox="0 0 156 156" I attached the ...
0
votes
0answers
43 views

how to get figures in the choice?

I am using the following environment in my tex file... \documentclass[11pt,a4paper]{exam} \renewcommand{\baselinestretch}{1.2} \oddsidemargin 0in \evensidemargin 0in \topmargin 0in \textheight 9.2in ...
2
votes
1answer
55 views

The code of figures at the end of file, indeed

This question is connected with How to put figures at the end of pdf file. As one can see from @cfr's and mine comments, I hoped, that it was a question, how to put a code of figures, wich are lying ...
2
votes
1answer
74 views

How to put figures at the end of pdf file

I'm preparing an article for submission in a journal and it requires that all figures must be coded at the end of the TeX file and not inline. I've tried to use : ...
0
votes
1answer
53 views

Both scale and reduce height of graphics

This is how i add the graph in latexila \centerline{\includegraphics[scale=0.5]{e1.png}} Question is can I also reduce its height after I scale it? The reason I want to do this is because I don't ...
0
votes
0answers
59 views

Having troubles working with .png and .eps

When I work with PNG files using \includegraphics, the image is shown with less quality than the original in the PDF viewer. I've already tried with EPS files, but after a successful compiling, I see ...
0
votes
0answers
41 views

Successive overlays on image?

How could I make appear on a map of Europe successive dots or areas? Say, I want to show countries with slavic languages marking them one by one with a dot/area/rectangle; then, countries/areas with ...
0
votes
1answer
51 views

Center included pdf graphic

I'm having trouble to center some graphics (in pdf format) I'm including in a latex document. I've tried with \begin{center} \includegraphics{mygraph.pdf} \end{center} and \begin{figure} ...
2
votes
1answer
66 views

insert graphics in cool tool tips

Is there a way to include graphics in cooltooltips argument? like \cooltooltip[0.5 0.25 1]{Example}% {\includegraphics{graphic}}% {http://www.panoramio.com/user/4366708}{Visit my site}{My ...
0
votes
0answers
39 views

How would I insert an .svg image as a symbol into latex?

If I have a symbol which is an .svg image, how would I insert it into as a symbol and not an image? Could I make it into a glyph or a font? How would one do that?
2
votes
1answer
58 views

An extra margin is added when used \begin{center}

In my MWE I use \frame{\includegraphics....} to find what happens \documentclass[12pt,a4paper,oneside,openany]{book} \usepackage{graphicx} \begin{document} \begin{center} ...
0
votes
1answer
101 views

Add biographical summary in the end of a paper

I am writing a paper using spring latex template. But i cannot add an author's biography using \begin{biography} ... \end{biography}, the spring class seems not providing biography environment. I find ...
2
votes
1answer
73 views

matrix image in Beamer

I am preparing a Beamer presentation, and would like to have kind of a function (I will do this several times with different inputs) that given a matrix with elements between 0 and 1 (like an output ...
0
votes
2answers
78 views

subplots 3X3 with one colorbar at the top

I wanted to do 3x3 subplots with their colour bar shown north side, I want to write a code that puts them together as 3x3 subplots in Latex and then, I need to place thier colorbar at the north ...
0
votes
2answers
42 views

How to arrange the figure along the line itself?

How to arrange the figure along the line itself? My picture must be along the question itself. How to do that?? help me. Thanks in advance \documentclass[12pt,a4paper]{exam} ...
0
votes
0answers
49 views

LATEX: graphics is half displayed in generated PDF [closed]

I have used following code segment to include a figure in my Latex project: \begin{figure}[t!] \begin{center} \includegraphics[keepaspectratio=true,scale = .45]{Figure01} \caption{Coexisting ...
3
votes
3answers
117 views

How to use a macro to store the default pgfplot properties

I have some default settings for my pgfplots plots, such as xlabel, ylabel, width and so on. Since I have a large number of such plots and don't want to repeat all the properties, I want to store them ...
2
votes
0answers
100 views

How to add Wolfram Manipulate function and image?

I have a problem with including a Wolfram Manipulate function and one image at the same TeX document. I used this code for Manipulate function: d=ParametricPlot[{{x, y}}, {x, 0, 0.2}, {y, 0, 0.2}, ...
1
vote
1answer
32 views

How to make the pdf file that inserted stayed the position I give?

I'd like to typeset the Mathematica code.My solution is Select it (by clicking on the right square bracket ]). Then, following the menu's File>Save Selection As... and saving as a PDF ...
2
votes
1answer
103 views

Memoir chapterstyle - add image before chapter num

Hello I am trying to "publish" my 9yr old's story using the memoir class. I want to use the built in thatcher chapterstyle but modify it to include an image above the chapter title (I want the same ...
1
vote
0answers
17 views

Cannot determine the size of graphic [duplicate]

I know this question asked here before, and I've seen all your answer but it didn't work with me just \includegraphics[width=0.8\textwidth,natwidth=610,natheight=642]{first.png}work, but if I do ...
9
votes
1answer
150 views

Include PDF with OCGs

I want to avoid to recompile large tikz graphics and therefore I compile them as a standalone pdf file. This file contains some OCG layers which I want to use in the main file, but the OCG layer are ...
3
votes
1answer
58 views

can't \hyperlink{\includepdf

I'm making a image grid that links to pdfs. I want the pdf to link to the image too. Neither the hypertarget to the image nor the hyperlink to the pdf work. Are there any jump to page instructions ...
5
votes
1answer
246 views

Icons in Table of Contents

This image provides a rough approximation of something I'd like to do in my book's ToC. I would like the sections within only one of my chapters to utilize a unique icon. For the sake of time, I've ...
4
votes
1answer
63 views

Insert page of current document as figure

I'm trying to insert a page (that was already typeset, i.e. page < currentpage) of the current document as a figure. Obviously, one could use something like ...
2
votes
0answers
21 views

How do I get includegraphics to correctly read in a filehandle that has periods in the name [duplicate]

I have a collection of files like the following: \documentclass[border=9pt]{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.3}%% \pgfplotsset{every axis/.append style={ ...
4
votes
2answers
64 views

Caption Formatting

How do I format the caption spacing: \begin{figure}[h] \centering \begin{minipage}{.5\textwidth} \centering \includegraphics[width=2in, height=2.5in] {JAR} \caption{Desired Jar for the ...
1
vote
2answers
57 views

how to do I change the margins around a figure so it takes up maximum space

I have a lot of graphs that I am trying to fit on one page to save trees. I have 66 graphs in total, I am thinking of putting 11 / page (I have 6 groups of 11 graphs) and double sided printing = 3 ...
2
votes
1answer
106 views

Figure not showing up in siamltex document class

I am working to submit to a SIAM journal and am trying to add a figure. The latex file compiles but the pdf output is blank. Here is a MWE. ...
1
vote
1answer
66 views

Problem with \includegraphics not compiling

I've been using TexnicCenter and \includegraphics to render EPS files as images for many years. My old laptop died, and I've had to start using a new laptop. Everything was working well until I tried ...
6
votes
1answer
133 views

Weird overful vbox message when code and image are overlaid in beamer

See the following code. The first two frame contents (first one code, second one image) do not produce any overfull vbox message. \documentclass{beamer} \usepackage{filecontents} ...
4
votes
1answer
134 views

Embedding images in tex file as base64 strings?

A commonly asked question on this site is how to embed images directly in a .tex source file, without the need for the image to exist in a separate file. Examples of such questions (often marked as ...
4
votes
1answer
120 views

All figures are grayscale!

I think I am trying nothing unusual: I just want to use \includegraphics to include .png and .jpg files. But for some reason all my figures are in grayscale, which is not what I want. MWE: ...
3
votes
0answers
54 views

Is xelatex compatible with pgf masks?

When making my presentation with beamer I use xelatex to get nice fonts or I use pgf package to make images with transparent backgrounds. Unfortunately, I cannot use both at once as xelatex ignores ...
1
vote
1answer
56 views

Additional Question to “Transparent image background in beamer” from 2012

In Transparent image background in beamer there is a nice example to find showing a background image with text in front of it. I would like to show the picture in a first step and "dim it down" (e.g. ...
0
votes
0answers
106 views

Unable to insert images when compiling with LaTeX (works with XeLaTeX)

I am unable to insert images into a document based on the article or beamer classes. My editor is Kile. I am getting the following error messages when compiling documents which use the for beamer and ...
2
votes
1answer
58 views

include a preamble in a standalone

I need to make many images wich uses the same preamble. To make those images, I use the document class standalone. My aim would be to create a file preamble.tex and to include it in the other files, ...
1
vote
2answers
94 views

Inserting graph from gnuplot to latex

How to insert high quality graph drawn in GNUplot in LaTeX. I am trying to use following method: draw graph in gnuplot saving it as SVG file converting svg into pdf Inserting pdf into latex file ...
0
votes
0answers
56 views

Figure ok in dvi but a mess in pdf and ps

Apologies - this is my first time posting and I'm having trouble figuring out how to put multiple images WITH the correct descriptions! So I've just put 2 - the one with the figure nicely positioned ...
0
votes
0answers
52 views

Position of included svg image

how can I include an .svg image and center it relative to a specific point? There is a specific point in the image that should be equidistant from both the left and the right of the page.