Questions tagged [tikz-styles]
{tikz-styles} are predefined sets of options that organize how graphics elements are drawn. It is thus possible to program specific styles and reuse the styles on different objects. The {tikz-styles} tag can be used in parallel with {tikz-pgf}.
2,099 questions
2 votes
1 answer
47 views
How to fix overlays breaking in tcolorbox
For some reason(s) i can't explain. When i use the codes below, the overalys on the right does not break to a new page. see MWE \documentclass[openany]{book} \usepackage[many]{tcolorbox} \...
4 votes
2 answers
168 views
How to Make TikZ Overlay Arrows Smoother and Better Arranged in Table?
I'm creating a table with TikZ overlay arrows to illustrate the data flow between cells. The arrows currently work, but they look somewhat crude and could be improved. I'm looking for suggestions on: ...
2 votes
1 answer
94 views
How to align this flowchart in TikZ?
(In order to ensure that each post should only focus on one key point, I have reformulated my question and provided the modified TikZ code. )For the problem How can I use straight lines to connect ...
4 votes
2 answers
213 views
How can I use straight lines to connect elements inside nested TikZ environments?
I am currently refining the flowchart in this problem Why does \begin{figure}[H] disrupt line spacing?. The solution in the problem involves using nested TikZ, but I have encountered another issue ...
1 vote
1 answer
95 views
Default TikZiT styles or templates for technical diagrams?
I’m new to TikZiT and was wondering — is there any default or example style template available with basic elements like arrows, circles, and similar shapes? Also, where can I find or download ready-...
4 votes
1 answer
94 views
How to remove chapter 0 in frontmatter book class
I would like to get this style Currently my MWE is \documentclass[openany,fleqn]{book} \usepackage{tikz} \usepackage{titlesec} \usepackage{xcolor} \usepackage[margin=2cm,width=176mm,height=250mm]{...
5 votes
2 answers
167 views
TikZ - Define the line style of multiple pens with different colors and widths
I would like to define the TikZ line style like the following to draw the line within one \draw command, i.e, \draw [mystyle] (A) -- (B); The MWE \documentclass[tikz]{standalone} \begin{document} \...
8 votes
2 answers
780 views
Segmented cake symbol
Let's take as an example an old request of mine, where I asked to create small symbols (eyes) to indicate the difficulty of an exercise. TikZ or symbol eyes for difficulty of examples/exercises Since ...
2 votes
1 answer
69 views
tikz: How to define a custom 'on layer' layer key for both scope and picture?
For the following, I need to use the newly defined key on layer to be applied to both scope and picute. However, the way it is defined seems not to make the scope environment apply the other passed ...
2 votes
1 answer
98 views
Tikz: How to define a custom style key and apply it to a pic?
I would like to know how to properly define a custom style key topstyle inside the family my cylinder parameters and apply it to any pic instance. The following produces the error Package xcolor ...
3 votes
2 answers
235 views
Is there a edge style with double lines in the tikz -package?
I am looking for a way to draw edges in the tikz-package, like \Rightarrow in the amssymb-package. Does anyone know of an option like that? Perhaps via edge/.style? \documentclass[tikz]{standalone} \...
3 votes
1 answer
84 views
tblrtikzbelow: how to draw calligraphic braces below columns
I like to draw curly braces below each table columns. For them I define style, which is part of styles collected in TCP/.style, which are I often used in my tikzpictures. Problem, by which I faced is,...
11 votes
4 answers
813 views
Draw two strands that twist around each other in Tikz
Using the approach described here : https://texblog.org/2014/04/28/simple-dna-protein-interaction-model-with-tikz/ \documentclass[border=10pt]{standalone} \usepackage{tikz} \usetikzlibrary{decorations....
6 votes
6 answers
640 views
How to draw the following graph in latex?
Here is what I want to draw, and it is color sensitive, also the vertices need not be very big: Any help will be greatly appreciated! EDIT: This is what I have but then I need the coloration please? \...
8 votes
4 answers
330 views
Vertical dashed lines in tikz. Figure from Proofs Without Words
I’m trying to recreate a figure from Roger B. Nelsen’s Proofs Without Words: Exercises in Visual Thinking—specifically “Sums of Squares V” (Integer Sums, p. 81). My code gets everything right except ...