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

5
votes
1answer
742 views

Inserting an image on the right

I got a problem in my LaTeX document. I used the codes below: \begin{flushleft} \begin{figure}[tp] \centering \includegraphics{C:/Users/churva/Desktop/wla.jpg} ...
5
votes
3answers
2k views

Crop equations with preview package

Is it possible to avoid left space from equations previewed with preview package? \documentclass{minimal} \usepackage{amsmath} \usepackage[active,tightpage,displaymath]{preview} ...
5
votes
1answer
1k views

Figure reference management

I'm writing an academic report and it is required that I include my figure/picture references (almost exclusively URLs). Already tried to use BibLatex to make sub-bibliographies but that proved to be ...
5
votes
2answers
2k views

Problems with pictures in multicol

I am writing a short article for a magazin and want to have a two-column text. Since the header is supposed to be centered, I decided to use the multicol-package. This is my header: ...
4
votes
1answer
249 views

Fancy header and footer including images with tikz

Consider the following code: % DOCUMENT TYPE \documentclass[12pt,a4paper]{article} % PACKAGES \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[english]{babel} ...
4
votes
2answers
1k views

add vertical line of equation x=2 and shade a region in graph by pgfplots

I would like to plot these four equations : $$y=\dfrac{3}{2x+1}, y=3x-2, x=2 y=0$$ and i don't know how to draw vertical line of equation x=2 and shade a region like the picture below ...
4
votes
1answer
184 views

Checklist with float images in the left side of the page

I want to create a document which is mainly a check list, but what I want is to show an image on the left side of the page, and the check list was shown in the right side of the page. Like the image ...
4
votes
2answers
1k views

Draw a grid for obtaining coordinates to pass to includegraphics' viewport option

I want to include only parts of an image. For this, I use the viewport option of graphicx's includegraphics. To find the coordinates, I go by trial and error, adapting the viewport argument until I ...
4
votes
0answers
285 views

Making a family of graphs in TikZ by a few definitions [closed]

I am trying to make in TikZ a family of graphs, as in included pictures. I can make them one by one, using nodes (circle/square/triangle, black/white) and joining them. However it seems to me, that ...
4
votes
1answer
3k views

Background image from tikzpicture does not fit the whole page

For a poster, I would like to have an image fill the whole page. This image is supposed to be drawn within a tikz environment as my other content. However, graphicx seems to fail at rescaling when the ...
4
votes
3answers
2k views

Beamer - Put a picture right of the table of contents

I have problems to put a picture right to the table of contents. This is how it should look like: I have two MWE's, becuase I already tried two different approaches. (All the empty frames are needed ...
3
votes
1answer
1k views

Animate multiple sequences of images side by side

Say I have 2 sequences of images imA-1.png,imA-2.png,...,imA-n.png and imB-1.png,...imB-n.png . I would like to use something like xmpmulti's \multiinclude, but the following prints the imA sequence ...
3
votes
1answer
638 views

Adding PDF pages with \includegraphics using a loop

I need to include PDF pages with \includegraphics. I know there is the package \usepackage{pdfpages}. So this is what I have: \begin{picture}(0,0)(75,272.5) ...
3
votes
1answer
3k views

XeLaTeX, \includegraphics and \hyperlink

I have question regarding XeLaTeX. I have switched from LaTeX to XeLaTeX because I wanted to use ttf fonts and now I have a problem with \hyperlink. It works with text, but it doesn't with images. So ...
3
votes
2answers
243 views

Aligning images in the marginal notes based on a specific paragraph height rule

Friends, I have to put some images in the marginal notes of a text. Unfortunately, I have some issues with the image alignment. Consider this minimum example: \documentclass[oneside]{book} ...
3
votes
3answers
26k views

latex two column layout set figure to load on single column

this is the double column code \begin{multicols}{2} \begin{figure*}[!ht] \centering \includegraphics[height=60mm]{CC.jpg} \caption{AA \cite{BB}} \end{figure*} \end{multicols} But the ...
3
votes
1answer
3k views

