{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
2answers
8k views

Inkscape PDF resizing

I'm trying to include some PDF I saved in Inkscape and change the width and the height at the same time. Is this possible? I tried \svgheight and it did not take both values at the same time. This is ...
6
votes
2answers
118 views

Defining the size of a graphic based on the number of rows it should span in ConTeXt

I am using ConTeXt to make a document containing many illustrations. Some will appear placed like this (the area in brackets is where the illustration will appear: This is some text. This is some ...
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 = ...
40
votes
7answers
19k views

Included PNG appears blurry in PDF

This is a follow-up to Included png appears too big in PDF, but it's a separate issue so I'll put it in its own question instead of burying it in comments. The problem: an included PNG, included ...
16
votes
3answers
11k views

What's the best way to include graphics in an enumerated list?

I'm currently putting together an installation document for some software at work, and I decided that now was as good a time as any to try to ditch the endless frustration that is Microsoft Word, and ...
3
votes
1answer
4k views

Unable to include figure

I was trying to include figures in my LaTeX file like this : \begin{figure} \centering \includegraphics[scale =0.5]{graph/jm90-10/1.jpg} \caption{ Job Mix 90:10 (CPU:Disk) Topology Mix 10:90 ...
16
votes
1answer
13k views

How to float figure within multicol text

I have a simple two-column text, and want to place figures within the text. I used this code \documentclass{article} \usepackage{multicol} \usepackage{graphicx} \usepackage{caption} \begin{document} ...
5
votes
1answer
488 views

Different types of boxes/frames around the title of my pdf

Can someone tell me how to create boxes around the title of my PDF? I'm thinking about something like this: where I can write stuff around the title (which is "test test...").
9
votes
3answers
351 views

Inserting an image properly in a table

I'd like to insert those lines that from "Foo" point to the four different rows in the table. I've tries inserting an image but it doesn't come out right (please ignore the bad quality of the ...
10
votes
1answer
261 views

Table-aligned, randomized, repeatingly smaller icons for eyesight-chart

My daughter needs to train her eyesight in accordance to the LEA eyesight chart tests. I have manually created a new chart for her, but it really takes a long time randomzing the four icons and ...
5
votes
0answers
628 views

Creating a colored bar chart using MetaPost or pgfplots [closed]

Right now I have this: input graph input sarith beginfig(1) draw begingraph(3cm,2cm) gdata("data1.d", v, path p; augment p (v1,0); augment p (v1,v2); augment p (v1 Sadd ...
9
votes
1answer
855 views

Split a scanned photo across multiple pages (with a predifined splitting point)

I am a relative (La)TeX newbie! I want to split an A4 scanned image across two pages! Is there a package to achieve this or is it possible to do this manually so that to be able to define the exact ...
2
votes
1answer
2k views

PS/LaTeX figure exported with Xfig doesn't render properly

I just installed the basic version of MiKTeX 2.9 on my Windows XP system. I compile this very simple document (test.tex) with TeXworks, using the default pdfLaTeX command: \documentclass{article} ...
5
votes
1answer
863 views

tiling a pattern for beamer background

Is there a solution to have a given pattern (lets say as a .pngfile) tiled on the background (background or background canvas) for beamer-presentations? I only find links to the wallpaper package, ...
4
votes
2answers
4k views

LyX: set width of image to 100% of page width

When I insert an image into LyX and set it to 100% page width, its left side is not at the farthest most edge of the left page. Instead it starts where the text margin is, and since it's too large to ...
3
votes
1answer
4k views

I'm having trouble with \includegraphics I'm using MacTeX

Firstly and fore-mostly I am a complete new comer to the world of LaTeX and so please do bear with me. I will try to be as accurate as I can but if you need any more info please let me know. All I ...
1
vote
0answers
520 views

Including a graphic in the contentsline of a Table of Contents [closed]

In a dictionary, I have the first page of each section — corresponding to a different letter of the alphabet — marked to appear in the table of contents, using the titletoc package: ...
9
votes
1answer
4k views

MindMapping with LaTeX

Is there any mind mapping tool which will allow for typing in LaTeX? I particularly like FreeMind but it has no LaTeX support.
1
vote
0answers
812 views

beamer doesn't show png and pdf files [closed]

I have included .png and .pdf files in my beamer presentation. When I compile the document I can't see them. The documentation I read claim that both .png and .pdf should are readable by beamer. How ...
16
votes
2answers
13k views

How to make a block transparent for a background image

I use the code \usebackgroundtemplate{ \centering \includegraphics[width=0.5\paperwidth,height=0.5\paperheight]{image.png} } to get a background image in a Beamer/Latex presentation. ...
0
votes
2answers
288 views

tex4ht: create (dummy) eps images on the fly

I am using tex4ht to create a document in HTML and my images are PNG files. For tex4ht I need eps images although in the final HTML page I use original PNG files (see my other question here on ...
6
votes
4answers
1k views

Alternative for drawing graphs?

I've been trying to draw a graph with a series of X,Y points in TikZ, but it won't accept my points so I'm seeking an alternative package that might handle scaling a bit better. The kind of points ...
5
votes
2answers
524 views

Problem to include EPS file with file name containing “#”

I have problem including EPS in LaTeX document. I am using latex->dvips->ps2pdf workflow to compile LaTeX document file. Error is thrown as Illegal parameter number in definition The EPS file ...
9
votes
2answers
28k views

Shifting Figure to the Left in Beamer

I have a figure in a .pdf file that I'd like to shift to the left a little bit in how it appears in the slide. How may I do this? \frame { \frametitle{Slide Title} \vspace{-0.75cm} ...
11
votes
2answers
2k views

Side brace around image with underbrace

I have an image and I want to put a side brace on the left and an underbrace on the bottom. The underbrace works fine, but the left becomes twice the image height for some reason. I'm sure the image ...
10
votes
2answers
10k views

How to align image

If i have in my beamer presentation some list of items and on that slide i wanna add a picture, which i want to be aligned e.g. to right top corner. \begin{frame}[fragile]{III. Override pages} ...
3
votes
1answer
997 views

Recommended way to control layout within a beamer block?

I've used LaTeX a fair amount to write papers, but I'm just getting into beamer (or more specifically, beamerposter). In some of my poster's blocks, I want to achieve the effect of down one side of ...
0
votes
1answer
1k views

Figure positions and sizing

I have the following figure code : \begin{figure}[h] \centering \includegraphics[scale=.7,bb=0 0 804 401]{f5.png} \caption{Case Adaptation \cite{16} } \label{fig:f5} \end{figure} Even ...
6
votes
2answers
925 views

tex4ht: reuse png images instead of creating new ones

I have a lot of PNG images in my document, which (the document) I'd like to convert to HTML using tex4ht (htlatex). Now the images need to be in EPS format, as htlatex uses DVI mode. So I run convert ...
4
votes
1answer
454 views

Font issue when including EPS from Metapost into XeLaTeX

I've run into strange problems with fonts in figures included in XeLaTeX document. I have figures generated from Metapost sources with rotated math labels. When I include resulting EPS into document ...
5
votes
1answer
580 views

Different graphic formats in a document

I have a large LaTeX document with figures in .eps, .pdf, .png, .tif(f), .jpg formats as well as pstricks code and psfrag fragment. One approach to compile this document is to use an external program ...
5
votes
2answers
413 views

How to get the true width (including margins) of a page for inserting images? \textwidth and \textheight are too large

When I enter the following: text width in cm: \printinunitsof{cm}\prntlen{\textwidth} text height in cm: \printinunitsof{cm}\prntlen{\textheight} I see output: text width in cm: 15.11078cm ...
2
votes
1answer
445 views

Add a another row of images

I have a row containing three images. How do I add another row of images below the existing one? This is my code \begin{figure} \centering \subfloat[A ...
1
vote
1answer
326 views

Getting \includeonly functionality with import package

I had problems compiling with the \includeonly \include system since I had images in the document form different subdirectories. For example the main file would be at /Main/MainFile.tex and the ...
19
votes
2answers
2k views

Repeated slides in beamer

I have about 200 JPEG files that I need to include in a PDF document, one JPEG per page (i.e. 200 pages + intro slide). The following code successfully does this with one JPEG. ...
6
votes
1answer
461 views

Define the size of an imported picture

Is it possible to use the width of the paper as a variable in order to set the width of an imported graphics? For instance when I want the picture size to be the width of the paper, minus 3 ...
1
vote
0answers
391 views

Content page, page numbers and few images missing after converting from LaTeX to HTML using htlatex [closed]

I am trying to make a User Manual in both PDF and HTML format. I have generated the HTML file using htlatex but my content page, page numbers and few of my images are missing from it. My images are ...
9
votes
1answer
1k views

How to have a figure touch the edge of the page?

How can I position a figure (picture) so that it: is aligned on the left-hand side with the text (this is in two column page) touches (or exceeds) the right-hand side of the page? An example can ...
1
vote
1answer
181 views

Image scale won't work in ChemStyle

\documentclass{article} \usepackage{chemstyle} \begin{document} \begin{scheme}[ht] \includegraphics[scale=0.8]{schemes/lab1} \caption{Experiment 1 reactions and mechanism} ...
0
votes
1answer
134 views

Why are my images not shown where I've inserted them in my .tex file? [duplicate]

Possible Duplicates: How to influence the position of float environments like figure and table in LaTeX? Keeping tables/figures close to where they are mentioned This is my ...
3
votes
1answer
316 views

Text on the left, picture on the right and other text follows

I use the following code to produce a picture on the right of the text \documentclass[12pt,landscape]{article} \usepackage[demo]{graphicx} \usepackage{lipsum} \usepackage{wrapfig} \begin{document} ...
2
votes
1answer
756 views

Filling polygons with color

Is there any good tutorial/approach in LaTeX for drawing polygons filled with color? EDIT: I would like to use pdfLaTeX interpreter
6
votes
1answer
11k views

Control top and bottom margins of an image?

Using includegraphics seems to set default margins that gives a nice spacing between text and image. But I'd like to layout the text as close as possible to the image. How do I control the margins of ...
99
votes
9answers
6k views

Starting a PhD; Any guides to setting up a 'system'?

I'm starting a PhD and am being overwhelmed with the different possible ways people do things, and how they very rarely mix. I'm (obviously) sold on TeXing it, and have a ViM background I intend on ...
8
votes
2answers
2k views

Drawing Lattice/Trellis Graphs using PGF/TikZ

I am trying to draw a graph containing lattice points and vectors. I wish it to look something like this: I am not sure how to go about it, however, I would ideally like to be able to use ...
5
votes
1answer
1k views

Aligning x- and y-axis with lattice points on a graph using PGF/TikZ

This question is a consequence of a previous question that I posted on the group regarding the plotting of lattice points or a trellis on an axis (ref. Drawing lattice/trellis graphs using PGF/TikZ). ...
14
votes
2answers
2k views

Zooming on a data set in a picture (magnifying glass)

In my TeX document I would like to add a picture and in addition, zooming on a small part of the picture (e.g. inset in TeX or spy in TikZ). My question, I have a histogram 2D (f(x,y) = z) date which ...
5
votes
1answer
1k views

Wrapfigure apparently creating dummy space on a following page

The example below is a newsletter with two news items. The first item has a wrapfigure to include a graphic. The second does not But the resulting PDF (made with PDFLaTeX) has a blank area close to ...
0
votes
0answers
45 views

I cannot get an image and `lstlisting` aligned in a table [duplicate]

Possible Duplicate: How to align picture top left in a table? I want to display an image and some lines of monospaced text with line breaks (as far as I know, lstlisting is the only ...
1
vote
1answer
594 views

Handling images with wrapfig - text around the image is not behaving, there must be a conflict somewhere

I am trying to control text after inserting an image. The text is being indented like around the image long even after the image ends on the page. It's like the \end{wrapfigure} statement does not ...