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 ...
6
votes
1answer
76 views

Use dimensions \totalheight \depth for inline TikZ drawing

I want to use the current text's dimensional properties for constructing an inline TikZ image, such as an icon. The properties I have in mind for use are \height \depth \totalheight as described ...
0
votes
0answers
20 views

Lines with `shorten >` don't count towards image size [duplicate]

I use the technique mentioned here to extend a line through two points: using shorten > and shorten < with negative values. However, the part of the lines that is generated by theses shorten ...
2
votes
0answers
71 views

Scalable node shape size

I can adjust the shape of nodes using commands such as minimum width or inner xsep, but these require explicit units. When I scale the entire figure (\begin{tikzpicture} [scale=0.5]) it does not scale ...
2
votes
1answer
142 views

Varying edge thickness

A couple of months back, I had asked a question regarding an elegant way of drawing a somewhat sophisticated graph. Thanks to the community I received tremendous help. To avoid repeating the whole ...
4
votes
0answers
520 views

Fitting TikZ picture in beamer: Difference between using \resizebox and \adjustbox? [closed]

\documentclass[10pt]{beamer} \usepackage{amsmath} \usepackage{amssymb} \usepackage[english]{babel} \usepackage{color} \usepackage{float} \usepackage[T1]{fontenc} ...
5
votes
2answers
218 views

Typesetting digraph with weighted edges, varying vertex size, multiple lines in vertex

I would like to draw the graph displayed in the following picture with TikZ and also do some modifications: Firstly I want to carry the labels of the nodes to the inside as a second line. For ...
6
votes
3answers
1k views

TikZ: different x, y scales but so that shapes maintain their aspects

I have some old pstricks code which I'm re-doing with TikZ. In my current picture, the x and y scales are different: \begin{tikzpicture}[xscale=1.8,yscale=4] However, this has the problem that ...
3
votes
0answers
224 views

My tikzpicture is to large for my beamer frame [closed]

I'm extremely new to LaTeX and this is my first post on this site. I have a major presentation coming in a couple weeks, and I'm in great need of your help. I export Geogebra code for my graphs, it's ...
7
votes
1answer
2k views

Size of TikZ ellipse node

When I set the minimum size of an ellipse in a tikzpicture environment, it expands into a circle if the inner content does not grow as large as the ellipse shape itself. Is there any way around it? ...
3
votes
1answer
1k 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 ...
2
votes
1answer
676 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
140 views

Adjusting box height to the document bottom

I made a command that prints a gray rectangle in my document. I can use this command typing: \notes{100}, where 100 is the vertical size of the box. \newcommand{\notes}[1]{ ...
5
votes
0answers
259 views

How to declare variable sizes in tikz to let LaTeX decide how to fill the page

LaTeX sometimes does some tricks to fill lines to the end, to fill pages up to the bottom and to prevent pages only containing a single line of text. When I create some tikzpictures there are ...
5
votes
2answers
288 views

Automatic scaling of kiviat diagrams

\documentclass[twoside,a4paper,12pt]{article} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage[upright]{fourier} \usepackage{tkz-kiviat,numprint,fullpage} \usetikzlibrary{arrows} ...
6
votes
1answer
323 views

Custom TikZ node with svg path not clipped

I would like to make a custom node shape with a small picture (on north east) using the svg directive of TikZ, because the picture comes from a svg path. As you can see with this simple code, the ...
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 ...
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 ...
5
votes
1answer
2k views

How to make a textbox with this TikZ code ?

I made this with TikZ : \usetikzlibrary{calc} \def\banlen{3} \xdefinecolor{mycolor}{RGB}{62,96,111} % Neutral Blue \def\bancolor{mycolor} \begin{tikzpicture} \draw (0.25,0.25) rectangle (5,-2); % ...
2
votes
1answer
431 views

How to put part of a TikZ graphic into a box to measure its size

After adding support for tooltips today in pdfcomment (\pdftooltip) I wanted to make a TikZ example with tooltip annotations. Within \pdftooltip the annotated element is set into a box to measure the ...
5
votes
2answers
2k views

Accolade to take objects together in TikZ

Is there a way to draw an accolade ({-symbol) that groups things together in TikZ? I want the accolade to group let's say three rectangles. That means the top of the upper reactangle must be the top ...
33
votes
2answers
24k views

How to change the size of nodes?

How is it possible to change the size of a node, for example: \begin{tikzpicture} \draw node[fill,circle]{} (0,0);% \end{tikzpicture} How to make the circle smaller or larger?
12
votes
1answer
2k views

Tikz - move/reposition arrow decorations (arrowhead length/size)

I'm trying to build a 'dimension line' macro for Tikz: \documentclass{article} % note: with \documentclass{minimal}, this example fails with: % ! Undefined control sequence. % ...
2
votes
1answer
413 views

How to make CircuitTikZ symbols smaller

Is there a way to make symbols of the CircuitTikz package smaller (like ports). Using small/tiny as argument doesn't help.