Questions tagged [tikzlibrary]

This tag is best suited for emphasizing the 3rd party TikZ/PGF libraries. For official libraries, use of the regular TikZ tag or specific library tag is sufficient.

Filter by
Sorted by
Tagged with
1 vote
1 answer
42 views

Labeling 3D Geometry in Different Colors using TikZ

I have the following MWE with some help from the community: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{positioning} \usepackage{commath} \usepackage{float} \...
  • 159
0 votes
1 answer
67 views

Help with a tikz picture [closed]

I am trying to create something like the picture below, here is the code I have so far but it will not render I am not sure where I am going wrong. \documentclass{article} \usepackage{tikz} \...
  • 505
0 votes
1 answer
54 views

Using a custom tikz library with defined colors for multiple figures

I am writing a document which includes several figures done in tikz and I want to use the same color in all of them. Currently, I am defining all of them in each file as \definecolor{LightBlue}{HTML}{...
  • 87
0 votes
0 answers
31 views

Followup to Restricting the Circular Span of a Radial Tikzpicture

This post is an extension of the post How to Restrict the Circular Span of a Radial Fading Tikzpicture Consider the code \documentclass{book} % Code can be compiled with Pdflatex or Xelatex \...
  • 5,657
0 votes
1 answer
38 views

How to Restrict the Circular Span of a Radial Fading Tikzpicture

Consider the code \documentclass{book} % Code can be compiled with Pdflatex or Xelatex \usepackage{tikz} \usetikzlibrary{fadings} \definecolor{darkamber}{RGB}{213,54,0} \definecolor{sunriseyellow}{...
  • 5,657
0 votes
0 answers
63 views

Putting random numbers in but still have the triangle work

\documentclass{article} \usepackage{booktabs} \usepackage{isonums} %for comma in number instead of point \usepackage{tikz} \usetikzlibrary{math,calc,angles,backgrounds} %%%%%%%%%%%%%%%%%%%%%%%%%% \...
  • 505
1 vote
2 answers
49 views

How to use circledsteps in a caption?

I am using the circledsteps package to typeset numbers, as shown in following MWE: \documentclass{article} \usepackage{graphicx} \usepackage{tikz} \usepackage{circledsteps} \newcommand{\mycircle}{\...
  • 2,922
4 votes
1 answer
112 views

Complex Flowchart with Boxes within a Dotted Box using TikZ

I'm trying to produce the following flowchart with adding multiple dotted backgrounds. I know the basics for creating a simple flowchart using Tikz, however, I'd like to know how I can create a ...
  • 159
4 votes
1 answer
50 views

Spaces removed from tikzlibraries' code when loaded within \ProvidesExplPackage

I'm playing with expl3 in a project and have a weird issue. I have a package that loads tikz and some tikzlibraries. If I use \ProvidesExplPackage, it seems that spaces are removed somewhere in the ...
  • 3,651
5 votes
2 answers
859 views

tikz Math Library: Why does this operation "755 / 100" produce 7.54999 and not 7.55?

Here is a code example. \tikzmath{ \x = 755; \x = \x / 100; } Output: \x I expect my value stored in \x to be 7.55, but it is instead 7.54999. Is there some setting to make the result be ...
  • 133
0 votes
0 answers
39 views

Luatex + (shadows or fadings) tikzlibraries make "gotosource" from the first page jump to pgflibraryfadings.code.tex

Information about the problem The following code is ok with pdflatex and xelatex compilation. But with Lualatex it produces the problem described below; The problem occurs both with TexStudio and ...
0 votes
1 answer
154 views

How to use 3dtools?

I tried using 3dtools but it gives me the error I did not find the tikz library '3dtools'. How can I solve this? Usually packages are loaded by Texmaker automatically.
  • 205
1 vote
1 answer
123 views

Trouble with tikzpicture and tikzlibrary

I have a trouble with this code (In the code itself I have commented with "%" what I'd like to have). Please help me. Thank you so much in advanced. The code: \documentclass{article} \...
  • 913
1 vote
1 answer
48 views

Trouble with vertical lines

I've a trouble because I'd like to create two vertical lines for generate a determinant of a 3-by-3 matrix. I have tried with scope-environment, but the result is an error. How can I do? This is my ...
  • 913
4 votes
1 answer
153 views

TikZ: black hole lensing effect

I am trying to draw a black hole in tikz, and then overlay it on a real astronomical image with stars in the background. So I take a real image and then plug in a black hole in between the stars, and ...
  • 569
0 votes
1 answer
33 views

tikzlibrary not loading from local file

For some reason tikz-bayesnet is not displaying constants properly (line 22 in this file): \tikzstyle{const} = [rectangle, inner sep=0pt, node distance=1] Here is a link to an overleaf example which ...
  • 207
4 votes
0 answers
70 views

Mindmap color shading between root node and children not using correct color

I am trying to create a mindmap in tikz, bur running in problems when I define the color of the root node different from the "default one". Mainly, the shading between the connection of the ...
  • 508
1 vote
1 answer
57 views

Braids with (co)evaluation maps

I want to use the Braids package and add to some of its drawings the evaluation or coevaluation maps (I work in a rigid category) Here is my MWE so far \documentclass{amsart} \usepackage{...
  • 693
2 votes
1 answer
127 views

How to produce a diagram with dashed circle in between the nodes and arrows?

I want to draw a diagram that just that looks as follows: where I want the diamond to put side-by-side and I can write something at the left of the diagram with line breaks. The working that I ...
2 votes
2 answers
304 views

A rectangular shaped carpet with the grass

I have a rectangular shaped carpet. Is it possible to create a specific code to simulate a grass carpet, like in a golf field? \documentclass[tikz,border=5]{standalone} \usepackage[prefix=]{xcolor-...
  • 46.8k
1 vote
1 answer
95 views

Creating rack and pignon arrangement

I'm trying to create a rack and pignon arrangement in tikz. I found a code allowing to draw a pignon. I'm trying to add a rack in order to have the arrangement. I wrote this code \documentclass[...
7 votes
2 answers
453 views

Projectile motion: change an old code and make it more beautiful

Given this image, where a golf player throws a ball with a angle of 54.0° above horizontal and a speed v₀=13.5 m/s. Looking this excellent old answer Sketching a graph mapping projectile motion using ...
  • 46.8k
9 votes
1 answer
557 views

A professional stamp in relief

Related to these previous my questions A special annulment (i.e., cancellation) of a stamp and Date time in two rows in Italian format and time zone I have created another MWE to have some different ...
  • 46.8k
1 vote
1 answer
208 views

A special annulment (i.e., cancellation) of a stamp

Related to this question Packages for the stamps by postal mail I have seen that there is a LaTeX code in this link: % Envelope % Author: Émeric Tourniaire \documentclass[tikz,border=10pt]{standalone} ...
  • 46.8k
1 vote
1 answer
36 views

TikZ & library babel - Private macro \my@macro unusable with the text of a node

Is there a way to fix the following incompatibility ? I can't use my private macro for the text of a node. \documentclass{article} \RequirePackage{tikz,amsmath} \usetikzlibrary{babel} \makeatletter \...
  • 11.6k
1 vote
1 answer
161 views

TikZ: Fading text too wide

In the code below, I want to produce a similar effect to the example on page 359 of the PGF manual. \RequirePackage{fix-cm} %\documentclass[tikz,preview]{standalone} \documentclass{article} \...
  • 1,359
4 votes
1 answer
133 views

How do I make a parameter optional for a Tikz library?

I am making a tikz library and I would like to use an optional parameter. So far, I have the following code The tikzlibraryquestion.code.tex file is \usepackage{question} \tikzset{ question/.pic={ ...
3 votes
0 answers
61 views

Is there any incompatibility between TikZ's `babel` library and the `beamer` class? [closed]

When the babel library of the tikz package is loaded within the beamer class, the options of the TikZ coordinates labels are displayed with the label on the image. 1. With the beamer class, there is ...
  • 23.2k
21 votes
3 answers
4k views

Catching Pokemon with TikZ ... and why ducks matter

A very creative professor once draw this picture while teaching about horizontal throw which source is this video. Once I saw it I tried to reproduce the draw as can be seen on my own, not very ...
  • 3,669
2 votes
2 answers
568 views

Help to draw a simple Dynkin diagram either with dynkin-diagrams or tikz

I have some troubles drawing a Dynkin diagram as I want to. I produced the following code. But it does not do what I want to do. \begin{dynkinDiagram}[edge length=2cm, edge/.style={ultra thick}, root ...
  • 322
3 votes
1 answer
180 views

Tikzlibrary calligraphy error

The code below uses the TikZ library calligraphy, but throws an error: Package pgfkeys Error: I do not know the key '/pgf/decoration/\pgfkeyscurrentname ' and I am going to ignore it. Perhaps you ...
  • 7,927
1 vote
1 answer
277 views

drawing matrices using Tikz

Recently, I have been confronted with the task to draw three matrices using Tikz and to arrange them in a certain way. https://imgur.com/TzxtG6qThis is what the output should look like I have drawn ...
's user avatar
2 votes
2 answers
626 views

Fitting Shapes Around Irregular Nodes In TikZ

I have the following Hasse diagram which uses the following code: \documentclass[a4paper, 12pt]{article} \usepackage[utf8]{inputenc} \usepackage{tikz} \usetikzlibrary{fit} \begin{document} ...
  • 229
2 votes
1 answer
193 views

signalflowdiagram does not draw anything with `\matrix`

I am using signalflowdiagram from here: http://www.texample.net/tikz/examples/signal-flow-building-blocks/. Then I installed it in my texmf-local folder. The tree looks like this: /usr/local/texlive/...
  • 15.7k
3 votes
1 answer
422 views

Space between containers and arrow from block to container

I am trying to build a block diagram and achieved as below so far. MWE: \documentclass{article} \usepackage[utf8]{inputenc} \title{system overview} \author{Paari Vendhan} \date{November 2018} \...
2 votes
0 answers
168 views

package chemfig does not work with tikzlibrary circuits.pid.ISO14617

Using tikz and have a document with various libraries. In particular \usetikzlibrary{circuits.pid.ISO14617} works fine until I add \usepackage{chemfig} with \chemfig \documentclass[]{article} \...
  • 133
11 votes
1 answer
273 views

Undefined sequence error with calligraphy tikz library

The following MWE is from calligraphy's manual (p.9) with Joseph Wright's workaround for the library's use of obsolete functions: \documentclass[border=10pt]{standalone} \usepackage{tikz} \usepackage{...
  • 184k
3 votes
1 answer
251 views

tikz exact text position along 3 intersecting circles

i'am not able to correctly place a text string along the perimeter of 3 circles that I've produced using tikz together with the decorations.text library. This is what i've got till now Clearly, the ...
1 vote
0 answers
644 views

Installing tikz libraries

I need to install the tikz libraries such as decorations. I have a tex installation (which i suspect is an old installation) with some tikz libraries such as shapes, arrows, snakes and patterns. I am ...
1 vote
0 answers
95 views

TikZ library "calligraphy" doesn't work anymore [duplicate]

after my recent upgrades of miktex (may, 5) the tikz library calligraphy doesn't work anymore. for example, testing of cfr answer: \documentclass[tikz,border=10pt,multi]{standalone} \usetikzlibrary{...
  • 261k
11 votes
1 answer
515 views

TL2018 (MacTeX) and TikZ calligraphy library

Under MacTeX 2018 the following TeX file: \documentclass{article} \usepackage{tikz} \usetikzlibrary{decorations.pathreplacing,calligraphy} \begin{document} \tikz\draw[decorate,decoration={...
  • 7,927
5 votes
1 answer
960 views

TikZ: Snakes Expanding Waves with Decorations

When compiling the following code, I get the following message: Snakes have been superseded by decorations. Please use thedecoration libraries instead of the snakes library. I've been searching how to ...
  • 423
1 vote
0 answers
292 views

Installing "tikz-ladder" library

I am new here. Before I decided to ask this question I spent a few hours looking for an answer on my own. I'm trying to include the "tikz-lad­der" ( https://ctan.org/pkg/tikz-ladder ) library to my ...
5 votes
1 answer
419 views

Rotate Symbol Shape, shape border rotate doesn't work

I'm trying to rotate the signal shape without rotating the text, and I've arrived at the real kludge of rotating the node and the text box. From what I'm reading, the right way to do this is with "...
2 votes
1 answer
406 views

baposter.cls - problems with \usetikzlibrary{snakes}

I would like to create a poster using baposter.cls. I downloaded the example one finds at https://www.latextemplates.com/template/baposter-portrait-poster. Using pdflatex to compile the example I get ...
2 votes
0 answers
2k views

compilation error: tikz library 'positioning -plus' not found [closed]

I am trying to do something similar http://www.texample.net/tikz/examples/flowchart/ and am using overleaf.com for it. However when I open this code in overleaf, I get an error at compilation step ...
  • 2,699
0 votes
0 answers
40 views

Package with pre-made set of customizable drawings [duplicate]

I remember a LaTeX package I found time ago, which provided a lot of good quality drawings to use in presentations. Things like avatars, object of some kinds, etc.. The drawings were customizable and ...
  • 3,381
-1 votes
2 answers
227 views

How to Tikz conceptual flow chart gravitationally with squares and arrows?

I want to make a simple conceptual frame work gravitationally where the connections are not curved from the factors to the event, an example in Fig. 1. My motivation of the gravity approach is in the ...
2 votes
0 answers
363 views

PGFplots library SmithChart and Colorbrewer incompatible? [closed]

What I want: Using Colorbrewer in a Smith Chart What I have: I can use regular colors like red, green, and blue, but a specified colorbrewer scheme does not seem to work. What I tried: I used the ...
4 votes
1 answer
450 views

Confusion over use of tikzmark

I am trying to use tikzmark to do two different things and whilst each one works fine on its own, when I merge the latex code for each one, I get an error. I think it is something to do with how I am ...