Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 125871

TikZ is a higher-level drawing language built on top of the PGF graphics framework. For questions specifically about the PGF layer use {pgf-core} instead. Both tags are possible on the same question. The tag {diagrams} is also compatible with this tag.

1 vote

How to draw a line by define it as being orthogonal to an axis and connect it to an intersec...

If I understand your question correctly, you are trying to extract the y-coordinate from the coordinate (ml1). You can do this with the let command by adding the calc library: \usetikzlibrary{calc} T …
Sandy G's user avatar
  • 46.6k
4 votes
Accepted

Drawing Edges that are Rounded Rectangles

You could do this with the double style, together with line cap=round and line join=round. \documentclass{article} \usepackage{tikz} \tikzset{ mycircle/.style={draw, ultra thick, circle, fill=#1 …
Sandy G's user avatar
  • 46.6k
1 vote

tikz: smaller output sizes for many repeated circles?

You can use grid. \documentclass[tikz,border=5pt]{standalone} \usepackage{tikz} \begin{document} \begin{tikzpicture} \draw[thick, dash pattern=on 0mm off 10mm, line cap=round, double=red, double …
Sandy G's user avatar
  • 46.6k
14 votes
Accepted

Outlining Rivers in a Tikz Picture

You can do this with the double option. Just use a single \draw command. You can do the same for the bridges. Using line cap=butt will draw the complete border around the color, whereas line cap=rect …
Sandy G's user avatar
  • 46.6k
6 votes

Draw zodiac sign leo

Several fonts have astronomical symbols. In general you can consult the Comprehensive LaTeX Symbol List, which, even though it is quite long, is easily searchable. You'll find the characters of intere …
Sandy G's user avatar
  • 46.6k
4 votes
Accepted

How can I rearrange my complete bipartite graph so that it has a row of nodes on top and a r...

Here is a suggestion using node sets. You can choose the coordinates of the nodes ahead of time and then refer to them later in the graph. I'm not sure why the command \graph { (w nodes) -- (v nodes) …
Sandy G's user avatar
  • 46.6k
6 votes
Accepted

How to draw rectangular frame in landscape page (tikz) latex

The pdflscape package has trouble with coordinates in landscape, but the typearea package works fine. Note the two lines that must be added when you switch orientation: \KOMAoptions{paper=portrait,pag …
Sandy G's user avatar
  • 46.6k
1 vote

Tikz centering stops being inline

I'm not sure if this is what you want. But maybe you're looking for a displayed diagram, not an inline one: \documentclass{article} \usepackage{tikz-cd} \begin{document} This is the previous paragr …
Sandy G's user avatar
  • 46.6k
12 votes
Accepted

How to make "word images" from atomic symbols of the table of elements, as in Periodle

Updated Solution: The whole thing is now wrapped into a macro \periodle that takes a comma-separated list of element symbols. So \periodle{P,H,Y,Si,Cs} \periodle{La,Te,Xe,Rf,O,Re,V,Er} Produces If …
Sandy G's user avatar
  • 46.6k
2 votes
Accepted

Separation of sub figures in a+b+c whole squared

You can make the figures with the TikZ positioning library. I put the figure into a macro called \abcsquare that takes an optional argument providing the distance between the squares. (The default va …
Sandy G's user avatar
  • 46.6k
2 votes
Accepted

4-dimensional table withthick vertical and horizontal lines for compartmentalization

I suggest using nicematrix. Most of the elements of your matrix are here. I leave it to you to deal with font styles and the remaining cells. To make the cells with the cross behind the text I made a …
Sandy G's user avatar
  • 46.6k
4 votes
Accepted

I would like to highlight a result in this way. How can I do that?

Depending on how you plan to use this, you could use the following: But this will not work, for example, inside an align environment (assuming you want the = to be your alignment character). Here is …
Sandy G's user avatar
  • 46.6k
1 vote

Radial boxes on circle

I suggest drawing 4 long, skinny rectangles first and then placing a white-filled circle on top. Here is the code: \begin{tikzpicture} \foreach \a in {0,45,90,135}{\draw[rotate=\a] (-3,-.2) rectangle …
Sandy G's user avatar
  • 46.6k
9 votes
Accepted

Draw Ms Word Converging Radial Diagram

You can use arrows.meta to make the fat arrows. I also recommend polar coordinates to simplify your code. Also, I would avoid \def\f since \f may be something you want in this or some future document. …
Sandy G's user avatar
  • 46.6k
1 vote
Accepted

Gather multiple nodes on matrix of nodes

The syntax for drawing a perpendicular line from an existing node to the north edge (not the center of the north edge) of an existing node is \draw (node1) -- (node1.south|-node2.north) So eliminate t …
Sandy G's user avatar
  • 46.6k

1
2 3 4 5
24
15 30 50 per page