Questions tagged [graphics]

{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}.

is about inclusion of external graphic files in your document. For questions about vector graphics created programmatically inside a (La)TeX document, use instead, or preferably the tag for specific packages like , , or .

Frequently Asked Questions

  1. How can I include SVG images in LaTeX documents?
  2. How can I convert a TeX document into a small PNG?
  3. What's the best way to include Matlab graphics in LaTeX?
  4. Which graphics formats can be processed by LaTeX and pdfLaTeX?
  5. How can I include graphics whose file path has spaces?
  6. Why does using transparency in illustrations cause text to appear in bold?
  7. Why can't pdfLaTeX print EPS figures?
  8. What GUI applications exist to help generate graphics for LaTeX?
  9. Can I use TikZ to draw on an image?
  10. How can I include graphics whose file path has multiple dots?
  11. How can I add a border to an image?
7096 questions
201
votes
12 answers

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.
nimcap
  • 5,135
137
votes
4 answers

Simulate a scanned paper

I'm try to move my current paperwork routine towards a paperless workflow (for the “administrative” type of papers, of course… not for serious reading tasks). There is one major annoyance thwarting me: people sometimes require me to print, sign and…
F'x
  • 3,011
122
votes
4 answers

Change image size

I'm trying to change the image size (make it look smaller than the original). I tried with the next code but the image still shows at its original size. \begin{figure}[h!] \centering \includegraphics[width=50mm]{method.eps} \caption{Overall…
Enrique
  • 1,425
79
votes
3 answers

How to use background image in LaTeX?

I am generating one report where I need to use background image. But I found that image always starts leaving some margin space to left side. \documentclass{article} \usepackage{wallpaper} \usepackage{mdframed} \usepackage[top=2cm, bottom=2cm,…
manish
  • 9,111
74
votes
2 answers

How to arrange image and text to appear side by side?

I want to place an image on my document and have it appear, say, on the right part of the page with text flowing on the left. How can I do that with LaTeX? Just like one would do with HTML and images “floating” to the right (or left). (when…
Juan A. Navarro
  • 62,139
  • 32
  • 140
  • 169
68
votes
2 answers

Example images in LaTeX?

How to make an example image in LaTeX, a dummy image, a spot holder? I have seen it before, but I can't remember how they would made. It would be nice to be able to use example images - if you should help anyone or you need to question in this…
61
votes
1 answer

A way to draw a lab apparatus

Are there any packages that would make a simple lab apparatus easy to draw? e.g. a spectrometer connected to a computer and has a wire before a light emitting tube, the wire also being connected to said spectrometer.
59
votes
6 answers

\includegraphics -- file not found, even when in same directory

Here's the preamble: \documentclass{report} \usepackage{fullpage} \usepackage{amssymb} \usepackage[fleqn]{amsmath} \usepackage{graphicx} \usepackage{color} ... And here's the call to \includegraphics: \includegraphics[scale=0.5]{n6d.png} The error…
Paul
  • 691
  • 1
  • 5
  • 3
59
votes
7 answers

LaTeX Photo With Rounded Corners

I have a photograph that I'm loading into my LaTeX document. I'd like the photograph to have rounded corners and no visible border. I'd prefer not to edit the original photograph. Any thoughts on how to do this?
Richard
  • 5,723
46
votes
5 answers

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 the image with the file name to the side. For…
45
votes
2 answers

Latex: includegraphics - width and height

The code below is executing properly: \begin{figure} \includegraphics{name1} \caption{Figure 1}\label{name1} \end{figure} However when I add width and height: \begin{figure} \includegraphics[width=15cm,height=6cm]{name1} \caption{Figure…
42
votes
2 answers

undefined control sequence \includegraphics

I write my text in Mac OS X and every thing was fine but when I want compile my code with Winedt in Windows 7 Environment I got this error: undefined control sequence \includegraphics[width=0.30/textwidth]{Hypercube} I change \ to / but Still got…
Am1rr3zA
  • 645
35
votes
5 answers

Shear transform a "box"

Using the graphicx package, I can make any arbitrary box rotated using the \rotatebox{...}{...} command. Is there a comparable command in any package that lets me shear a box, i.e., producing a kind of general slanting?
user16581
34
votes
3 answers

How to insert an image into LaTeX document?

I have already included graphicx package and include \ifCLASSINFOpdf \usepackage[pdftex]{graphicx} % declare the path(s) where your graphic files are \graphicspath{{../pdf/}{D:\ImagesforProjectLatex}} % and their extensions so you won't have to…
32
votes
5 answers

LaTeX for Graph Theory?

What should I use to make Graphs for Graph Theory in LaTeX? I have seen a lot of stuff about tkz (specifically tkz-berge), but I'm running Ubuntu and there is no package for it, that I can tell. Trying to download all the .sty's is confusing the…
1
2 3
53 54