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

2
votes
2answers
458 views

Small (1cm) colored bar from top to bottom on left side of document title page?

How can I add a small (1cm) colored bar from top to bottom on the left side of my document title page?
51
votes
9answers
6k views

LaTeX/Math jokes [closed]

Lighten up a bit guys. How about the following \documentclass{article} \usepackage{graphicx} \begin{document} If~~$\displaystyle\lim_{x\rightarrow8}\frac{1}{x{-}8}=\infty$ ...
1
vote
1answer
9k views

How can I fix image positioning? [duplicate]

Possible Duplicate: Keeping tables/figures close to where they are mentioned \usepackage{amsfonts} \usepackage{pdfpages} \usepackage[hidelinks,unicode]{hyperref} %- to zeby byly polskie ...
3
votes
2answers
1k views

Why does viewport produce a strange result

I use pdflatex to compile the following input file: \documentclass{article} \usepackage{graphicx} \begin{document} \fbox{\includegraphics[viewport=10 10 20 20]{bald.png}} \end{document} The image ...
2
votes
1answer
52 views

How to suppress units such that they can be passed to viewport key?

How to suppress units in length macros such that they can be passed to viewport. See the following Minimal Not Working Example, \documentclass{article} \usepackage{graphicx} \newsavebox\IBox ...
1
vote
2answers
291 views

A problem in placing caption exactly below the graph

I draw a graph in Latex but I'm having a problem in placing the caption of the graph since I want it be exactly below my graph at the left side of the page but it's always in the center regardless to ...
2
votes
1answer
780 views

Problem converting images for beamer presentation

I've got many troubles with raster images and beamer class: convert *.png to eps, cslatex => dvips => ps2pdf, images look like compressed by jpg algorithm :/ convert *.png -> eps -> pdf (epstopdf) ...
5
votes
1answer
4k views

Fix position of picture over different slides

I have a few very simple beamer slides, which are built up this way: A short introducory text A picture, which is almost the same in all slides Unfortunately, the introducory text is ...
2
votes
1answer
910 views

Force sideways graphic to fit page

I'm using this preamble: \documentclass[pdftex,10pt,b5paper,twoside]{report} \usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry} \usepackage[comma]{natbib} ...
15
votes
2answers
968 views

Automatically Locate Included Images

Do you think it's possible to include images into LaTeX without specifying the exact path to them. So instead of: \includegraphics{path/to/image/myfig.pdf} It would be: \includegraphics{myfig.pdf} ...
4
votes
2answers
2k views

A scheme in LaTeX

I have 5 statements and some of them are equivalent, for some of them implications hold only in one direction. I would like to draw the scheme of these relations in LaTeX. Fortunately, two pairs of ...
25
votes
2answers
34k views

Adding custom image in title slide

I use beamer with the warsaw style to create presentation. I would like to insert an image in the title slide as part of customization. An image that fills the whole breadth of the slide but limits to ...
3
votes
1answer
632 views

How to make a graphic fill the rest of a given space?

Sometimes I use a figure numbering style in which each number is placed to the left of a figure. When using this formatting, I try to make sure that the space occupied by a given number and figure is ...
15
votes
2answers
2k views

Suppress the processing of all images

I am trying to make a draft by forcing LaTeX to ignore all images. How do I tell LaTeX to suppress all the image filenames (in the \includegraphics command) and just insert an empty box? The problem ...
2
votes
1answer
469 views

LyX — copy images into build directory for LaTeX include tags

The default beamer-ornate template includes an option to put an institution logo at the bottom of every slide, \pgfdeclareimage[height=0.5cm]{institution-logo}{logofile.png} ...
7
votes
2answers
3k views

Two images aligned to the center of the page

I need to add two logos on the first slide. The problem is that these logos have very different dimensions. So I have decided to align to the centre of the page. The slide should look like this: | ...
-3
votes
2answers
867 views

How can I draw an aircraft diagram using Latex/tikz ? [closed]

