{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}.
3
votes
1answer
127 views
Crop image bigger than page from top left to bottom right
I have a small problem when including an image bigger than an A4 page. Normally, I would use this code, but with this I am able to crop it using the bounding box, from 0, 0 to 500,700:
%%image start
...
3
votes
1answer
168 views
Table with small circles on each intersection/corner
I'm a LyX user and have a small question -
How do I incorporate to my a document a table consists only of the numbers {0,1}, with borders between the cells, and with small colored circles on the ...
1
vote
1answer
114 views
Customize the position of a figure
Hello although this question has been asked several times, I still can't position my figures at the right place. I have installed the float and the here packages. and the code is as follow:
...
3
votes
2answers
55 views
Having a table and a picture on top of the title
I am trying to put a logo and also a table before a document title. When I add a title, it adds to number of pages and starts the actual document from the next page. I was wondering if there is a way ...
3
votes
1answer
114 views
PSTricks insert logo
I am using PSTricks with beamer. I couldn't insert logo (MU.jpg), but it works if I'm not use pstricks package. So what can I do if I also need to use pstricks package?
8
votes
1answer
148 views
Creating Bezier surfaces using procedural graphics
Are there any package for LaTeX that can create Bezier surfaces? I mean a actual existing function that takes matrices as arguments and generates the surface, not a function written by myself.
2
votes
1answer
76 views
psfragify? Aka problem with EPS and pdfLaTeX
If I want to include a .eps image and yet use pdfLaTeX, I can do so using epstopdf (manually called, automated in TL2010+, using the package). However, as far as I know, all these options are ...
6
votes
4answers
427 views
What is the easiest way to plot a function and its tangent lines at the turning points?
I want to plot graphs like this and embed them as Tikz or Pstricks code in my handouts. I know that there are software such as Ipe, LaTeXDraw etc. But none of them can satisfy me. Because Ipe doesn't ...
5
votes
4answers
148 views
Check for a valid file before using \includegraphics
I know how to check if a given argument represents an existing file (see this question).
But is there also a possibility to check if this file can be included by \includegraphics?
What I want to ...
3
votes
2answers
82 views
strange figure floats [duplicate]
I don't understand why my figure floats to the "wrong places". For example:
\documentclass[12pt,a4paper,oneside]{book}
\usepackage{graphicx}
\begin{document}
\section{My section}
...
1
vote
1answer
34 views
Custom parameters for formatting images
I am a LaTeX newbie working on creating my first custom LaTeX class.
I would like to know if it's possible to define parameters for \includegraphics such as width, height, center/right align etc in ...
0
votes
0answers
331 views
graphics in miktex [closed]
I'm running miktex on some version of Windows, and I included the following code:
\input epsf
\epsfxsize=6.0in
\epsfysize=3.2in
\epsffile{graph.eps}
This worked when I ran latex on linux. What ...
0
votes
0answers
45 views
Unable to fix the figure attachment error [duplicate]
I am facing a problem in attaching a figure. I get the following error:
Latex error: Cannot determine size of graphic in fig.pdf
\begin{figure}
\centering
...
3
votes
3answers
198 views
Latex or PdfLatex to generate DVI
I would like to generate DVI output using latex or pdflatex, it doesn't matter. First, I would like to mention that I run the following command to compile my document and it runs successfully -
...
4
votes
1answer
2k views
LaTeX Error: Cannot determine size of graphic in title.png (no BoundingBox)
I seem to be getting a strange error after updating MiKTeX 2.9. I am using pdfLaTeX and TeXmaker with the graphicx package to include .png images. When I try to compile, I get the error LaTeX Error: ...
0
votes
1answer
74 views
Which graphic file type receives correct font
Has anyone experience with graphic file types like PS or similar? I search for one on which LaTeX can apply correct font formatting (e.g. for the figure axis) at including it in the LaTeX document?
6
votes
1answer
124 views
Should included images have white borders?
I was wondering if the correct way to include an image\graphic in latex is
A) crop ALL the white space around the figure and let LaTeX handle the borders/spacing completely;
B) leave a white border ...
3
votes
0answers
100 views
Latex-including many figures from a directory
I have a large number of figures (~300) in a folder called
'allimages'. The figures are numbered fig1.eps, fig2.eps,.....fig300.eps.
I want to put all of them in latex such that 6 ...
1
vote
0answers
98 views
How to change font size in graphics included with \includegraphics
I woud like to change the font size of the picture inserted by \includegraphics.. have used the scaling 1 and the picture occupies my space, but the font in the picture is very small. How can I change ...
2
votes
1answer
116 views
Metapost External Figure
I have a metapost file image.mp containing the following lines:
beginfig(0);
draw p0;
externalfigure "/Users/dsg/tex/images/image.png" xyscaled r0 shifted r1;
endfig;
When I run mptopdf scene.mp ...
1
vote
0answers
72 views
TeX Live 2012 Graphics error
I am using TeX Live 2010 on Windows 7, I am getting following error after installing the TeX Live 2010 again after HD crash. My programs working well with previous images but for new images following ...
0
votes
0answers
62 views
pdf pages in ps output file and eps figures in pdf output file
I am facing the following issue: I have got several graphs in eps format and several pdf pages to insert into one ps document. Now, the eps figures are correctly included in my ps file, but the pdf ...
3
votes
1answer
91 views
Equivalent of css “position: relative” to move slighty a graphic
I have a header with two columns; On the first column, I have an image (the logo) and I would like to slightly adjust its position. Here is the relevant piece of code:
...
2
votes
0answers
93 views
How do I ensure my images/graphics are embedded in the output document? [closed]
I am new to LaTex and I am learning the concept and terminology by using Lyx (TeX live under Linux).
I created my first document using the Book class, added some images (combination of jpgs/pngs), ...
3
votes
2answers
68 views
Why does loading tikz before calling “driver=dvips” make a difference
This question doesn't entirely make sense because I know I don't need to call driver=dvips. But I would like to know whether anyone can explain what's happening.
A little background
I'm trying to ...
0
votes
2answers
168 views
How to include images
I am trying to include math pictures in my document.
I have added
\usepackage{graphicx}
\usepackage{epstopdf}
These two packages inside the header
and then the following code
...
0
votes
0answers
64 views
Graphics Question [duplicate]
I am trying to add pictures in my .tex file. I have added
It keeps on giving me an error, that picture.eps is missing.
Question: Do I need to create a directory somewhere where I need to store ...
5
votes
2answers
142 views
Postscript commands in TeX using \special
It is possible to include a graphic image and place a hyperlink reference within it, directly in TeX? I've created a M(non)WE example below to try and demonstrate what I'm thinking. (This becomes a ...
0
votes
1answer
43 views
Overhead image in a table,how to have fixed cell dimension
I have this problem:
This is my code,i wanna have a fixed height to fit my image perfectly without scaling too much.
\begin{tabular}{|c|c|p{5cm}|}
\posizCellaRiga
\textbf{Nominativo} & ...
4
votes
2answers
145 views
Wrapping images in text without inducing ugly justified text
I am trying to put a small image inside a paragraph. I don't care where it goes in the paragraph as long as it is on the right and text flows around it. I don't want it before or after the text.
...
1
vote
1answer
58 views
How do I have the list item appear on the top left of the image? [duplicate]
I am including an image with the graphicx package in an enumerated list.
\begin{enumerate}
\item
\includegraphics[width=100px]{my_image.png}
\end{enumerate}
The list item number appears on the ...
4
votes
2answers
193 views
What is a good way to export part of an Adobe Illustrator illustration into latex?
I have an Adobe Illustrator file with 4 figures on it.
I want to use these 4 figures separately in a LaTeX document.
What would be the best way to do so? Keeping in mind that:
I want to keep this ...
2
votes
1answer
73 views
Figure spans two columns, but text going over half the image
I am using the float package to force an image to right below where the authors section normally is on a journal paper. Using [H] I get the image to show up in the right place, but the text does not ...
1
vote
1answer
204 views
Dealing with figures in LaTeX
I have two figures I want them to be side-by-side, and I have two issues:
1) How to make both figures have the same size? I know that dimensions are not the same for both figures, but how can I make ...
3
votes
1answer
57 views
Problem with package gmp (or with xkeyval?)
I use the "gmp" package which allows to insert MetaPost coding (placed inside an mpost or mpost* environment) in a LaTeX source file. In few words, it does approximately the same job as other packages ...
0
votes
0answers
238 views
Including PDF in LaTeX - parsing error [closed]
I am trying to include PDF file (generated using Visio) in my LaTeX document. It is basically an image. I followed the instruction from here to convert visio diagrams into pdf and then cropped using ...
1
vote
0answers
1k views
“No BoundingBox” error in latex [closed]
This is my preamble
\documentclass[12pt,a4paper,twoside,french]{article}
\usepackage{mathptmx} \usepackage{amsmath} \usepackage{amsfonts}
\usepackage{amssymb} \usepackage{graphicx}
...
1
vote
0answers
164 views
knitr : Figure are not appearing at the correct place
I'm trying to use knitr while learning LaTeX but all my figures are placed at a seemingly random place.
It's driving me insane. Any ideas?
Example Input
PDF Output
I tried reinstalling TeX Live ...
5
votes
3answers
148 views
\includegraphics optional argument not resolved if macro
\documentclass[a4paper,10pt,twoside]{book}
\usepackage[demo]{graphicx}
\begin{document}
\newcommand{\scalefactor}{scale = 0.25}
\begin{figure}[!ht]
\centering
%Next line does not work
...
0
votes
0answers
304 views
How to put an image in latex? can't find image? [closed]
I am trying put an image in my latex document and the error keeps occurring that it can't find the image. Do I tell it where it's saved? if so, how?
here is my preamble
...
2
votes
3answers
229 views
Why do images in pdf not render the same on the screen and how to fix it?
My images look awful in the final pdf. If I keep increasing the dpi, this doesn't help, and sometimes makes the image look worse. I understand that if I had a vectorized image it would solve my ...
2
votes
0answers
164 views
Lyx: SVG files on PDF
I'm having trouble getting an SVG diagram to appear in a PDF. From researching online it looks like it should be simple enough, but I'm yet to discover what I'm doing wrong.
I'm working in LyX, and ...
1
vote
1answer
70 views
How to place image at the bottom of the titlepage
I would like to place a picture at the bottom of the titlepage and include some text on the picture and above it. As the sample attached demonstrates.
1
vote
1answer
137 views
png not scalable LaTeX using TexShop on Mac
After searching for a long time unfortunately I couldn't find a proper answer or used everything I found without any change.
I have several PNG files to include into my thesis but after including a ...
2
votes
1answer
48 views
One pgfplot per page in single PDF file
I'd like to reduce my redundancy when making plots with pgfplots. I want to have a single PDF file, such that I can include them on a per-page basis with graphicx.
The multi class option for the ...
2
votes
1answer
145 views
Beamer pause and grey not in order
I have a slide that is produced by the following codes:
\begin{frame}[plain]
\begin{itemize}
\item Current work 0
\item Future works 1
\item Future works 2
\begin{center}
...
4
votes
3answers
159 views
Resize images to half of text width only if too big for page margin
I want the images I'm using that exceed the page's text width to be scaled down to half the text width. Images that aren't wider than the text width don't need to be scaled. I have one markdown ...
0
votes
1answer
101 views
pretending to have a table, but placing an image (of an table) in order to get table counting [closed]
I have images of tables (screenshots from Excel actually), and up to now I'm using this structure.
\begin{table}[htp]
\includegraphics{mytable.png}
\caption{\label{tab:MyTable}some description}
...
1
vote
3answers
91 views
Centering figure consisting of subfigures
I currently have a graph that uses subfigures as follows:
\begin{figure}[!htbp]
\centering
\begin{subfigure}[b]{0.3\textwidth}
\centering
...
1
vote
0answers
54 views
How to avoid mangled covers in the image optimization process of online publishers?
I recently uploaded a book to Amazon with a cover carefully created with Latex.
I tried to make the cover as simple as possible so that whatever process Amazon was using would not interfere. I was ...



