4
votes
How to draw filled arcs in TiKZ?
A draw base on the picture using Parabola Operation
\documentclass[border=3.14]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\fill [red!30,rotate=-90]
(0,0) parabola[parabola ...
4
votes
Accepted
tcolorbox calculation of the length of the title gets wrong for 10 and 100
Since you've put the \refstepcounter after \settowidth, when the counter value is 10, 100, 1000, etc., the width being measured is 9, 99, 999, etc. Thus, to correct this behavior, you need to put \...
2
votes
Accepted
Separation of sub figures in a+b+c whole squared
You can make the figures with the TikZ positioning library.
I put the figure into a macro called \abcsquare that takes an optional argument providing the distance between the squares. (The default ...
2
votes
Accepted
Tcolorbox without a toprule
You've set arc=15mm. The value of toptitle should at least be half of it, thus I've changed it to toptitle=10mm.
If you set line width=0mm in the titlerule style, though I don't know the reason, there ...
2
votes
Conditional statements in TikZ
Try the following:
\documentclass[margin=3mm]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}
\foreach \i in {1, ..., 5}
{ % <---
\ifnum \i < 3 % <--- ...
2
votes
Accepted
Conditional statements in TikZ
The package ifthen has the most natural syntax (in my opinion).
\ifthenelse{<boolean>}{<do this if true>}{<do this if false>}
Note that to use \foreach, you must enclose the loop in ...
2
votes
Large error bar distorts axis
It has nothing to do with the size of error bar and it does not correct when you reduce the 14.52 to a lower value. It is due to the enlargelimits. I removed the messy figure in the minipage in the ...
2
votes
Accepted
Need help getting tikz command that dots a grid to compile and run
Hmmm... I do not understand the complexity (or maybe I am missing the scope). Why you don't use the \foreach statement? This works:
\documentclass[border=10pt]{standalone}
\usepackage{tikz}
\tikzset{...
1
vote
Accepted
How to force x axis values for .dat files in pgfplots?
You can use a x filter to multiply x by 13 like this
\begin{filecontents}{A.dat}
Time Temperature
0 100
0.00128 98.50
0.00256 97.89
0.00641 96.82
0.01282 95.54
0.97436 45.1
0.98718 44.78
1 44.48
\end{...
1
vote
How to draw bipartite graph with weigthed edge?
The question is not very precise, so this is just an attempt to answer the question. Please expand your question if this does not answer the question.
Besides pos=<number between 0 and 1> there ...
1
vote
Accepted
How can I connect nodes around a circle node?
I wouldn't use positioning for this. Place the A node as you did, then use polar coordinates to place the other nodes. You can set angles and distances however you like for each node.
Since it seems ...
1
vote
Separation of sub figures in a+b+c whole squared
This is a long comment that you can adapt to your situation. The last frame is a way to horizontally align the left and the right parts of the figure using appropriate shifts \sep. The code of all ...
1
vote
tcolorbox calculation of the length of the title gets wrong for 10 and 100
Although @Jinwen is the correct answer to the question, one suggestion to simplify the thing: why do not just use a white-filled detached title for the job, so you do not need to calculate anything?
...
1
vote
Accepted
Position footcite lower on slide in beamer
With small changes in definitions of the nodes styles and node distance your image with use of the \small font size can nicely fine on slide:
Edit:
Now considering used beamer themes. Unfortunately I ...
1
vote
How to draw a shaded boundary using TikZ
I think that implicit surfaces can be sketched in TikZ when the level curves (or other hyperplane sections) can be drawn. For the surface xyz - x - y - z + 2 = 0 (in fact for any value of theta in ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
tikz-pgf × 31118pgfplots × 4161
diagrams × 1735
tikz-styles × 1197
nodes × 1139
tikz-arrows × 1096
beamer × 993
graphics × 903
positioning × 623
tikz-trees × 594
graphs × 593
plot × 586
arrows × 567
color × 503
3d × 493
foreach × 470
tables × 441
macros × 428
pstricks × 361
circuitikz × 358
tikz-node × 310
tikz-3dplot × 307
horizontal-alignment × 292
tikz-matrix × 291
coordinates × 289