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

54 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
0answers
89 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
1k 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\...
4
votes
0answers
394 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
116 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
982 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
290 views

How to install the package \usetikzlibrary{positioning,fit,arrows.meta,backgrounds}?

I used the line \usetikzlibrary{positioning,fit,arrows.meta,backgrounds} in my latex code to generate architecture diagram with arrows. But it shows error as Can't find file \usetikzlibrary{...
2
votes
0answers
87 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
222 views

Can Gaussian (or similar) blur be applied to Tikz text?

I’m trying to emulate in TikZ a title page which I’ve previously drawn in SVG. The image below is from the SVG version, where the shadowed text is achieved using a feGaussianBlur filter. But ...
2
votes
0answers
147 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
111 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
238 views

Make an organisation Chart on Latex

I am looking to make an organisation chart on latex for a group project. I have never done this before, and I saw that I can use the Forest package or using tikz. My coworker, made the chart using ...
2
votes
0answers
166 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
372 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
379 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
137 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
49 views

Kinematics CAD package for LaTeX

Do any good libraries exist for drawing kinematics diagram in LaTeX. I am looking for something similar to the following image. Duplicate
1
vote
0answers
39 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
33 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
51 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
48 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
34 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
1answer
91 views

Tikz/pgfplots Reduce distance between Tick labels line break

I'm pretty desperate with a problem I have right now. I'm trying to create a lollipop plot that has different categories on the y-axis and occurrences on the x-axis. According to the below code. Note ...
1
vote
0answers
195 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
60 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
1k 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
594 views

LaTeX packages for timelines

Are there any LaTeX/TikZ packages that can create timeline as show in figures?
1
vote
0answers
194 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
151 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
172 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
82 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
326 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
281 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
696 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
243 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
122 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
155 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
276 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
247 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
20 views

Editing distance between photos and their caption/ label

I am placing photographs on a page as per certain hierarchy The output is correct but the labeling/caption of the names is a bit distant – how do I correct it? Can the coding below be improved in any ...
0
votes
0answers
27 views

Customize the items in the enumeration environment

How can I beautify the items in personal style? Can you give me an example? I want to do like the "1,2,3,4" subsections below
0
votes
0answers
40 views

Restarting figure numbering

Does anyone know how to start the numeration of figures from the second figure, that is, I would like the first figure, which is illustrative, not to be included in figure counting, so that Fig. 1 ...
0
votes
0answers
32 views

How to enforce lower case in TIKZ with font type \scshape?

I am using Tikz to generate a table. I want to generate a caption of the table similar to a certain journal format. I was able to create the caption with the same font. However, all letters are in ...
0
votes
0answers
46 views

Create the same figure

Can someone please help me with this figure I tried to create the same but I just make things worse...I even had issue with my programm... I am new to LaTeX figure drawing Thank you so much \...
0
votes
0answers
68 views

Why are my characters overlapping?

As a test of what's going wrong with a longer LaTeX file I've written, here is what I tried: \documentclass{article} \usepackage{tikz} \pagestyle{empty} \begin{document} \begin{tikzpicture} \draw (0,...
0
votes
0answers
50 views

Is there a tikz command for showing people in a flowchart?

I need to show a group of people (sometimes women, sometimes men) in my flowchart. Is there any command for that?
0
votes
0answers
38 views

Latex Figure Query

I am trying to draw a figure in Latex and then convert that pdf to jpg and import in Powerpoint slide. I do not want "Figure 1" which comes below the figure as every separate figure gives me "Figure 1"...
0
votes
0answers
328 views

Wrapfigure unrecognized environment

TeXstudio has highlighted this for some time. same problem indicates it in the commands: \tikzmarknode{}, \eqdescbox, \dimexpr I have no problems in compiling the pdf file, I only see these things ...
0
votes
0answers
54 views

pgfgantt spans width

I would like to draw Gantt chart, where: is generated by: \documentclass{article} \usepackage{pgfgantt} \begin{document} \begin{ganttchart}{1}{12} \gantttitle{2011}{12} \\ \...
0
votes
0answers
100 views

How to define style of a node based on conditional boolean expression in tikz

I want to define "minimum width" of the node based on "ifpgfckedged" parameter. But this not getting set properly, as the check of "ifpgfckedged" fails during \tikzset. I am attaching the code here. %...
0
votes
0answers
58 views

curved path's and how to make this picture more fancy

i want to show that a big frame consist of many small frames of another typ. Therefor i started this tikzpicture. The big one is named long and the small frames are named small. \documentclass{...