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
0 votes
0 answers
11 views

Error message says "I can't find file tikzlibraryanimations.code.tex"

My TeXstudio editor is doing well. But whenever I need to use the package \usetikzlibrary{}, get an error message I can't find file "tikzlibraryanimations.code.tex". I have tried to update ...
learner's user avatar
  • 663
1 vote
0 answers
40 views

Error occurs when \usetikzlibrary in l3 style class file

I have a class file which is simplified as follows: % mwe.cls \ProvidesExplClass{mwe}{2023/05/29}{0.1}{class file for writing mathematical exercises} \LoadClass{report} \RequirePackage{tikz} \...
Stephen's user avatar
  • 2,847
-1 votes
2 answers
102 views

How to draw an elliptical orbit [closed]

How do I make a diagram like this?
Megumi Hoshino's user avatar
3 votes
1 answer
71 views

Tikz positioning library has weird behavior with tkz-tab package in position of nodes

\documentclass{standalone} \usepackage{tkz-tab} %\usetikzlibrary{positioning} \begin{document} \begin{tikzpicture} \tkzTabInit[lgt=1.5, espcl=1.5]% {$x$/0.8, $f'(x)$/0.8, $f(...
Fotis K's user avatar
  • 195
1 vote
1 answer
55 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} \...
Rahman's user avatar
  • 189
0 votes
1 answer
72 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} \...
Paul A's user avatar
  • 709
0 votes
1 answer
75 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}{...
aripod's user avatar
  • 97
0 votes
1 answer
58 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 \...
DDS's user avatar
  • 8,491
0 votes
1 answer
50 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}{...
DDS's user avatar
  • 8,491
1 vote
0 answers
97 views

Putting random numbers in but still have the triangle work [closed]

\documentclass{article} \usepackage{booktabs} \usepackage{isonums} %for comma in number instead of point \usepackage{tikz} \usetikzlibrary{math,calc,angles,backgrounds} %%%%%%%%%%%%%%%%%%%%%%%%%% \...
Paul A's user avatar
  • 709
1 vote
2 answers
167 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}{\...
Karlo's user avatar
  • 3,247
4 votes
1 answer
390 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 ...
Rahman's user avatar
  • 189
4 votes
1 answer
69 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 ...
NBur's user avatar
  • 4,056
5 votes
2 answers
862 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 ...
Jon's user avatar
  • 133
0 votes
0 answers
59 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 ...
AntoineLatex's user avatar
1 vote
1 answer
303 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.
manuel459's user avatar
  • 299
1 vote
1 answer
152 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} \...
Puck's user avatar
  • 1,158
1 vote
1 answer
54 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 ...
Puck's user avatar
  • 1,158
4 votes
1 answer
198 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 ...
Britzel's user avatar
  • 609
0 votes
1 answer
55 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 ...
mkk's user avatar
  • 217
3 votes
0 answers
133 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 ...
Jes's user avatar
  • 809
1 vote
1 answer
71 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{...
brunoh's user avatar
  • 723
2 votes
1 answer
154 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 ...
Amirul Aizad's user avatar
2 votes
2 answers
343 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-...
Sebastiano's user avatar
  • 52.7k
1 vote
1 answer
123 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[...
user228473's user avatar
7 votes
2 answers
584 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 ...
Sebastiano's user avatar
  • 52.7k
9 votes
1 answer
682 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 ...
Sebastiano's user avatar
  • 52.7k
1 vote
1 answer
233 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} ...
Sebastiano's user avatar
  • 52.7k
1 vote
1 answer
40 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 \...
projetmbc's user avatar
  • 13.6k
1 vote
1 answer
229 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} \...
mathbekunkus's user avatar
  • 1,379
4 votes
1 answer
160 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={ ...
usernumber's user avatar
3 votes
0 answers
71 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 ...
AndréC's user avatar
  • 23.7k
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 ...
FHZ's user avatar
  • 3,849
2 votes
2 answers
693 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 ...
Christoph Mark's user avatar
4 votes
1 answer
241 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 ...
sgmoye's user avatar
  • 8,454
1 vote
1 answer
373 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://i.stack.imgur.com/jJksz.jpgThis is what the output should look like I ...
user avatar
3 votes
2 answers
916 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} ...
Ben's user avatar
  • 239
2 votes
1 answer
208 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/...
Kit's user avatar
  • 16.3k
3 votes
1 answer
487 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} \...
Parthiban Rajendran's user avatar
2 votes
0 answers
185 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} \...
CJD's user avatar
  • 123
11 votes
1 answer
302 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{...
cfr's user avatar
  • 193k
3 votes
1 answer
297 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 ...
Alberto Stefanelli's user avatar
1 vote
0 answers
804 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 ...
Cyriac Antony's user avatar
1 vote
0 answers
96 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{...
Zarko's user avatar
  • 293k
11 votes
1 answer
569 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={...
sgmoye's user avatar
  • 8,454
5 votes
1 answer
1k 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 ...
Shade's user avatar
  • 443
1 vote
1 answer
434 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 ...
Mad Scientist's user avatar
5 votes
1 answer
473 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 "...
Scott Seidman's user avatar
2 votes
1 answer
467 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 ...
J. Baetge's user avatar
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 ...
NAASI's user avatar
  • 2,789