Tagged Questions
3
votes
1answer
80 views
Figure width problem
I have a problem in a figure which i draw, the figure doesn't fit in one column of two column paper as shown in the fig below, any help?
\begin{figure}{H}
\centering
\begin{tikzpicture}[
...
4
votes
2answers
58 views
How to set the width of \cancel
I have 2 TikZ nodes with fixed text width:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning}
\usepackage{cancel}
\begin{document}
\begin{tikzpicture}
\node[text width = 3cm] ...
2
votes
1answer
121 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}
...
3
votes
1answer
339 views
pgfdeclareshape fillable background path with invisible parts
I want to make a new shape from rectangle, which has only its top and bottom line drawn, but which can be filled. The answer, thank's to Andrew Stacy and percusse look by now as follows:
...
7
votes
1answer
729 views
Shrinking text to the width of a node within a tikzpicture
I would like to be able to scale text to the width of a TikZ node.
Using \widthof within tikzpicture as a starting point, I've arrived at somewhat of a solution, except it has incorrect spacing, and ...
4
votes
2answers
693 views
\widthof within tikzpicture
In this minimal example
\documentclass{scrartcl}
\usepackage{calc}
\usepackage{tikz}
\newlength{\TestLength}
\begin{document}
\setlength{\TestLength}{\widthof{\tikz \node {bla};}}
...
2
votes
2answers
2k views
TikZ: applying width to nodes programmatically, and 'Undefined control sequence pgf'
This is what I want to do: given two (horizontal) nodes, calculate the x distance between them, and produce a rectangular node with the same width as the x-distance between the nodes, placed below ...
5
votes
3answers
815 views
How do I set the minimum width of a subfigure?
I have:
\subfigure[blah blah blah.]
{
\begin{tikzpicture}[/MyStyle]
... some stuff...
\end{tikzpicture}
}
But "some stuff" is not that wide and the text in the subfigure produces a lot of ...