The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
35 views

What does this error means?

I had the same code before and compiled, but now shows me nothing and because of this Strange, change the typesetter from local to cloud and worked...
3
votes
2answers
80 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
83 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
55 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
124 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
101 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
151 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 ...
2
votes
2answers
145 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
126 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 ...
2
votes
1answer
120 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
85 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
123 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
446 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
54 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
206 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
658 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
160 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
341 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
2k 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
324 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
464 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
285 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
204 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
17k 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
276 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
642 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
172 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
147 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
3k 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
20k 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
3k 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
408 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
863 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
763 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
381 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
512 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 ...
4
votes
2answers
4k 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
311 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
387 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
734 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, ...