Stefan, thanks for your quick and kind responses!
For me, edge has been new.
Up to now I have only used node.
Kent
Search found 9 matches
- Tue Jul 19, 2022 10:28 am
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz II
- Replies: 9
- Views: 3129
- Mon Jul 18, 2022 10:07 am
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz II
- Replies: 9
- Views: 3129
using edge in tikz II
To be precise, I want the macro
\def\mgElabel[#1,#2,#3,#4]{
\draw [#4] (#1) edge [#3 {fill=gray!20,text=black,font=\bfseries}] (#2);
}
to work with the label (argument #3) given without sourounding double apostrophes, i.e. text
instead of "text".
In addition, I have the following defined in my .tex ...
\def\mgElabel[#1,#2,#3,#4]{
\draw [#4] (#1) edge [#3 {fill=gray!20,text=black,font=\bfseries}] (#2);
}
to work with the label (argument #3) given without sourounding double apostrophes, i.e. text
instead of "text".
In addition, I have the following defined in my .tex ...
- Sun Jul 17, 2022 5:45 pm
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz II
- Replies: 9
- Views: 3129
using edge in tikz II
Can we avoid the "-s around the label?
- Sun Jul 17, 2022 4:52 pm
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz II
- Replies: 9
- Views: 3129
using edge in tikz II
Again, thank you very much!
Kent

Kent
- Sun Jul 17, 2022 9:09 am
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz II
- Replies: 9
- Views: 3129
using edge in tikz II
Great! Thanks.
One last question if I may: How to turn the label as bold?
Kent
One last question if I may: How to turn the label as bold?
Kent
- Fri Jul 15, 2022 10:14 am
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz II
- Replies: 9
- Views: 3129
using edge in tikz II
I use edge to place lables along straight line.
I should want to the lines and the node with different colours, see the attached files.
Anybody?
I should want to the lines and the node with different colours, see the attached files.
Anybody?
- Tue Jul 12, 2022 10:53 am
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz
- Replies: 3
- Views: 2081
using edge in tikz
I solved the slope issue. (Easy in fact, by adding sloped below.)
I would really like the label (here "mid") to be bold and given by as a parameter of the macro such as
\def\mymacro[#1,#2,#3,#4]{\draw[#4] (#1) edge [#3,sloped,<->] (#2)};
This seems not to work.
Anybody?
Kent
I would really like the label (here "mid") to be bold and given by as a parameter of the macro such as
\def\mymacro[#1,#2,#3,#4]{\draw[#4] (#1) edge [#3,sloped,<->] (#2)};
This seems not to work.
Anybody?
Kent
- Mon Jul 11, 2022 12:43 pm
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz
- Replies: 3
- Views: 2081
using edge in tikz
Thanks, it works.
One follow-up question:
If I want mid in bold and mid sloped along the line (diagonal), what do I need to do?
Kent
One follow-up question:
If I want mid in bold and mid sloped along the line (diagonal), what do I need to do?
Kent
- Sun Jul 10, 2022 11:03 am
- Forum: Graphics, Figures & Tables
- Topic: using edge in tikz
- Replies: 3
- Views: 2081
using edge in tikz
I have a rectangle ABCD and I want to put node info on the its sides and diagonals.
If i do this as in the attached .tex file (see also below), it works for AB, but not for AC, the path starts at B and not A.
It seems that for AC it still uses the last position from AB. How do I reset this position ...
If i do this as in the attached .tex file (see also below), it works for AB, but not for AC, the path starts at B and not A.
It seems that for AC it still uses the last position from AB. How do I reset this position ...