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}.

88 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7
votes
0answers
2k views

Dotted/Dashed text

is there a way to write dashed or dotted letters such that they appear like normal but dotted or dashed? i mean no word art or such things which i get when i use \pdfliteral{q 1 Tr [0.1 .8]0 d}#1\...
5
votes
0answers
106 views

How can I get correct spacing when reusing Forest trees and when calign is center (default), last etc.?

Forest allows me to reuse (part of) a tree in another tree. However, when calign has certain values, including the default center, this does strange things to the spacing of some nodes. How can this ...
4
votes
0answers
488 views

Node at tip/pinch of brace in Tikz

I'm trying to add some explanatory braces in my graphic, and find myself running into some minor difficulties/inconveniences. [Edit]: After being made aware that the main thrust of the question (...
3
votes
0answers
127 views

pgfplots .provide style similar to tikzset's .provide style

I have been using tikzset{style name/.provide style={}}from Is there something like \providetikzstyle similar to \providecommand? defined as \tikzset{/handlers/.provide style/.code={% \...
3
votes
0answers
1k views

Adjusting Text Vertical Space between lines in Tikz

I have this flowchart and the preamble is set to add a vertical space between lines and when I compiled this flowchart it follwed the preamble i guess. how can I adjust the vertical spaces of lines ...
2
votes
0answers
53 views

How to draw like this picture with tikz

Can some one helpe me to draw this picture with tikz?. code \documentclass{article} \usepackage{tikz} \begin{document} \begin{tikzpicture}[thick,scale=10] % \coordinate (C1) at (0.3,-0.15); \...
2
votes
0answers
167 views

How to measure the cell width and height in tabular?

I need to draw some arrow marks in the border some cells in a tabular. That arrow should start from the bottom right corner of the cell and end at top right corner of the cell. I have drawn such ...
2
votes
0answers
223 views

Apply polar transformation to a shaded rectangle

Update How can I get the shade to vary in the theta direction of the transformed figure rather than left to right? I was hoping the left to right shading in the original rectangle would become a ...
2
votes
0answers
117 views

Create tikz image of restricted map of a plane using

Can anyone help me to produce the following in Latex (or beamer)?. It is a linear isomorphism $g$ in $R^{3}$ restricted to a plane generated by $v_{1},v_{2}$, and its image is a plane generated by $v_{...
2
votes
0answers
241 views

Variable dash spacing on a line in tikz/pgfplots

I would like to have a variant on the tikz dashed line style that begins with dashes spread far apart, and as the line continues to plot, the spacing between dashes reduces, perhaps to zero at the ...
2
votes
0answers
384 views

Input/Output Nodes - Specification and Description Language

I am new to TkiZ. I am trying to create the below Input and Output nodes of Specification and Description Language Is there an existing \node or \tikzstyle to achieve the above in the TIKZ package? ...
2
votes
0answers
459 views

Creating a First Derivative and Second Derivative test

recently I've been trying to create a first and second derivative test showing critical points and increase/decrease/concavity. I've gone this far: \usepackage{tkz-tab} \begin{document} \begin{...
2
votes
0answers
144 views

braces marks with \framed & \tikz

I'm trying to mark some paragraphs with boxes, braces, brackets or parentheses coupled with notes in margin… My first test was using \makebox & minipage according to this discussion as you can see ...
1
vote
0answers
45 views

What is the assign operator in tikz

I'd like to know if there is a separate assign operator like "=" in tikz for assigning results from certain operations. I know \pgfmathparse can do it through \pgfmathresult, but it seems ...
1
vote
1answer
42 views

How to put box like image in left side?

How to use code like this? I need it for explain and summary answer in books. Can help me!
1
vote
3answers
73 views

I have some problem in this Latex program

\begin{center} \begin{tikzpicture}[x=7.5mm,y=4.34mm] % some styles \tikzset{ box/.style={ regular polygon, regular polygon sides=6, minimum size=10mm, inner sep=...
1
vote
1answer
119 views

tcolorbox package: How to reuse/extend tcbhighmath default settings

I'm using the tcolorbox package and want to customize the settings for \tcbhighmath settings. However, using \tcbset{highlight math style={...}} resets all the settings that I don't touch. I want ...
1
vote
0answers
12 views

How do I specify variables for reusable parameters for Vertices in `tikz-network`?

I want to specify the parameters once and then apply them to a large number of \Vertex nodes. I.e. for regular tikz nodes you can use \tikzstyle for repeating parameters for nodes. Also I want to set ...
1
vote
1answer
83 views

Can someone help me design this shape in TikZ

I've gotten a little bit done so far but I'm not sure how to do it. Especially because I don't quite know how to do the coordinate system yet. The lower cylinder has an arrow pointing at it ...
1
vote
0answers
101 views

Custom font with TikZ

I am trying to use Amatic SC with TikZ. Though I have partially succeeded in getting the results, it is not scaling with the use of tikzset. I have defined a new fontfamily for this purpose and it ...
1
vote
0answers
46 views

Is \tikzpictextoptions not supposed to contain the text after the quotes only?

\documentclass{article} \usepackage{tikz} \usetikzlibrary{quotes} \begin{document} \tikzset{ thing/.pic={ \node {\tikzpictext}; \node at (0,1) {\tikzpictextoptions}; } } \...
1
vote
0answers
40 views

Tikz Sub/superscripts within a node

I just started using TikZ, and I'm still reaqcuainting myself with LaTex in general. When defining a node in TikZ, how do I apply simple stylistic things like subscripts and superscripts?
1
vote
0answers
61 views

Asymmetrical margins on tikz drawing

I am working on this picture. It is almost completed, but for some reason I can't trim the left margin so there is some annoying extra space. (If you open the image on a new tab is easier to see). It'...
1
vote
0answers
68 views

Tikz-standalone without redefining tikzstyle

I have a tikz standalone, where I make a tikz picture that is using tikzstyles I define in this file. \tikzstyle{block} = [rectangle, thick, minimum width=3cm, minimum height=1cm, text centered, text ...
1
vote
0answers
74 views

Change the pattern density of bar

I want to change the pattern density of the bar. Here is my code \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \usepackage{pgfplotstable} \usetikzlibrary{patterns} \definecolor{ref}...
1
vote
0answers
370 views

Can the command \minted and \mintinline have rounded corners without depending on the package listings? Are tcolorbox and tikz needed?

I use XeLaTeX, but I can not use both or similar or duplicate packages, because someone said it is bad idea in XeLaTeX. I would like to use only minted. Here are two answers which offer inline code ...
1
vote
0answers
71 views

Reduce spacing inside cell, vertical and horizontal positioning of figure & defining some text in preamble

I want to make a template document (with custom margins, font sizes, header, footer etc...). I have specified only footer on first page and header on all other pages, margins, text width, text height,...
1
vote
0answers
2k views

CircuiTikZ code generator with OmniGraffle

I just read a thread on here about generating CircuiTikz code with OmniGraffle. I downloaded OmniGraffle and followed the instructions, but was not able to generate the tex-code. My question is: Can ...
1
vote
0answers
824 views

LaTeX packages for timelines

Are there any LaTeX/TikZ packages that can create timeline as show in figures?
1
vote
0answers
241 views

How to draw the Hyde chart of chemical elements?

In chemistry, it is very common to use the periodic table of chemical elements to predict reactions. This is a wonderful tool that most students learn to use in school early on. However, as a ...
1
vote
0answers
176 views

how to adapt legend in combination with \pgfuseplotmark

I'm trying to plot several results with \addplot table, for the color and style of the lines I created a "colorlist" with \pgfplotscreateplotcyclelist. I also scattered my results to use different ...
1
vote
0answers
189 views

Coordinates within a TikZ node

I have a document with multiple variations on what is essentially the same image, and using this question and answer, I was able to simplify things a lot. When I draw pictures, I usually use many ...
1
vote
0answers
95 views

Where is the ellipse?

I want to draw a Lemoine's ellipse, but I could not determine the focus the coordinates. Here is the codes. \documentclass[10pt]{article} \usepackage[a4paper,margin=2cm]{geometry} \usepackage[...
1
vote
0answers
364 views

Cut off graphs using dot2texi with TikZ

I am creating concept maps using dot2texi and TiKz. However, with more complex maps the current style sometimes causes the map to be cut off. This despite the fact that in theory there is actually ...
1
vote
0answers
396 views

Draw regular pentagon in tikz

I am trying to draw unfolding regular pentagon. I have got a really great example her: Regular pentagon. And the code is: \newcommand{\downpent}[2][blue!50!gray,draw=white,thick]% [options], list of ...
1
vote
0answers
892 views

How to add text at a particular location in tikz picture

From TikZ Adding Text I try \node[draw,align=left] at (0.5,-6.5) {text}; But I have defined previously that every node/.style = {draw, circle, minimum size = 7mm}. I do not want the circle around the ...
1
vote
0answers
288 views

Tikz draw lines on Triangle

I was wondering if any of you know how to draw the lines there is in this picture? I don't have any problems with drawing the triangles and angels itself, it is just the lines there are going through ...
1
vote
0answers
129 views

curves with Tikz

I have 5 curves of functions that I want to put in the same TikZ graphic. The functions are: $$f(x)= 1.5e6(s^(-1/0.06)-1)^(1-0.06)$$ $$g(x)= 10^7(s^(-1/0.412)-1)^(1-0.412)$$ $$h(x)= (1-s^2)*(1-s^(5/3)...
1
vote
0answers
160 views

How to preserve information after exporting Tikz code from Geogebra and compiling it?

I use Geogebra to draw the figures in my book, exporting it to Tikz code to compile. However I found that the information of labeling in Geogebra was lost after exporting or compiling, and it ...
1
vote
0answers
307 views

Möbius transform Tikz - special request

I would need some picture in Tikz but I don't know how could I achieve them. ( I don't know if exsist some code of it). There is a youtube video which shows the Möbius transforms in two dimension (...
1
vote
0answers
277 views

boxed text between pages in arabic, rightmargin with tikz

First, I want to thank the members of the discussion of the message Boxed text between pages which was very interesting for my use, so I got a macro in arabic for my examples (which is right-to-...
0
votes
0answers
24 views

How to access style values of a node

I'd like to access the style of a node, something like mynode.fill or mynode.color etc.. Particularly, I have this task: draw a node and grid it. But I'd like to use some node properties when I plot ...
0
votes
0answers
20 views

Why is minimum width ignored?

I am trying to draw a simple node with a split rectangle. minimum height works as expected. But minimum width is simply ignored. I'd like to make the node a bit wider. Below is an MWE. \documentclass{...
0
votes
0answers
77 views

tikz drawing perpendicular line

I copied and pasted some code from another thread on this forum, and it has worked, however I am unsure how to change the length of the line. On the attached image, the line is the one labelled H(X,T)....
0
votes
0answers
47 views

Draw a tree-graph in Latex with Tikz or qtree

Is it possible to draw tree-graphs like the image below in LaTeX? I just need an idea of ​​how to write the first two levels of the tree. I believe that from there I can continue... thanks!!!!!
0
votes
0answers
79 views

Visual editor for tikz

I would like to draw something like the block of nested file icons as roughly drawn on the paint. This is my current desired, but I need to find a better way about drawing on LaTeX infrastructure. So ...
0
votes
0answers
26 views

Annotating / Labeling an Image with tikz-imagelabels and adding a custom style

I want to use the TikZ package tikz-imagelabels in conjunction with these types of labels I found used in a pie-chart demo but I have absolutely no idea where to start. Im not so good with TikZ to ...
0
votes
1answer
42 views

setting a normal distribution over a graph's node using tikz

I would like to add a normal distribution inside a circle node using tikz package \node[scale=4,circle, fill=blue!55!cyan!25] (Og1) at (0,0) {}; The area under the plot would be coloured if it is ...
0
votes
0answers
32 views

Setting border appearance and text settings in tikzset style

Regarding the shown MWE, I need to set the tikzset.style below such that it is capable of: \tikzset{gbucharboxstyle/.style={draw=black,inner sep=0pt,fill=gray!25,font=\bfseries}} \newcommand{\...
0
votes
1answer
33 views

Text overlap in nodes

I've created a tikzpicture that has a lot of nodes. These nodes are sometimes close to eachother and my text is overlapping. This is my output: What i want to have is this: The text lines under ...