Tagged Questions
2
votes
1answer
44 views
Best practice regarding graphics size
Whenever I make graphs from R to be included in Latex, I find myself scuttling back and forth between R to specify the size of the output and Latex to play with the \includegraphics[scale=??].
It ...
2
votes
1answer
201 views
Background image from tikzpicture does not fit the whole page
For a poster, I would like to have an image fill the whole page. This image is supposed to be drawn within a tikz environment as my other content. However, graphicx seems to fail at rescaling when the ...
0
votes
0answers
70 views
Maximum image size [closed]
Using pandoc (with xelatex) to parse markdown content including images, sometimes I get the following error:
Error producing PDF from TeX source.
! Dimension too large.
What is the maximum size ...
2
votes
1answer
172 views
how to get the size of a \pgfdeclareimage
Basically I want to use a TikZ node to frame a pgfimage, so later on, I will add more and connect them as I see fit.
I have this:
\pgfdeclareimage[width=10em]{image1}{images/image1}
...
5
votes
1answer
230 views
Beamer: how to show a logo in the vertical bar only if there is enough space left?
I would like to insert an additional (other than the top-left one) logo in a beamer presentation using Palo Alto theme, so that it appears in the navigation bar ONLY if there is enough space left.
...
2
votes
1answer
384 views
\includegraphics[width=40mm], reserves correct space, but includes full size image
I'm using the following code to include an image. The reserved space in the resulting .pdf document is correct and changes according to the width I set. Nevertheless, the .png is always embedded in ...
13
votes
1answer
982 views
High precision \includegraphics for LaTeX
\includegraphics produces boxes whose witdth and height are about 0.5pt off:
\usepackage{graphicx}
...
\setbox0\hbox{\includegraphics[width=\textwidth,height=\textheight]{mypic}}
\showthe\textheight
...
0
votes
1answer
385 views
Image is not showing full width and height [duplicate]
Possible Duplicate:
Image from \includegraphics showing in wrong image size
Image is not showing full width and height, it is showing 100% as single dot, when you zooming view this picture ...
2
votes
1answer
3k views
Problem with positioning a figure environment inside \resizebox
I'm writing a document including figures exported from Inkscape (in pdf+latex format). These figures use a figure environment containing all the text labels and a \includegraphics macro that imports ...
0
votes
0answers
376 views
How can I fix this problem: “Cannot determine size of graphic” [duplicate]
Possible Duplicate:
MikTex error for PNG images when trying to produce DVI
I have the following line in my tex file:
\includegraphics[width=1.0\textwidth]{pic.png}
There is no error ...
9
votes
1answer
1k views
Trim image by number of pixels
Is it possible to trim an image by a certain number of pixels rather than a length?
I have a set of images that I'm including, and in one figure, a trim of 135 on the bottom works nicely, but a ...
6
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 ...
1
vote
1answer
297 views
Avoid figures encroaching on page numbers with LyX
I'm using LyX and have figures in floats and wraps but some of them are too high on the page when converted to PDF and overlap with page numbers. Is there a way to avoid this and respect the text ...
8
votes
1answer
619 views
Resizing a table by textheight
Say, I have a table which doesn't fit on one page. Say, I don't want to use any special table types or so but want to solve the problem by using the \resizebox-command and keep my ratio.
If by using ...
61
votes
6answers
7k views
Compile a LaTeX document into a PNG image that's as short as possible
I need to convert my LaTeX documents into PNG. The problem is, I also need the resulting image to be as short as possible (height-wise). I've tried latex followed by dvipng, but the result is always ...
2
votes
2answers
113 views
Adding raster images to a document increases the output size unproportionally
I have a document which under normal conditions compiles into a reasonably-sized output - 1 MB PDF and 2 MB PS. I need to add two raster images, also reasonably-sized - About 150 KB JPG each.
I ...
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 ...