Questions tagged [tikz-matrix]
{tikz-matrix} concerns matrix nodes particularly in the tikz-matrix library of tikz-pgf.
503 questions
4
votes
2
answers
108
views
circuitikz: How to use circuitikz inside a TikZ-matrix
Is it possible to use circuitikz-shapes as cells inside a TikZ-matrix?
(I mean, as cells
<*> & <*> & <*> ... \\, how to place nodes afterwards is already clear.)
If I put in |...
3
votes
2
answers
80
views
Highlight certain rectangular blocks in nicematrix
I'm trying to highlight certain rectangular blocks with the nicematrix package. The problem I have is that the left and right sides of the rectangles are not in the correct positions.
Here is a MWE:
\...
1
vote
1
answer
113
views
Grid coordinate structure defined for technical drawing placement and references
Overview:
I'm writing a document that has lots of full page landscape diagrams in it. The diagrams have many small \tikzpictures in them that are connected by lines. The same sub- \tikpicture can be ...
5
votes
1
answer
133
views
TikZ-matrix: style or style-lists for fixed elements
What is the most elegant way to reach that style (by using a Tikz-matrix):
MWE:
€dit: I set a simplification at the lists. This makes it clearer which elements should be emphasized.
\documentclass[...
-2
votes
3
answers
154
views
tikz matrix and multi-column using `fit`
I'm trying to make a table using tikz-matrix in which i would like a cell that expands over many columns. It seems fit can help in that but i'm not succeeding in aligning the text with that of the ...
0
votes
0
answers
48
views
tikz matrix multicolumn and "execute at begin"
I'm trying to make a tikz matrix including multicolumns using fit in a multilingual document. Jumping from the default language to any one else setup implies using an environment. e.g. \begin{hindi} [ ...
2
votes
1
answer
139
views
Misalign fill with color TikZ matrix node with text
When I fill a TikZ matrix node that contains text in typewriter font, the color goes beyond the rectangle drawn. Writing anchor=center inside nodes does align the color inside the rectangle, but the ...
9
votes
2
answers
844
views
The forbidden nesting of matrices
In tikz the nesting of matrices is strictly forbidden. One can write something like
\[
\begin{tikzpicture}
\matrix (m) [matrix of nodes,nodes={anchor=center}] {
1 & \tikz{\draw(0,0)--(1,1)(0,1)--(...
1
vote
1
answer
96
views
Tikz: How to group multiple nodes to one node functionally for better control in terms of positioning and scaling sizes?
This is my code:
\documentclass{standalone}
\usepackage{amssymb, amsfonts, dsfont}
\usepackage{tikz}
\usetikzlibrary{positioning, shapes, arrows.meta, fit}
\begin{document}
\begin{tikzpicture}[...
3
votes
2
answers
135
views
`\Hbrace` and `\Vbrace` in `nicematrix`'s location and length control?
I use the new feature of \Hbrace and \Vbrace in v7.1 of nicematrix:
\documentclass{article}
\usepackage[OT1]{fontenc}
\usepackage{eulervm}
\usepackage{amsmath}
\usepackage{tikz}
\usetikzlibrary{...
6
votes
3
answers
357
views
Is that possible to automatically add the non-empty border in tabularray?
I want to get the following result:
which is generated by:
\documentclass{article}
\usepackage{libertinus}
\usepackage{tabularray}
\setlength\lTblrDefaultHruleWidthDim{2pt}%
\setlength\...
2
votes
2
answers
83
views
\foreach / for loops within a Matrix of Nodes [duplicate]
Attempting to automate the placement of nodes within a matrix of nodes using \foreach but it will not compile:
MWE:
\documentclass[border=0.5cm]{standalone}
\usepackage{tikz}
\usetikzlibrary{matrix}
\...
2
votes
2
answers
219
views
Block Structure for Matrix
I am trying to make the below pair of matrix equations and can do most of it, but not sure how to make the block matrix on the right-hand side, does anyone have any suggestions?
I have tried using ...
0
votes
1
answer
74
views
\matrixcontent not working
I was trying to copy the codes from the tikz manual and there was a \matrixcontent in the second tikz picture, but it is not working. The second tikz picture is not showing the matrix and gives me an ...
1
vote
1
answer
95
views
why tikz arrow is pointing in reverse direction using matrix?
I am learning tikz matrix and wanted to make arrows between some of its nodes.
Code first draws the matrix, then uses the command \draw[->] (A) -- (B); to draw arrow from node A to B. These are ...