Grid to facilitate positioning of objects with \put in beamer

In presentations with the beamerpackage I use \put a lot to place graphic objects like this: \newcommand{\putat}[3]{\begin{picture}(0,0)(0,0)\put(#1,#2){#3}\end{picture}} % just a shorthand ...
16
votes
3answers
797 views

Need alt text for images in pdf for screen readers

I need the generated PDF to have "alt" text associated with each image so that a screen reader can read the alt text to the visually impaired user. I understand that essentially just including the ...
14
votes
2answers
1k views

Example images in LaTeX?

How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should ...
14
votes
2answers
4k views

Image next to Equation

I am trying to make my first LaTeX file and have been reading syntax for a bit and have not been able to figure one thing out yet and don't seem to find anything about it online so I thought I might ...
14
votes
2answers
2k views

Placing picture above \chapter?

Can anyone recommend/provide an example as to include pictures in the chapter headers? Any packages known for this? I have read about fncychap which looks great, but would still require add'l ...
12
votes
1answer
5k views

Is it possible to use includegraphics with relative path inside subfiles?

Question I have many documents that I want to be merged inside one document. It could be for example a kind of year recap, with many different sources that use the same preambule like lectures, labs, ...
12
votes
2answers
705 views

How to include random images?

I'd like to make LaTeX pick one image file randomly from a series of eight images, and include it. I found that ''lcg'' package can generate random numbers: \usepackage{lcg} ...
12
votes
2answers
376 views

How to emulate some options of \node from TikZ

Code \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture} \foreach \a in {0,45,...,315}% {\node[line width = 0pt, rotate = \a, anchor = ...
12
votes
1answer
650 views

Resulting document size when Including a graphics file multiple times - pgf vs. graphicx

In his answer to the question Tikz: using external images as building blocks. Stefan Kottwitz says: The pgf way may be preferred if the document size matters and graphics are multiply used or if ...
11
votes
3answers
14k views

Beamer: How text wrapping around a graphic right aligned?

I want to include a graphic in beamer presentation with right alignment and this graphic should be wrapping by text. I tried three packages but non of them works correct (minimal example below). ...
11
votes
1answer
945 views

Redefine memoir Part to allow image

I am preparing a book with memoir. The book has three parts. I would like to have the Part title raised and to insert an image directly below the title. I am able to raise the Part title to the upper ...
11
votes
1answer
2k views

Use \setkeys{Gin} to set default scale value doesn’t work

I’d like to make all my graphic a little smaller and tried to set the scale-value of \includegraphics globally with \setkeys{Gin} but while changing width works fine scale has no effect. ...
11
votes
3answers
11k views

How to make images appear at their actual size?

Whenever I insert an image into my PDFTex document (using the code below) it seems to be resized to fit the width of the page. I know I can change this using the scale parameter, but that means I have ...
10
votes
2answers
567 views

Include PDF via \pdfliteral

The pdfinlimg package and perl script allow to include ("binary") images directly into the LaTeX source code via the \pdfliteral command. For example, \documentclass[margin=1cm]{standalone} ...
10
votes
1answer
2k views

Parameter Stack Size Error with graphicx

I'm trying to include a graphic in a document, and no matter how I try to manipulate the graphicx package, I have never been able to make an image appear. I have tried making the image PNG, PDF, and ...
10
votes
1answer
2k views

Embedding MetaPost in LaTeX document

I have problem using the emp package in TeXlive 2010. When I try to use it with empcmds it prints contents to output. If I use emp it parser fails after first character. Also - how should I import ...
10
votes
3answers
2k views

How do I include a click-to-zoom thumbnail picture in a non-beamer document?

The Beamer class for presentations provides a way (using the \framezoom command) to include a picture in the document on which one can click to zoom in, and then zoom back out with another click. How ...
9
votes
2answers
118 views

Move figures around in a document with a simple command

During the draft phase of an article, when the text is being developed and things move around a lot, I place all my figures at the end of the document so that I'm not greeted with sudden layout ...
9
votes
3answers
580 views

Output TeX into a PDF template

I'm writing a cover letter that I want to have on university letterhead, which I have a full-sized electronic copy of (in PDF as well as JPG). Is there an easy way to make TeX do this?
9
votes
4answers
919 views

Include source code of pdf picture directly into LaTeX file

Suppose you have a (PDF)LaTeX file where you include pdf pictures via \includegraphics. Now, if you want to share the LaTeX file with another person, you always have to send not only the LaTeX file ...
9
votes
2answers
1k views

Step-pyramid in LaTeX

How can I generate a step-pyramid in LaTeX? I'm guessing I would use a graph module to centre chart bars... I want to be able to select the length of each "row" of the pyramid, and show that number ...
9
votes
1answer
5k views

Compile a file when images are missing/not available

I don't have access to my image files so I want to only compile with the text. I figured using draft mode would solve this problem but I still get a "cannot find image file" error. How can I compile ...
8
votes
2answers
937 views

sharelatex: PDF inclusion: required page does not exist <5>

I checked the other question similar to this issue yet I could not find a proper solution for the issue I am facing for including an .svg file which is converted using inkscape with pdf+latex option ...
8
votes
2answers
789 views

Watermark on pictures only

I know how to use a watermark on a full page in LaTeX reports, using for instance this code: \usepackage{draftwatermark} \SetWatermarkText{Confidential} \SetWatermarkScale{5} However, on my report, ...
8
votes
2answers
8k views

Fix vertical alignment in beamer

I am using a beamer frame in which the top has alternating list items, and the bottom has a picture. The problem is that because of the different number of rows for each item, the picture changes ...
8
votes
3answers
1k views

Howto generate png images of characters using LaTeX

I need to generate PNG images of Latin characters and AMS symbols with transparent background. Each image should be exactly in dimensions of its box. I know It's possible with LaTeX because I see ...
7
votes
1answer
31k views

No BoundingBox error message

I want to include an eps file in LaTeX. I typed the following in Texmaker \begin{document} \begin{figure}[!ht] \centering \includegraphics[scale=1]{figure} \end{figure} \end{document} The error I ...
7
votes
3answers
650 views

Vertically center image with text midpoint

I want to vertically align the center of an image with the vertical center of the text on the same line using \raisebox. Using a macro is a must since it will be used many times (and multiple times on ...
7
votes
1answer
305 views

What is the “#” for in TikZ?

I am a newbie and I asked in How to create rectangles like in this example? about how to make some rectangles. I am trying to read the code and understand it as I need rectangles rather than squares. ...
7
votes
1answer
1k views

LaTeX producing black background with transparent png

I am trying to use png images that are transparent. This is an example of my LaTeX file (I am intentionally putting the images on top of themselves): \documentclass[10pt,letterpaper]{article} ...
7
votes
1answer
415 views

boxing a matrix column with tikzpicture, how to ensure sides don't bend around contents?

When using tikzpicture to draw a rectangle around subsets of matrix elements, how can I be sure of getting a rectangle, rather than a shape that has wonky sides because it takes account of the varying ...
7
votes
2answers
3k views

Add a figure title and x-axis label to a figure matrix created using pdfpages

Background I previously asked: Can I convert a 16 page pdf into an 8x2 matrix in LaTeX? I ended up creating a 3x5 matrix of images from a 15 page pdf by compiling a document "foo.tex": ...
7
votes
2answers
2k views

multipage pdf as separate image in LaTeX [duplicate]

Possible Duplicate: pdflatex, \includegraphics, and multi-page PDF files Sometimes I create a multi-page pdf as output, e.g. graphs from R. Is there a possibility which allows me to select ...
6
votes
1answer
193 views

How do determine the arrow form in Tikz

I plotted following image: Using this code: \documentclass[10pt,a4paper,twocolumn]{article} \usepackage{bondgraph} %Draw bondgraphs ...