I want to draw an aircraft diagram with three axes (longitudinal, lateral and normal) using latex/tikz. I also need three views (top, side, and front) of it.
13
votes
1answer
1k views

Embedding images with an encoding algorithm

Friends, sometimes I had to create a self-contained PHP script. That means the PHP script could have any files within it due to some encoding/decoding algorithm, like Base64. For example, this code is ...
12
votes
2answers
2k views

How to insert code and graphic in textbox

I want to put a graphic and a little linux bash code in a textbox, like the picture blow... with the follow in problem: all in a textbox with yellow backgroud left part is a graphic (a finger)... ...
12
votes
2answers
7k views

A3 pages within A4 doc

I'm writing my thesis and I'd like to insert A3 pages within my A4 document. Is it possible to place figures with captions (as normal) on those A3? I'm able to include full PDF pages which are A3 by ...
0
votes
2answers
760 views

Generating graphics for LaTeX with PyX

I have a script from others that uses PyX - Python graphics package to generate graphics for LaTex. Quoted from http://pyx.sourceforge.net/ PyX is a Python package for the creation of ...
12
votes
2answers
33k views

Move a figure a bit right

I'm trying to place include a pdf figure in a beamer presentation. I'm using \begin{frame}{foo} \includegraphics[scale=0.6]{bar} \end{frame} the figure is always placed a bit too much to the ...
4
votes
2answers
4k views

stripe pattern tikz manual chapter 78

Interleaving two colors in a stripes pattern Aim: coloring a shape (rectangle, circle, etc.) in two interleaving colors with the aid of patterns. One solution would be the definition of four ...
5
votes
1answer
1k views

Make Caption of Image longer than Image in Subfloat

I have little icons (48x48) and I want to display them using subfloat. To prevent that images from being pixelated I set the width to 1cm. But now the caption has also a length of 1cm and looks ...
14
votes
2answers
441 views

How do you deal with fixed resolution screenshots? (e.g. GUI screenshots)

In my LaTeX document I need to show some screenshots of a GUI, which has a fixed resolution (for example, 1200x600) and I cannot change it (not without much hassle). The text in such figures always ...
2
votes
2answers
2k views

Why do pdflatex and latex LNCS outputs look different?

I've found that using embedded postscript (eps) with the pdflatex command, as opposed to the latex command, may require more effort; and potentially insecure write18 permissions with cygwin. No ...
2
votes
2answers
1k views

Side by side images problem

I am having some problems using sub-floats. I am trying to put two images side by side in the same row to avoid wasting space, for which I used sub-floats. However, they touch each other that it is ...
2
votes
1answer
2k views

Sideways figure and caption to fit textwidth and no page break

I'm struggling with placing some plots in latex. I'm trying to include the plots (sideways, but not the heading) in an appendix, so the first plot needs to be placed at the same page as the appendix ...
2
votes
1answer
397 views

How to set title for a single page inside document

I would like to ask for an advise about how to set title of the single page inside the document (not the title page, but regular page in document). I'd like to have picture on whole page with caption ...
0
votes
2answers
432 views

How do I include a path to my image in graphicx?

