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

7
votes
1answer
3k views

How to prevent a large figure occupying entire page?

I have to embed a huge figure in a page where at the bottom there should be some text. However, the figure simply occupy a new page -- how to prevent this?
11
votes
2answers
1k views

How to compose figure from text with latex?

I have an ascii image like +--------------- | xxxxxxx +--------------- | xxxxxxx +--------------- I want to show this in figure environment. So currently I try like this: \begin{figure} ...
7
votes
2answers
7k views

How to create a line graph in LaTeX?

I am in need of displaying line graphs in a LaTeX document but I can't figure out how. I searched on Google but did not receive any promising results. Is it really possible to do this within LaTeX or ...
3
votes
1answer
111 views

Flush stacked rotated images

I have a series of images that I would like to line up horizontialy, all scaled to a given height, rotated 90 degrees and exactly flush with respect to each other. For example: ...
4
votes
2answers
522 views

why doesn't latex start a new page when showing multiple figures

\documentclass{article} \usepackage{graphicx} \begin{document} \begin{figure}[ht] \begin{center}$ \begin{array}{ccc} \includegraphics[width=2in]{stick/Alexis_view1.png}& ...
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": ...
5
votes
3answers
8k views

Set the default path to images directory

I have a project written in LaTeX, that has many pictures (about 1000) which I have divided into 4 folders: letter, legal, booklt and screen for different purposes. I have a folder called "images" ...
4
votes
0answers
329 views

Triangulated Toruses in Sketch [closed]

I want to be able to use sketch to generate an image like this: I am able to get the torus okay using nested sweeps as demonstrated in the tutorial, but my attempts to draw the diagonals using ...
2
votes
2answers
2k views

how to set the canvas and font size in TikZ?

I am using TikZ to draw standalone pictures using the PreviewEnvironment (which cuts the PDF size around the picture). I then import the PDF figure inside LaTeX using \includegraphics. Let say my ...
5
votes
2answers
2k views

how to draw a hexagonal grid with numbers in the cells

The problem of drawing hexagonal grids has been discussed here: Drawing Hexagons I want the shape of the grid to be hexagonal and furthermore, I want to be able to add numbers in the hexagonal cells. ...
7
votes
2answers
4k views

image inside columns inside block in beamer

I try to put an image in columns environment inside a block environment in beamer. Somehow my image is shifting outside the block. Here's an example \documentclass{beamer} \usetheme{Darmstadt} ...
1
vote
0answers
2k views

How can I add a logo to a page header in Lyx? [closed]

I am writing a thesis and want to add the university logo accross the top of my first page. I have a banner.pdf file, which will fit nicely accross the top of the page. But how do I go about placing ...
9
votes
1answer
252 views

How can I create a chapter with graphics only divided into different sections?

I'm trying to create a chapter with pictures only, but keep running into troubles. The chapter is an appendix, where only some graphics should be displayed, placed in different sections. I don't need ...
10
votes
2answers
620 views

How can I insert a paragraph or image into the same spot on every page of a memoir doc?

