Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.
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 ...
user avatar
  • 1,980
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 \...
user avatar
  • 5,294
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 ...
user avatar
  • 20.3k
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 ...
user avatar
  • 5,294
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 % <--- ...
user avatar
  • 251k
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 ...
user avatar
  • 20.3k
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 ...
user avatar
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{...
user avatar
  • 29.1k
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{...
user avatar
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 ...
user avatar
  • 387
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 ...
user avatar
  • 20.3k
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 ...
user avatar
  • 13.6k
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? ...
user avatar
  • 29.1k
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 ...
user avatar
  • 251k
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 ...
user avatar
  • 2,859

Only top scored, non community-wiki answers of a minimum length are eligible