The tag has no wiki summary.

learn more… | top users | synonyms

5
votes
1answer
64 views

Bounding box is larger than expected when drawing in 3D

This is a semi-duplicate of this question I think, but the answers provided there don't seem to work for me with 3D pictures. I'm inputting a tikz picture into a beamer poster, but I think that part ...
5
votes
3answers
178 views

How do I get a tight fit around a node when using tikz shapes.geometric?

I would like the two nodes below to be roughly the same size, but one is much larger than the other. Is there a way to force tikz to reconsider its bounding box calculation? ...
1
vote
1answer
32 views

fancyhdr and \iftopfloat

I am relatively new to LaTeX, and I have been using the fancyhdr package, in which I have chapter title and numbers with headrulewidth on top of the page. However, when I have figures on top of a page ...
6
votes
1answer
123 views

Pushing text below an absolutely positioned box

I'm trying to create a document header, part of which is an absolutely positioned TikZ picture, and part of which is some text in a TikZ node. The northwest or northeast anchor of the node should be ...
3
votes
1answer
229 views

Ignore inner sep for tikz bounding box

Is there a way to have tikz ignore the white space produced by a node's inner sep when calculating the picture's bounding box? Consider the following MWE: \documentclass{article} ...
1
vote
0answers
107 views

TikZ: `local bounding box` incompatible with `use as bounding box`?

The TikZ/PGF documentation (v 2.10) contains the following example for the use of local bounding box: \documentclass{article} \usepackage{tikz} \usepgfmodule{shapes} \usetikzlibrary{scopes} ...
1
vote
1answer
146 views

Displaying only part of an EPS picture

I am not sure it is exactly the best place to ask this question but maybe my problem admits a solution with tex. I have an EPS file but I would like to display only a part of this EPS. Changing the ...
2
votes
1answer
758 views

I want \includegraphics{} to crop to the bounding box of an included PDF

Apparently, it's possible to use gs to automatically find the bounding box of a PDF. See http://stackoverflow.com/questions/10962235/how-to-find-blank-page-in-pdf-file/11274720#11274720. What I ...
2
votes
1answer
125 views

How can the margin around externalized pgfplots crossrefs be set?

When using \usepgfplotslibrary{external} to externalize refs to labels in a pgfplot, the resulting .pdf looks cropped when the linewidth used for the line corresponding to the label is thick (or ...
3
votes
1answer
217 views

How would I trim a bounding box?

How do I trim the bounding box of an .eps figure? \documentclass{article} \usepackage[caption = false]{subfig} \usepackage[demo]{graphicx} \begin{document} \begin{figure}[H] \centering ...
3
votes
2answers
189 views

Position TikZ node relative to bounding box of overall picture

I would like to draw some points in TikZ, and position them relative to the bounding box of the overall picture. Specifically, I would like to give their y-coordinate explicitly, and have their ...
5
votes
1answer
168 views

Metapost - Boundary box

I want to make a series of images with Metapost and Context. I want the height and width of the images to be fixed ( like a frame ) and center the picture drawn with Metapost inside that frame. So, is ...
2
votes
0answers
12k 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} ...
3
votes
0answers
208 views

pslegend bounding box odd while using Cirkuit

This question is regarding pst-plot and more specifically \pslegend. The code below produces the two following plots: One of these figures is generated without the \pslegend and it appears to have ...
3
votes
1answer
451 views

Including graphic outside bounding box using graphicx and pdflatex

I am including graphics from .pdf files into my latex document using the graphicx package. Some objects in the graphics files extend beyond the pdf page area, which is used as the bounding box for ...
5
votes
1answer
142 views

Force minimum paper size in “standalone” (or use an alternative)

I compile small latex math snippets using the standalone document class. I rasterize the resulting PDF to a PNG image using ImageMagick and finally include these images in some HTML document. However, ...
9
votes
1answer
133 views

\ref with tight box surrounding the reference

How can I make the colored box around a reference appear completely tight? MWE: \documentclass[a4paper,twoside,openright,final,12pt]{book} \usepackage{etex} \usepackage[english]{babel} ...
16
votes
2answers
2k views

The perfect pdfcrop