How can I duplicate one feature of this layout from 'House of Leaves' in a 100ish-page book using LaTeX? (I'm presently using memoir for document formatting/structure.) The specific feature I want ...
3
votes
1answer
385 views

auto-pst-pdf: Not working properly with rotations >=45°

I'm using psfrag to replace text in .eps-figures. Since I'm working also with other graphic formats I use pdflatex and therefore the package auto-pst-pdf. Everything worked quite well so far. Today I ...
10
votes
3answers
19k views

Drawing circuit diagrams (with logic gates) in LaTeX

I'm having some difficult drawing circuit diagrams with logic gates in LaTeX. I've tried with circuitikz and pst-circ. \begin{pspicture}(-1,-1)(5,3) \logicand[ninputs=2,invertinputa=true, ...
18
votes
2answers
3k views

Generating dozens of graphs

I am revising old lecture notes on microeconomics and they contain a lot of graphs. As I am rewriting it in LaTeX, I would like to recreate the old graphs, but I need to select the right tool for the ...
3
votes
2answers
279 views

Setting height of \includegraphics{} from current display style

I'm thinking about building a new symbol library and I need to test out the command set. I slapped together a quick set of math symbols using a set of commands ...
5
votes
1answer
3k views

Unable to load picture or PDF file

XeLaTeX has stopped including .eps files in my document. I get errors such as: ! Unable to load picture or PDF file './images/deBuitleir.fig4.eps'. The image file is there, I double-checked. ...
92
votes
4answers
108k views

How to add border for an image?

I use \includegraphics command to insert image to the document. But how can I add a border around this image w/o any margin between border lines and image? It seems to be very easy, but I can't find ...
10
votes
2answers
1k views

Image on top specified page

How can i place an image on the top of the specified page. For example odd pages will be filled by image, even with text. Or, i just want to make sure that (lua)latex will place images on page 2,3,6? ...
14
votes
1answer
24k views

Including GIF image in pdflatex document

I'm trying to include GIF image in my LaTeX document. To my understanding this is possible. I'm using pdflatex and I get the following message: ERROR: LaTeX Error: Unknown graphics extension: .gif. ...
11
votes
1answer
317 views

Use images for drawing an arrow

Is it possible to draw arrows (preferential with TikZ) with two images: One for the line and one for the tip? I would like to realize something like this:
8
votes
1answer
690 views

How to add illustrations before chapter titles in ConTeXt?

I would like to add some TIFF format illustrations to my document. These have three features, though, which I do not know how to implement: These fill the entire page, ignoring margins. They appear ...
0
votes
1answer
140 views

Render (export) entire document as image

Background Using LyX to create a document and xetex to leverage a TrueType font. The entire text is within a minipage. Ultimately, I'm trying to produce the following output (no white page ...
4
votes
1answer
555 views

Making a stand-alone image with gastex

I want to do the following: Make an image using gastex. Compile the image to a stand-alone pdf image. I.e., at the end of this stage I'll have a myImage.pdf file. Include my image in a large latex ...
2
votes
0answers
59 views

Keep position of graphic in beamer [duplicate]

Possible Duplicate: Avoiding jumping frames in beamer how can I set a figure or a graphic to keep it's position across multiple slides in a presentation? I'm using the \only command to ...
7
votes
1answer
829 views

TikZ Region bounded by points

I have a set of points. I would like to "enclose" the points by a region. Since a picture is worth a thousand words: The dots are the points I want to enclose. I want the ability to control the ...
21
votes
2answers
10k views

How do I add an image in the upper, left-hand corner using TikZ and graphicx

This is perhaps a simple question with a simple answer, but I'm stumped as a tikz novice. What would be the best method to add an image (logo) file to the upper left-hand corner of my document? ...
1
vote
0answers
28 views

Equivalent of <div style=“float:right”></div>? [duplicate]

Possible Duplicate: Equivalent of CSS “float:left;” for images I come from an HTML/CSS background, and would like to know the LaTeX equivalent of the following HTML snippet: ...
3
votes
3answers
2k views

Drag and drop image files to LyX

Is it possible somehow to drag and drop image files from a browser or files directly to LyX when creating a latex document? If not, is there any other editor for OS X that can do this? I find it ...
5
votes
2answers
3k views

Beamer, gastex, and include images

My goal is to have an image created with gastex and include an image (a png,jpg,pdf,.. image) into the gastex one. For example, draw an automaton with a smiley picture in a state. I've read around ...
3
votes
1answer
822 views

Prevent vertical distribution of paragraphs over entire page

It seems it tries to fill an entire A4, as the image of the next page is too big. So it puts a lot of space between the paragraphs. But, I'd much rather have a big chunk of white at the bottom of the ...
5
votes
1answer
523 views

Is there a way to typeout the contents of \graphicspath

First of let me admit that I've very new to the LaTeX, so this may be obvious and I just do see it, but here's my question: I'm trying to write a set of macros to automatically downsample images... ...
12
votes
1answer
14k views

Drawing simple graphs on LaTeX

Let me just say I am NOT drawing graphs from Graph Theory. I am just strictly asking about simple graphs we do in algebra. I just started with MiKTeX and I am trying to read and absorb everything in ...
4
votes
1answer
5k views

How to write a source description under the loaded picture?

I loaded a picture with screen capture from a PDF book, besides giving the title of this picture, I also need to cite the source of it. How should I do this? I tried put the source in the ...
5
votes
1answer
2k views

LaTeX Cartooning

Are there any Latex packages (or any other text based methods) to assist in cartooning i.e. creation of simple images representing real-life objects. Something as simple as the images on xkcd is good ...
13
votes
2answers
632 views

How to tell when to use pdflatex, latex, and xelatex for any given tex file?

I'm writing an automatic compiling pipeline that should be able to compile any given tex file into a pdf. The diversity of the input tex files mainly shows up in what format of figures they use and ...
1
vote
1answer
2k views

Picture not found in moderncv class

I try to compile the following simple template with pdflatex: \documentclass[11pt,a4paper]{moderncv} \moderncvtheme[red]{casual} \title{your Curriculum Vitae title} \firstname{Name} ...
2
votes
0answers
44 views

image negative left marign [duplicate]

Possible Duplicate: Center figure that is wider than \textwidth I'm using a fairly small width for my papers but this way my images get smaller. Is there a way to place images more to the ...
2
votes
1answer
443 views

How to apply different background images for each page using PerlTeX

How do I apply a different background image for each page? I have an array of pdf's to apply. I have used the watermark package. However, I do not like the idea of manually adding a different ...
1
vote
1answer
165 views

Images, titles and margins

I am writing a report and I need two things: there must be an image in the title page at the top left and I have to add a 5mm left margin to odd pages and a 5mm right margin to even pages, how can i ...
4
votes
1answer
758 views

\twopagepicture package refining with long caption spanning across the two pages

The \twopagepicture package is definitely worth it when you have many large pictures. But perhaps I'm not getting the required results because I'm not following the advice correctly. Here are some ...
8
votes
1answer
399 views

Produce PDFs with only the figures/tables without captions and with only the captions without figures/tables

I'm submitting the final copy of a journal paper and got the following requirements: Camera-ready copies of all figures and tables in a single pdf/ps file (that is, produce a single ps/pdf file ...
2
votes
1answer
316 views

Is example-image-a compatible with DVI mode?

I could not get the expected result when compiling the following with latex-dvips-ps2pdf. The unexpected result is just a single blank page with a page number 1. :-) \documentclass{article} ...
1
vote
1answer
246 views

Problem in referring to figures

I'm preparing a paper for submission to a journal. The journal submission system (Elsevier) requires me to load the EPS files (I convert my figures to EPS using gnuplot) separately. But if I do not ...
47
votes
4answers
48k views

Crop an inserted image?

I'm inserting an image with a simple: \includegraphics[height=5cm]{filename.png} This results in an image that maintains the aspect ratio, and so gives me something like 6cm width. I only really ...
81
votes
1answer
7k views

How to include a picture over two pages, left part on left side, right on right (for books)?

When writing a long book (from 300 to over a 1000 pages), there is often need to include large pictures and one wishes to have them displayed over two pages, left half on the left page, right half on ...
9
votes
1answer
903 views

Can I label figures in LaTeX?

I googled to find the answers to the above question. But by "label" I mean labeling the figure, not the label that is used for referencing. Let me explain. Say I am making a figure for a high school ...
4
votes
3answers
702 views

Rotating a set of pictures aligned in multiple rows

I made a figure that displays 2x3 images. However, I would like the whole figure, except the caption, to be rotated for 90 degrees. Here is the code that I tried to adjust by 'rotatebox' command: ...