signalflowdiagram does not draw anything with `matrix`
up vote
0
down vote
favorite
I am using signalflowdiagram
from here: http://www.texample.net/tikz/examples/signal-flow-building-blocks/. Then I installed it in my texmf-local
folder. The tree looks like this:
/usr/local/texlive/texmf-local
tex
├── latex
│ ├── local
│ ├── signalflowlibrary
│ │ ├── macros.sty
│ │ ├── signalflowdiagram.sty
│ │ ├── tikzlibrarysignalflowarrows.code.tex
│ │ ├── tikzlibrarysignalflowblocks.code.tex
│ │ ├── tikzlibrarysignalflowdiagram.code.tex
│ │ └── tikzlibrarysignalflowoperators.code.tex
...
After copying the necessary files to the tree as shown above, I ran $ mktexlsr
to make sure LaTeX can find the new custom package.
I can confirm that it works properly because this code:
documentclass[crop,tikz]{standalone}
usepackage{signalflowdiagram}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
node[input] (in) {$R(s)$};
node[filter] (plant) [right from=in] {$G(s)$};
path[r>] (in) -- (plant);
end{scope}
end{signalflow}
end{document}
produces this picture:
The problem
Now I want to position the nodes using matrix
. First, I will show that I can get matrix
to work, nothing fancy:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
%usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{tikzpicture}
end{document}
So I get this:
This time, I want to use the predefined blocks in signalflowdiagram
, so I uncomment the line that says usepackage{signalflowdiagram}
. My code now looks like this. Notice the use of signalflow
and scope
environments as shown in the first example above.
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{scope}
end{signalflow}
end{document}
Nothing appears :o I have not even started using the predefined blocks in signalflowdiagram
.
Even using an ordinary tikzpicture
draws nothing:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3
4 & 5 & 6
};
end{tikzpicture}
end{document}
The common denominator
As long as usepackage{signalflowdiagram}
is present, all matrix
disappear.
Is there a way to get signalflowdiagram
to work with matrix
? I did try hacking into the signalflowdiagram
code files, disabling definition of new environments, etc., to no avail.
tikz-pgf tikz-matrix tikzlibrary
add a comment |
up vote
0
down vote
favorite
I am using signalflowdiagram
from here: http://www.texample.net/tikz/examples/signal-flow-building-blocks/. Then I installed it in my texmf-local
folder. The tree looks like this:
/usr/local/texlive/texmf-local
tex
├── latex
│ ├── local
│ ├── signalflowlibrary
│ │ ├── macros.sty
│ │ ├── signalflowdiagram.sty
│ │ ├── tikzlibrarysignalflowarrows.code.tex
│ │ ├── tikzlibrarysignalflowblocks.code.tex
│ │ ├── tikzlibrarysignalflowdiagram.code.tex
│ │ └── tikzlibrarysignalflowoperators.code.tex
...
After copying the necessary files to the tree as shown above, I ran $ mktexlsr
to make sure LaTeX can find the new custom package.
I can confirm that it works properly because this code:
documentclass[crop,tikz]{standalone}
usepackage{signalflowdiagram}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
node[input] (in) {$R(s)$};
node[filter] (plant) [right from=in] {$G(s)$};
path[r>] (in) -- (plant);
end{scope}
end{signalflow}
end{document}
produces this picture:
The problem
Now I want to position the nodes using matrix
. First, I will show that I can get matrix
to work, nothing fancy:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
%usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{tikzpicture}
end{document}
So I get this:
This time, I want to use the predefined blocks in signalflowdiagram
, so I uncomment the line that says usepackage{signalflowdiagram}
. My code now looks like this. Notice the use of signalflow
and scope
environments as shown in the first example above.
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{scope}
end{signalflow}
end{document}
Nothing appears :o I have not even started using the predefined blocks in signalflowdiagram
.
Even using an ordinary tikzpicture
draws nothing:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3
4 & 5 & 6
};
end{tikzpicture}
end{document}
The common denominator
As long as usepackage{signalflowdiagram}
is present, all matrix
disappear.
Is there a way to get signalflowdiagram
to work with matrix
? I did try hacking into the signalflowdiagram
code files, disabling definition of new environments, etc., to no avail.
tikz-pgf tikz-matrix tikzlibrary
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I am using signalflowdiagram
from here: http://www.texample.net/tikz/examples/signal-flow-building-blocks/. Then I installed it in my texmf-local
folder. The tree looks like this:
/usr/local/texlive/texmf-local
tex
├── latex
│ ├── local
│ ├── signalflowlibrary
│ │ ├── macros.sty
│ │ ├── signalflowdiagram.sty
│ │ ├── tikzlibrarysignalflowarrows.code.tex
│ │ ├── tikzlibrarysignalflowblocks.code.tex
│ │ ├── tikzlibrarysignalflowdiagram.code.tex
│ │ └── tikzlibrarysignalflowoperators.code.tex
...
After copying the necessary files to the tree as shown above, I ran $ mktexlsr
to make sure LaTeX can find the new custom package.
I can confirm that it works properly because this code:
documentclass[crop,tikz]{standalone}
usepackage{signalflowdiagram}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
node[input] (in) {$R(s)$};
node[filter] (plant) [right from=in] {$G(s)$};
path[r>] (in) -- (plant);
end{scope}
end{signalflow}
end{document}
produces this picture:
The problem
Now I want to position the nodes using matrix
. First, I will show that I can get matrix
to work, nothing fancy:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
%usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{tikzpicture}
end{document}
So I get this:
This time, I want to use the predefined blocks in signalflowdiagram
, so I uncomment the line that says usepackage{signalflowdiagram}
. My code now looks like this. Notice the use of signalflow
and scope
environments as shown in the first example above.
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{scope}
end{signalflow}
end{document}
Nothing appears :o I have not even started using the predefined blocks in signalflowdiagram
.
Even using an ordinary tikzpicture
draws nothing:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3
4 & 5 & 6
};
end{tikzpicture}
end{document}
The common denominator
As long as usepackage{signalflowdiagram}
is present, all matrix
disappear.
Is there a way to get signalflowdiagram
to work with matrix
? I did try hacking into the signalflowdiagram
code files, disabling definition of new environments, etc., to no avail.
tikz-pgf tikz-matrix tikzlibrary
I am using signalflowdiagram
from here: http://www.texample.net/tikz/examples/signal-flow-building-blocks/. Then I installed it in my texmf-local
folder. The tree looks like this:
/usr/local/texlive/texmf-local
tex
├── latex
│ ├── local
│ ├── signalflowlibrary
│ │ ├── macros.sty
│ │ ├── signalflowdiagram.sty
│ │ ├── tikzlibrarysignalflowarrows.code.tex
│ │ ├── tikzlibrarysignalflowblocks.code.tex
│ │ ├── tikzlibrarysignalflowdiagram.code.tex
│ │ └── tikzlibrarysignalflowoperators.code.tex
...
After copying the necessary files to the tree as shown above, I ran $ mktexlsr
to make sure LaTeX can find the new custom package.
I can confirm that it works properly because this code:
documentclass[crop,tikz]{standalone}
usepackage{signalflowdiagram}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
node[input] (in) {$R(s)$};
node[filter] (plant) [right from=in] {$G(s)$};
path[r>] (in) -- (plant);
end{scope}
end{signalflow}
end{document}
produces this picture:
The problem
Now I want to position the nodes using matrix
. First, I will show that I can get matrix
to work, nothing fancy:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
%usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{tikzpicture}
end{document}
So I get this:
This time, I want to use the predefined blocks in signalflowdiagram
, so I uncomment the line that says usepackage{signalflowdiagram}
. My code now looks like this. Notice the use of signalflow
and scope
environments as shown in the first example above.
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{signalflow}{Block diagram}
begin{scope}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3 \
4 & 5 & 6 \
};
end{scope}
end{signalflow}
end{document}
Nothing appears :o I have not even started using the predefined blocks in signalflowdiagram
.
Even using an ordinary tikzpicture
draws nothing:
documentclass[crop,tikz]{standalone}
usepackage{tikz}
usepackage{signalflowdiagram}
usetikzlibrary{matrix}
begin{document}
begin{tikzpicture}
matrix (m) [matrix of nodes]
{%
1 & 2 & 3
4 & 5 & 6
};
end{tikzpicture}
end{document}
The common denominator
As long as usepackage{signalflowdiagram}
is present, all matrix
disappear.
Is there a way to get signalflowdiagram
to work with matrix
? I did try hacking into the signalflowdiagram
code files, disabling definition of new environments, etc., to no avail.
tikz-pgf tikz-matrix tikzlibrary
tikz-pgf tikz-matrix tikzlibrary
asked 3 mins ago
Kit
7,4501958103
7,4501958103
add a comment |
add a comment |
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to TeX - LaTeX Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f462786%2fsignalflowdiagram-does-not-draw-anything-with-matrix%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown