{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} or {pstricks}.
11
votes
1answer
1k views
Includegraphics: set image opacity
I'd like to insert a PDF, but make it "lighter" by setting the opacity to 10% ("background watermark"). How to do that? A solution that works with texlive 2011 would be great.
I use pdflatex and ...
11
votes
2answers
1k views
Changing the working directory when including files in a subdirectory
I'm working on a mathematics magazine that involves multiple articles from different authors. I would like to give each article a sub-directory in which I can store all the relevant files - .tex, ...
11
votes
2answers
2k views
Vertically center text and image in one line
I need to place an icon and text behind each other on one line. The icon is higher than a single text line, and would like to have the icon and text center aligned. How do I do that?
11
votes
1answer
3k views
How to change white background of an included PDF to transparent
I have an external 100 pages PDF document (not created by pdflatex) that I \includegraphics page-wise into a beamer presentation. The external PDF document employs white as page color, but I need the ...
11
votes
1answer
877 views
Set image to full all available space in Beamer (without overlapping other elements)
I want to have an image take up as much as possible of the content area in a beamer presentation, without overlapping the title, the sidebars, or the footers. How can I achieve this?
The code below ...
11
votes
5answers
4k views
Graphicspath for MikTeX
Is there a way to specify a \graphicspath that includes all sub-directories?
I know I could put all my graphics in a texmf tree, but I'd like to have them in another directory tree. As far as I can ...
11
votes
1answer
54 views
Simple way to switch inline asymptote figures on and off
I use the inline asymptote environment \begin{asy} to draw a lot of the figures in my papers. To those not familiar with asymptote, the asymptote package creates *.asy files for each of the asy ...
11
votes
1answer
241 views
Exclude images for printing pdf
I have a document that has images that are very, very dark. As such, they should not be printed when the user goes to print. Somebody I'm working with loves to print, and they use a lot of toner ...
11
votes
2answers
965 views
Ploting a function using mplib in lualatex
This question asked about ways to generate a nice function graph in LaTeX. There are several great answers, however, most of the either rely on an external program to generate the plot, or, if they ...
10
votes
4answers
607 views
10
votes
5answers
2k views
Are there any packages for creating charts?
I'm looking for a package in which you can create nice bar and/or line charts in LaTeX. Currently I'm plotting the charts in Calc (OpenOffice), export it to a PDF document, crop it and then including ...
10
votes
3answers
618 views
Typographic conventions for width of figures in LaTeX data analysis reports
I posted this question on stats.SE, but the consensus was that it was better suited to tex.SE.
Context:
I've been thinking recently about conventions for figure width in data analysis reports that ...
10
votes
4answers
1k 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 ...
10
votes
2answers
929 views
How to put round cornered frame around an image
I want a nice colored frame around an image which has rounded corners. Here is my attempt, using mdframed, but, as you can see, the inner edge of the frame is a right-angle, and not rounded. I would ...
10
votes
2answers
398 views
Format a tutorial with screenshots in LaTeX
I want to format a step-by-step tutorial in LaTeX in a way that each step shows one screenshot and a small piece of text for that step. I could think of a formatting where in each step the screenshot ...
10
votes
2answers
261 views
How to include eps files in Plain TeX?
The title stands for itself.
If it is not possible, how does LaTeX import an EPS file using \includegraphics?
10
votes
2answers
771 views
Is there an advantage to using LaTeX graphics instead of eps or pdf?
Back in my first courses I learned that the best graphic format to use when plotting data with gnuplot (which will later be used in a LaTeX document) is eps (encapsulated postscript). I didn't really ...
10
votes
2answers
320 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}
...
10
votes
2answers
924 views
Animated plotting with LaTex?
I am not a LaTeX pro, that's why I don't know if the following is possible and how I could do it.
I have a graphic (a plot, jpg) and it shows a time series. I know in PowerPoint it is possible that ...
10
votes
2answers
576 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 fit a large figure to page [duplicate]
Possible Duplicate:
Best figure size adjustment when dealing with different image sizes
Given: a large figure, whose height:width ratio is unknown.
Todo: Include this fig in LaTeX, such ...
10
votes
2answers
276 views
Macro for \textwidth, \textheight and keepaspectratio
I'm using many pictures within my beamer presentation. Somehow I'm tired of writing:
\begin{figure}
\includegraphics[width=0.8\textwidth,height=0.8\textheight,keepaspectratio]{source}
...
10
votes
1answer
298 views
Turning off and on images in figures
Is it possible to prevent the contents of a figure from being rendered? I have a large book document, and to speed up compiling while working on a draft, I would like to have some way of ignoring the ...
10
votes
8answers
2k views
What do people use for modifying figures?
I usually create figures for my articles in Matlab: various plots of numerical and analytical solutions. One thing that I don't like about it is that the font is different in the figure and in the ...
10
votes
2answers
845 views
Adding full-page illustrations before chapters in classic-thesis
I use classic-thesis, and I would like to do the following:
each chapter should begin on an odd page (right on a dual-page view), and on the left page should be displayed a picture I choose.
would ...
10
votes
1answer
246 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:
10
votes
1answer
1k views
Cropping/Trimming an image with includegraphics by specifying percentages
Say I have an image my_image.png that I am loading in my LaTeX document using:
\begin{figure}
\includegraphics[width=0.5cm]{my_image.png}}
\end{figure}
Is there a way of telling LaTeX to only ...
10
votes
3answers
1k 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 ...
10
votes
1answer
229 views
Creating a drop shadow with guassian blur
How can I add a drop shadow to a \includegraphics picture? The effect should be very minute just to be a little bit eye pleasing. I know you can use \shadowbox in fancybox package but the output would ...
10
votes
1answer
808 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
1answer
168 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 ...
10
votes
1answer
532 views
Images off the page in multicols environment
Before my question, some background information.
I’ve created an algorithm (not latex) which will generate a catalog for a collection of books dynamically. A user supplies information to query an SQL ...
10
votes
3answers
5k views
Full page image as title page
Background
Wrote a technical manual in LyX. The technical manual currently has two parts:
Cover image (PDF)
Manual text (PDF)
Problem
When merging the two PDF files (with GhostScript or other ...
10
votes
1answer
210 views
Is it possible to frame text using a graphic border
I've got a document where in a few cases I'm using the framed package and a single \begin{framed} <text> \end{framed} to visually separate text that is something akin to commentry on the main ...
10
votes
1answer
440 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 ...
10
votes
1answer
387 views
Reusing an image without duplicating it
PGF has a nice feature, declaring an image and re-using it again and again. With a PDF backend, it reduces the size of the output, as the image is embedded in the file only once. However, the PGF ...
10
votes
1answer
298 views
Two column layout with text and knitr chunk
When making presentations (with latex beamer class), I often go for a frame layout with text and equations on the left and a corresponding figure on the right. My standard solution has been to wrap ...
10
votes
1answer
434 views
graphics - dynamic image placement
This is a follow up to my post here: Graphics - Images off the page in multicolumn environment
Using C#, XML, SQL, and LaTeX, I've managed to create a system which retrieves database information and ...
10
votes
1answer
269 views
Change on click in beamer
Is the following possible using the beamer class:
You have two images image1.jpg and image2.jpg
You define two "clickable" areas (a1 and a2) of your frame which you can overlay by an picture or ...
9
votes
2answers
677 views
Text wrap with shapepar (insert image between text)
How do insert image between text and text wrap with shapepar or other package?
9
votes
3answers
2k views
Problem with a very heavy EPS image - scatter plot too heavy as EPS
Using Stata, I produced a scatter plot of some variables. I saved the image as an EPS file. There are around a 1000 dots in the scatter plot - and this makes the EPS file to be 26MB. I need to use ...
9
votes
4answers
287 views
How to fill the limits of the two curves?
I want to fill the limits of the two curves (as shown). This is my code
\documentclass[10pt]{article}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\pagestyle{empty}
\begin{document}
...
9
votes
3answers
617 views
Convert PNG image to TikZ code
I am trying to convert this image here into a somewhat clean TikZ code
Now I downloaded potrace, and tried to convert the image to an eps, and then to use inkscape to convert it into TikZ code. ...
9
votes
4answers
2k views
Inkscape → PDF → includegraphics → XeLaTeX → changed colors
I have an SVG file, which I have made/edited with Inkscape. I want to include this image in my thesis. The svg file is here: http://brussense.be/temp/theSVG.svg
(because Inkscape uses a non-standard ...
9
votes
2answers
205 views
How to detect if in an exercise environment?
I found in How to use figure inside a exercise environment? that I can't use begin{figure} ... \end{figure} in an exercise environment. I also found situations where avoiding the use of such floats ...
9
votes
2answers
464 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
5answers
3k views
How would you do Karnaugh's maps in LaTeX or ConTeXt?
In a document, I have to include those simple diagrams to show the procedure of reducing logical circuits.
What do you think is the best way to do them?
9
votes
3answers
1k views
Graphing sine function in MetaPost
I'm trying to reconstruct this picture in MetaPost:
So far came up with this:
draw (-1cm,0)--(3cm,0);
draw (0,1cm)--(0,-1cm);
draw fullcircle scaled 1.8cm;
label(btex $y$ etex,(0,1.2cm));
...
9
votes
4answers
1k views
Include Adobe Illustrator files (ai) with XeTeX
Adobe Illustrator files are PDF compatible. That is a regular PDF reader, ex. Sumatra-pdf, can open and view them. I was hoping it would be possible to have xetex (with xelatex) and graphicx to ...
9
votes
4answers
2k views
Convert gif image to png on the fly
I am using pdflatex on linux and attempting to convert gif to png.
I can run scripts to find out the image attributes and even and convert
the files supplied from a folder but I can not write back to ...

