{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}.
8
votes
1answer
740 views
How to align picture top left in a table?
is there a way to create a table with 2 columns,
in the left column should be some text,
in the right column should be a picture.
The problem is - to align both to the left, top corner. The image ...
5
votes
1answer
4k views
Image from \includegraphics showing in wrong image size
When I use the following to embed an image:
\begin{figure}[htb]
\centering
\includegraphics{my_image}
\caption{blaaa}
\label{fig:blaaa}
\end{figure}
whereas my_image is a JPG file, the ...
3
votes
2answers
792 views
How to export a equation as a image without background?
For example, if we have a equation on a file like:
\documentclass[12pt]{standalone}
\usepackage{varwidth}
\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{amsmath, amssymb, ...
23
votes
10answers
11k views
How to avoid large margins around Matlab plot in PDF
I am preparing image files to be included in a latex document. The image file is generated by printing a Matlab plot.
If I print the plot in eps format, the content of the eps file is fully occupied ...
25
votes
5answers
5k views
LaTeX Package to generate QR codes?
I would like to be able to generate QR barcodes in my LaTeX documents, and I'm having a hard time finding a solution. The use would be a command such as
\qr[1in]{Your text to be QR encoded here}
...
23
votes
1answer
8k views
pdflatex, \includegraphics, and multi-page PDF files
I have a PDF file with multiple figures; each figure is a separate page in the PDF file.
I am using pdflatex, and I would like to use \includegraphics or equivalent to include some of the figures.
...
8
votes
4answers
37k views
LaTeX figures side by side [duplicate]
Possible Duplicate:
Two figures side by side
I want to place 2 images side by side in LaTeX. I have 2 .png files and I don't understand how to do it in LaTeX. I have tried many ways but ...
7
votes
1answer
310 views
Ligatures in figures and pdftex
In the following example, the 'ff' ligature in the figure labels (in 'differential') disappears when pdflatex is used, but the fault does not occur if latex-dvips-ps2pdf is used instead. Both lualatex ...
12
votes
2answers
600 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}
...
7
votes
1answer
567 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 ...
6
votes
3answers
2k views
How to put algorithm and figure(s) side by side?
How can I put an algorithm and figure(s) side by side?
Say,
XXXXXXXXXXX FIG ONE
XXXXXXXXXXX FIG ONE
XXXXXXXXXXX FIG ONE
XALGORITHMX FIG TWO
XXXXXXXXXXX FIG TWO
Please, only post working solution ...
3
votes
1answer
311 views
How to reduce space between image and its caption?
I m importing one image in latex document. But caption has bigger font than my normal text on page.
\documentclass{article}
\usepackage{graphicx}
\begin{document}
Some text...
...
5
votes
3answers
4k views
MikTex error for PNG images when trying to produce DVI
I have a tex file with \includegraphic elements for some PNG images.
I use MikTeX on Windows and the PDF is fine.
Now, I need a DVI so I tried using: \pdfoutput=0
This creates a DVI, but only after I ...
5
votes
2answers
2k views
How to avoid showing the filename when using graphicx?
I am writing a LaTeX document with the apacite and graphicx package. The issue is when I include an image either using figure with an enclosed \includegraphics or \includegraphics by itself it shows ...
3
votes
2answers
6k views
LaTeX Error: Unknown graphics extension: .ps
When I try to compile this file http://danjer.doudouke.org/_media/tech/dokutexit/playground.zip this error occurs:
! LaTeX Error: Unknown graphics extension: .ps.
I'm using TeXworks Version 0.4.3 ...
78
votes
9answers
4k 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 ...
13
votes
2answers
991 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 ...
31
votes
8answers
4k views
Is anybody using TeX for business reporting?
Would TeX (LaTeX, ConTeXt, etc) be a good solution for PDF business reports that require dynamically generated graphs and tables?
I need to create financial reports that must look top-notch in their ...
28
votes
7answers
4k views
Placeholder for figure/includegraphics
Is there a command that I can use as a placeholder for \includegraphics?
I want to use such a placeholder to add the original graphics later.
19
votes
3answers
4k views
How can/should I include annotated images?
It's often the case that I'd like to include some graphic in a LaTeX document and overlay it with some text or other annotation, maybe including arrows or other simple graphics. The annotations can be ...
15
votes
4answers
6k views
How to typeset flowcharts in LaTeX?
I know that it can be done with graphics packages like TikZ, but it seems to be a bit of an overkill. And for those not already familiar with the TikZ system, learning it can be a bit of a barrier. So ...
31
votes
4answers
20k 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 ...
12
votes
3answers
2k views
Add logo on each page.
I need to insert a logo on pdflatex supported format on the bottom right of each page.
Do you think it's possible?
16
votes
5answers
5k views
Where can I find computer modern fonts for use in other programs, e.g. Adobe Illustrator?
For some complicated diagrams, I need to use something like Adobe Illustrator or Inkscape, and would like to include nicely typeset labels. (I'm aware of post-processing solutions, such as pinlabel.) ...
9
votes
3answers
2k views
Is there any way to type LaTeX code directly into the text boxes Inkscape?
I use Inkscape on Windows 7 platform. The principle to enter integrals and other mathematical symbols in Inkscape seems that the best thing to do and write them in a LaTeX compiler and cut them in ...
26
votes
5answers
1k views
LaTeX accessibility
Does anyone know of any LaTeX modules that makes the pdf output generated by pdflatex Americans with Disabilities Act of 1990 (ADA)/Seciton 508 compliant?
Specifics:
With regard to math. One simple ...
17
votes
1answer
689 views
How to automatically arrange an unknown number of images?
I have several compilable LaTeX input files and their corresponding PDF files. Each PDF file contains any number of pages. I want to import each LaTeX input file with \lstinputlisting followed by its ...
14
votes
2answers
533 views
Attach displayed image to the PDF without storing it twice
If one and the same image is included in a PDF multiple times it is only stored only once as an PDF object. Now I like to also attach an image which is shown in the document to the PDF to allow users ...
9
votes
2answers
1k views
High level macros and environments based on Tikz
I was browsing the tikz examples that I found this wonderful example. The example uses tikz to create a tex environment to produce a framed text. The result looks like this:
The underlying process ...
7
votes
1answer
330 views
Scale included graphics to the higher ratio instead of the lower for given width, height
I would like to scale an included graphics keeping its aspect ratio. Using
\includegraphics[width=<my width>,height=<my height>,keepaspectratio]{file.jpg}
scaling naturally takes place, ...
12
votes
4answers
2k views
How to make a grid of images?
Is it possible to place 4 images in an 2x2 grid? I don't want to float them, I don't want any captions. Each image should have the same width.
Edit:
Thanks for all the answers. After trying it out, ...
11
votes
2answers
154 views
Creating a URL downloading command to be used with e.g. \includegraphics
We were just talking about an idea that may be a little further out there. Would it be possible to patch URL support into graphicx.sty or is there a package that would support this on a wider scale (I ...
9
votes
2answers
2k views
Image with axis
I need to plot some data in a file (10000 records of 2 points each one) but PGFPlot is very very slow rendering it. So I'm trying to use MatLab to plot the data, capture the image WITHOUT axis and in ...
13
votes
3answers
1k views
Can I insert an image into an equation?
I would like to use a small image in an equation, where a symbol like \alpha might otherwise be. Is there a nice way to do this?
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 ...
8
votes
5answers
582 views
How can I clip an image via a bezier-path?
I have a rectangular image that I can not change.
I'd like to clip the image with a bezier path so I get one that is rectangular at the top and the sides but has a curve at the bottom, preferable ...
8
votes
2answers
549 views
Using an image as a table
I have an image containing tabular data and would not like to convert this to a real table. What I do want is for this image to have a proper caption and be included in the listoftables.
Is it ...
7
votes
1answer
1k views
Is it possible to create overlays in beamer inside pgfplots graphics?
When working with pgf-tikz, I can create overlays in beamer presentations with
\path<overlay specification> ...
However, I could not get this to work in pgfplots graphics. It would be nice ...
5
votes
1answer
1k views
Figure with caption within an itemize list not indenting correctly
I'm trying to put an image with a caption on it within an itemize environment (within another itemize environment). When I had the image with no caption, simply using \includegraphics, it indented to ...
3
votes
2answers
477 views
Creating cobweb diagrams of some functions with tikz/pstrick etc
I want to create cobweb diagrams with tikz (if that is possible - but reading in the internet about all the things tikz can do, I would believe it is) - or pstricks or some other graphing program - of ...
19
votes
1answer
31k views
Cannot determine size of graphic
I'm trying to include graphics in my Latex-file, which I compiled with latex+dvipdf on OS X. Latex however returns this error: "Cannot determine size of graphic"
My graphic is exported from ...
17
votes
3answers
1k views
Get the size that a figure is being rendered
Suppose I have a figure in my LaTeX document:
\begin{figure}
\includegraphics[scale=0.5]{some_graphic}
\end{figure}
My question is pretty simple: Is there a way to get the size that some_graphic ...
8
votes
4answers
7k views
Specifying an absolute Windows path for \includegraphics
I know that includegraphics can be used in Latex to include images into the document, but how can I specify a path for that file?
\includegraphics[]{picture-name}
Instead of asdd.jpg I want to ...
5
votes
2answers
6k views
Insert eps graphics with graphicx (file not found)
When I run Andrew Robert's import.tex in MikTeX I get an error message saying that the image file is not found:
! LaTeX Error: File `chick' not found.
See the LaTeX manual or LaTeX Companion for ...
5
votes
2answers
1k views
I encountered an 'errorUnknown graphics extension: .eps.'
I tried to load an .eps picture, but an error occured, 'errorUnknown graphics extension: .eps.'. Please help me!
5
votes
3answers
2k views
How to insert an image in the front cover of a report?
I'm pretty new in LaTeX and I'm currently writing my BSc Report.
Does anyone happen to know how I can insert my uni logo on the front cover of my report?
I'm using
...
4
votes
2answers
160 views
Get a includegraphic to stick in the same place for several beamer slides
I am working with a presentation where I want a sequence of slides with a figure that changes slightly for each slide.
I want the figure to to stay in the same place for many slides and I want to ...
6
votes
2answers
424 views
using PDF bookmarks to refer to pages in \includegraphics
If I have a multi-page PDF file with one figure on each page, I can use the \includegraphics[page=123]{foo} command to refer to individual figures (see this question).
However, if I have lots of ...
6
votes
4answers
5k views
Inserting a .EMF file into a LaTeX document.
I had a question about a file extension I was dealing with after creating a graphics file using the computing software Maxima. When I created the plot I wanted, I saved the file and it saved as a .EMF ...
5
votes
1answer
896 views
How to vertically and horizontally centre text and images in (different) table cells?
I have a table which contains images in one column. I would like the first column to have text centred vertically and horizontally. I would like the second column to have text left justified and ...