I want to specify path-to-image\image.png but for obvious reasons that will not work because \... is interpreted as a command. How do I include a path to my image? (I'm on Windows 7). ...
5
votes
2answers
4k views

How to use the color package with dvips option together with the graphicx package?

I have a problem with the bounding box of my graphics. Example 1 below, where I only include a PNG image works fine. Example 2 below, where I also have \usepackage[dvips]{color} in order to include ...
7
votes
3answers
2k views

Is an adjustable font in figures possible?

When I resize my pdf figures and graphs I often find that the text in these figures become too small to read. Is there a way of ensuring that the font in figures match the body text?
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 ...
2
votes
0answers
49 views

Latex: adding text inform of a graphic [duplicate]

Possible Duplicate: Displaying two XML listings side by side. I have two xml outputs from a program that I would like to include in a latex document. I would like them to appear ...
11
votes
1answer
720 views

Driver specification for hyperref and graphicx

When using hyperref and compiling via pdflatex or dvips, I do not need to specify the driver with \usepackage{hyperref}. However when compiling via dvipdfm this fails and I have to specify the driver ...
1
vote
2answers
5k views

caption ruining figure placement in minipage

I have tiny problem. I'm using minipage to put two pictures side by side in a two column article. The code is \begin{figure*} \centering \begin{minipage}[b]{.49\textwidth} ...
2
votes
2answers
4k views

wrapfig in beamer

The \includegraphics command can take an overlay parameter <n> in beamer. I'd like to do the same thing for \wrapfig to allow overlays of a wrapped figure. Is that possible ?
5
votes
1answer
3k views

How to add references to images in beamer

I need to add references to some images included in my beamer presentation (via pgfuseimage) as these images are not mine but taken from some other sources. Which ways are there to do this, what would ...
3
votes
2answers
515 views

Graphics lines too thin

I use PCTEX 5.1. When I print from a DVI window my embedded graphics line plots are too thin and almost fade out. When I export the document to a PDF and print it the graphics line weights are much ...
6
votes
1answer
2k views

Centering a gnuplot figure properly

I use gnuplot and its epslatex terminal. When I include a gnuplot-generated figure in my document and center it as usual, it often appears shifted right — because the labels on the left contribute to ...
3
votes
1answer
214 views

Driver-dependent invocations of the graphix package?

The LaTeX General Guidelines show a conditional invocation of the graphicx package. I wanted to test this out. I did the following: Created a main.tex in which I LEFT OUT the big, complicated, ...
1
vote
2answers
2k views

Centering an image and a two-column layout.

Here's what I'd like to do. Place a centered image, and then have two columns of text centered below it. I did the following: \begin{center} \includegraphics{image} \begin{multicols}{2} lots of text ...
9
votes
2answers
568 views

Image manipulation: What are the options?

What manipulations on imported images can be done from inside LaTeX? Using the graphicx package, I can Change image width and height Rotate image by a given angle Crop image Select specific page in ...
0
votes
1answer
675 views

How to make your eps image from \includegraphics be inside some border and have some description in it?

So we do \includegraphics[scale=0.75]{myfig.eps} to get image on the page. But how to wrap it into border and make itassignable with some automated image number like image N label like image about... ...
5
votes
2answers
4k views

Successive display of animations in a beamer/tikz environment

i made a simple animated graphic in a tikz/beamer environment. the problem is that when i click on one of the slides, all animations begin to move. what i am looking for is that on slide 2 S begins to ...
14
votes
4answers
3k views

How to automatically draw a graph in LaTeX

clarification: when I say "graph", I mean the computer science term. I want to draw a full binary tree of h height. It means that there's one root with two sons, each son has two sons and so forth. ...
1
vote
3answers
548 views

A good graphics program? [closed]

Anyone can give me an advice on finding a good program that would allow me to make free-body diagrams, such as a pendulum, a block descending down an inclined plane, a spring attached to a block and ...
1
vote
1answer
604 views

How to obtain clear printed graphics with PCTeX v6

I'm a beginner in LaTeX and I use PCTeX v6. Graphics inserted in my document are too fuzzy when I convert *.tex to *.avi or *. pdf formats. They are produced by "Pacestar UML Diagrammer v6" and ...
6
votes
2answers
354 views

Graphic Jumps Up in Beamer

Consider the following code: \begin{frame}{title} \hfill\includegraphics[width=7cm]{1.pdf}\hfill\hfill \vspace{2cm} \hfill\includegraphics[width=7cm]{2.pdf}\hfill\hfill \end{frame} ...
2
votes
2answers
1k views

CMYK poster example: fitting pdf page size to (bitmap) image size?

(This could be a question going a bit out from pure LaTeX zone - if so, feel free to migrate) Let's assume I'd want to make an poster, for now A4 in size. Let's say I've made this poster in inkscape, ...