The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
33 views

boundary for x axis for plot in tikz

I have a problem with my plot, I want to have a boundary at x=4000 and don't know how to do. My current plot is the one below and here is the code that I have now \makeatletter ...
2
votes
0answers
38 views

Have tikz bezier control points defined off of page

I have taken it on myself to reproduce some of my university's PPT templates (not that I necessarily love the design, but I have some good reasons for undertaking this venture) using Beamer. I have ...
1
vote
0answers
60 views

Highlight or find locations of bounding boxes

I want to produce documents where every paragraph, equation, and other visually distinct part of the document is highlighted with its own background color (e.g. equations are highlighted in blue, ...
2
votes
1answer
25 views

Tight box around siunitx degree

I want the box around the degree symbol to be like the one around the exponent on the x. I thought \mbox{} would do it, but it does not seem to in this case. Code: \documentclass{article} ...
2
votes
1answer
70 views

I put \pgfresetboundingbox after \clip, what should the bounding box be?

Short question After a \clip and a \pgfresetboundingbox, the bounding box is permanently (0,0)rectangle(0,0). How can I turn on the bounding-box calculation and obtain a fairly small bounding box? ...
5
votes
2answers
89 views

tikz bounding box / cropping: too much space for curves

I have a problem with TikZ's auto-cropping/auto-calculating the bounding box for a tikzpicture. Look at the following example: \documentclass{article} \usepackage{tikz} \begin{document} Lorem ipsum ...
5
votes
2answers
152 views

How to create a bounding box the size of the page?

I was attempting to create a bounding box across an entire page (as I've seen here in beamerinnerthemetexsx.sty). However, the box will not flush with the left margin. As can be seen in this example, ...
0
votes
0answers
28 views

! LaTeX Error: Cannot determine size of graphic (no BoundingBox)

This seems to be a duplicate question, but I did not find the answers on previous questions posted. I am using TexMaker and running the code (latex+bibtex+latex+latex) ...
2
votes
4answers
115 views

Add frame and logo on all pages

I am not able to do both these commands at the same time. The both work separatly. I would also like to put page numbering at the bottom right of all pages. Any suggestions? \documentclass{article} ...
3
votes
1answer
67 views

Fix bounding box in pgfplots

I want to do the following: Do some draw or plot commands in pgfplots and then fix the bounding box. I.e. all plots which come afterwards shouldn't influence the bounding box. How can I do this? I ...
1
vote
1answer
38 views

Can a command typeset its argument without letting latex take it into account for bounding box?

Quite often, especially when preparing slides, vertical space is precious. However, there is no automatic equivalent of "vertical kerning of lines", by which you would reduce or even have a negative ...
3
votes
1answer
150 views

How to make a line style for drawing the ground line?

I'd like to draw a piece of "ground line" (picture below), but I don't know, how to make a line style and how to ensure proper localizations of the picture boundary. The solution of achieving an ...
2
votes
1answer
65 views

setting a tight bounding box when amsmath symbols touch it

I would like the straight lines to end exactly ON the line of the various \circ. Red boxes show why this doesn't happen: \circ has more space below it then above (Please, note that still a white space ...
2
votes
0answers
60 views

Environment \pspicture only works with single slide in beamer?

I'm trying to use pstricks in beamer, and need to compile it with pdflatex. Weirdly, the code works when I have a single frame (see MWE below) but as soon as I add a second frame (i.e. uncomment line ...
6
votes
1answer
130 views

Loose bounding box with circular arcs

Consider the following MWE: \documentclass[border=5pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw (0,0) circle (1); \draw[blue] (current bounding box.south ...
2
votes
2answers
254 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
13 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
28 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
383 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
243 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
57 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
103 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
61 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
310 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
917 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
141 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
306 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
318 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
409 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
356 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
310 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
2k 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
217 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
184 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
962 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
93 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
393 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 ...
5
votes
3answers
1k 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
370 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
902 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 ...
3
votes
1answer
4k 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
450 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
2k 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
488 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
328 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
22k 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
397 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
1k 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
252 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
182 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} ...