The tag has no usage guidance.

learn more… | top users | synonyms

2
votes
2answers
96 views

Make parts of a pgfplots outside of the bounding box visible

I have created a graph with pgfplots and adjusted the bounding box to the axes. When I include the pdf of the graph in my main tex-document with includegraphics, I want to see the axes labels which ...
0
votes
0answers
12 views

How do I get rid of the red boxes [duplicate]

How do I get rid of the red boxes generated around the hyperlinks of cross-references, citation etc. It is also making the report dirty especially the 'table of content' part. Will it appear in the ...
4
votes
0answers
27 views

Tikz picture bounding box when using to[in=xxx, out=yyy] [duplicate]

I have this two simple images: \documentclass{report} \usepackage{tikz} \begin{document} \fbox{\tikz{% \fill[red!20] (0,0) to[in=210,out=30] (10,0) -- (10,1) -- (0,1) -- cycle; ...
2
votes
1answer
148 views

Bad image size on only some images when using bb argument of \includegraphics?

I've had a snippet of code, that I've used (apparently) with tex4ht (which compiles with latex) to obtain an html document - and as far as I can remember (was some time ago) it worked without a ...
3
votes
0answers
120 views

Fit bounding box to gnuplot legend

Summary: Is there a way to automatically reduce the bounding box of an eps file to only fit displayed text? Details: A while ago I asked a question about combining multiple gnuplot graphs into a ...
0
votes
0answers
45 views

Obtain location of typeset expressions

I'm researching for a project I have in mind, that will typeset expressions and then allow some degree of navigating the expression e.g. selecting subexpressions. I'd like to be able to not reinvent ...
3
votes
1answer
69 views

why bounding box dimensions are inherited from previous chemfig molecules in beamer?

I'm sure my problem is related to my OS but I can't tell why and how. Last year I was on Debian wheezy, while at present I'm on Mint Rebecca. I'm revising my slides for the lessons and, after ...
3
votes
1answer
44 views

graphics and includgraphics bb

I am producing a book which starts: \documentclass[12pt,leqno]{book} \usepackage{keyval} \usepackage{graphicx} % Packages to allow inclusion of graphics \usepackage{color} % For ...
3
votes
2answers
190 views

Aligning forest trees and getting the bounding box right

I want to set the following figure: I managed to recreate it using forest, but for reasons I do not understand, my command \menge, which I use for sets things that the forest trees are much larger ...
2
votes
1answer
724 views

Horizontal character spacing using \resizebox

I have some LaTeX code that uses the \resizebox command to make some hipster text, but the compiled letters are not completely flush to each side. There is a slight space on each side of the line as ...
0
votes
1answer
89 views

Useasboudingbox and measuredfigure to align caption

I use useasboundingbox in my tikz pictures to make them optically centred. I want the caption to be aligned with the left edge of the bounding box. Normally this can be done with the measuredfigure ...
2
votes
0answers
215 views

Question on compiling pgfplot/tikz figures through latex+dvips+ps2pdf

I have a lot of problems when compiling pgfplots/tikz figures through the latex+dvips+ps2pdf chain. I can successfully compile the same set of pgfplots/tikz figures through pdflatex. The reason that I ...
1
vote
1answer
217 views

TikZ bounding box too big

I'm fairly new to LaTeX and I'm trying to make a homework template that uses figures generated in LaTeX but when I use TikZ I get a bounding box that is way too large. What is the easiest way to ...
1
vote
1answer
268 views

Figures hiding behind text below it

I am preparing a paper for the SIAM journal and had lot of issues with including figures. Finally I converted my figures to pdf and added a bb field in \includegraphics. Now it produces output, but ...
3
votes
3answers
240 views

Wrong placement (and/or size) of picture / plot with groupplot of table (… and discontinuity)?

Consider this MWE: \documentclass{article} % \documentclass{standalone} \usepackage{pgfplots} \pgfplotsset{compat=1.5.1} \usetikzlibrary{pgfplots.groupplots} \usepackage{pgfplotstable} ...
3
votes
2answers
243 views

Tikz: positioning library breaks path picture bounding box?

I try to create and order text boxes with tikz-nodes. The nodes are ordered so far using the tikz positioning library. Additionally, I try to have numbers on the background of the nodes by using ...
3
votes
1answer
747 views

How to correctly clip with viewports with includegraphics and beamer columns?

I will happily accept any alternative to beamer's columns and \includegraphics that produces the intended result in a beamer slide. I'm trying to take the attached eps file and reorganize it so that ...
2
votes
1answer
150 views

auto-correct bounding box for eps files that simply wrap a bitmap

I have noticed that when including some EPS files, for whatever reason, the bounding box has been specified in quite a strange way (GIMP seems to be guilty of this, for instance). I should probably ...
5
votes
1answer
161 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
709 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
72 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 ...
7
votes
1answer
314 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 ...
4
votes
1answer
985 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} ...
3
votes
1answer
277 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} ...
2
votes
1answer
620 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
3k 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 ...
4
votes
1answer
398 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
935 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
380 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
269 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 ...
3
votes
0answers
20k 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
331 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 ...
4
votes
1answer
835 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
208 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
167 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} ...
17
votes
2answers
4k 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
1k 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
22k 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 ...
21
votes
4answers
4k 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
453 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
975 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
850 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
2k 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
530 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
2k 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
571 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} ...
3
votes
1answer
1k 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 ...
5
votes
2answers
5k 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 ...
3
votes
2answers
333 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
422 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 ...