I need a "perfect" pdfcrop, one that crops exactly to the edge of the figure or text for alignment issues as a graphic in other programs. I'm aware of the standalone package, and have gone through ...
3
votes
1answer
783 views

including tif/eps/pdf fails due to bounding box/dimensions

when inserting an image into my *.tex-file, I get the error Dimension too large the command was (reduced to the important lines) \begin{figure}[tbp] \includegraphics{graphics/3-1-23} \end{figure} ...
6
votes
1answer
18k views

Error 'No bounding' box for PDF image

I have a LaTeX file which includes a PDF image file as follows \begin{figure}[t] \includegraphics[width=0.4\textwidth]{chapter1/figure/image.pdf} \caption{...} \label{aa:b} \end{figure} I can ...
18
votes
4answers
2k views

Bounding box is larger than expected when drawing a curved path

I have been working on logo for my department and I have the following code. The problem is that whenever I compile the diagram seems to be larger than the actual logo. I do not know what is the ...
4
votes
2answers
354 views

Split box in two

I need to create a figure with two small figures; I want it to be a box that is split into two, with a syntax tree located in each side. The MWE below shows what I'm trying and failing with: ...
11
votes
1answer
751 views

TikZ: Expand width of each picture to given size

I create plots with pgf/TikZ, externalize them and then they will be included into another predefined LaTeX-document (which someone else will do, so I can't change anything there). That final document ...
5
votes
1answer
674 views

Bounding box vs. xshift

The xshift in the following figure breaks the bounding box: \documentclass{article} \usepackage{tikz} \usetikzlibrary{scopes} \usetikzlibrary{chains} \usetikzlibrary{backgrounds} % used only for ...
3
votes
2answers
1k views

Remove “white parts” of tikz picture

I have a tikz picture, which consists of a visible part on the left side and a white part on the right side (for some constructive reasons). Now I would like to redefine the size so that the new ...
1
vote
1answer
258 views

Second figure on page is covering text in the bottom of the paragraph above

I'm trying to create a page which will have three figures on it as well as some text. However in my output the top of the second figure is obscuring the bottom of the text above it. I've tried using ...
2
votes
1answer
1k views

TikZ/PGF bounding box too large

I have a pdf graphic that needs to be inserted into a TikZ environment (where I can annotate it). However, the bounding box that is placed around the image includes unnecessary whitespace. The command ...
0
votes
1answer
435 views

Why does my EPS header have % Produced by xpdf/pdftops 3.02pl4?

I have a simple input file contains PSTricks code as follows. % sample.tex \documentclass[cmyk]{minimal} \usepackage{pstricks} \usepackage[paperwidth=144bp,paperheight=108bp,margin=0bp]{geometry} ...
2
votes
1answer
795 views

Is it possible to force dvips to produce an EPS with %%HiResBoundingBox header?

Invoking the following command dvips input.dvi -E -o output.eps will produce an EPS file with only %%BoundingBox header as follows: %!PS-Adobe-2.0 EPSF-2.0 %%BoundingBox: 85 626 184 729 ...
3
votes
2answers
3k views

includegraphics choosing pdf instead of eps [closed]

I previously posted this on stackoverflow.com where it was suggested that I post it here. So apologies in advance for cross-posting. I am using LaTeX in ubuntu 10.04 to build a TeX file that uses ...
2
votes
2answers
294 views

Why wasn't \fbox defined to enclose its contents based on the most left, right, bottom, top parts of its contents?

Case 1: \fbox cannot enclose characters tightly Why don't \fbox and PSTricks \psframebox enclose its contents accurately? In my opinion, every edge should exactly touch the outer part of its ...
2
votes
1answer
352 views

Problem when drawing an axis-aligned bounding box around a tilted rectangle.

I need to draw an axis-aligned bounding box containing a tilted rectangle for a report about physic engines. My initial idea was to simply insert a rectangular node, apply a rotational transformation ...
9
votes
1answer
674 views

TikZ: Execute code at end of scope OR picture and access its bounding box

TikZ provides the two keys execute at end picture={<code>} and execute at end scope={<code>} which can be used to execute any code at the end of the picture and of the current scope, ...