Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 26 |
Nodes: | 6 (0 / 6) |
Uptime: | 50:15:13 |
Calls: | 632 |
Files: | 1,187 |
D/L today: |
11 files (11,142K bytes) |
Messages: | 177,746 |
I apologize if I'm posing my question in the wrong forum.
My problem is I want to draw a LAN diagram that distinguish
components and cables that are 2.5Gb/s-capable from those of
slower speed. A simple way to do so would be to use two colors,
one associated with high speed and the other with lower speeds. I
only want to color box frames and lines. I've consulted "The
LaTeX Companion", "A Guide to LaTeX 2e", and "The LaTeX Graphics
Companion" all of which I have at home. Even the Graphics
Companion virtually restricts itself to coloring text. All
contain brief erudite discussions of color models that are of
zero help.
I have been using TeXworks with MikTeX on a Windows 11 PRO
machine. Can anyone point me to a SIMPLE approach to accomplish
what I want to do in LaTeX. I would consider my typesetting
literacy nil if I was reduced to doing this task using
LibreOffice, a nightmare inspired my M$ kludge.
My problem is I want to draw a LAN diagram that distinguish components
and cables that are 2.5Gb/s-capable from those of slower speed. A simple
way to do so would be to use two colors, one associated with high speed
and the other with lower speeds. I only want to color box frames and
lines. I've consulted "The LaTeX Companion", "A Guide to LaTeX 2e", and
"The LaTeX Graphics Companion" all of which I have at home. Even the Graphics Companion virtually restricts itself to coloring text. All
On 2025-10-10, Jeff Barnett <jbb@notatt.com> wrote:
My problem is I want to draw a LAN diagram that distinguish components
and cables that are 2.5Gb/s-capable from those of slower speed. A simple
way to do so would be to use two colors, one associated with high speed
and the other with lower speeds. I only want to color box frames and
lines. I've consulted "The LaTeX Companion", "A Guide to LaTeX 2e", and
"The LaTeX Graphics Companion" all of which I have at home. Even the
Graphics Companion virtually restricts itself to coloring text. All
Really? The xcolor package makes using colours easier. Then the \color command changes the colour of all type, text and lines.
Can you give a minimal example of what you want to do, and why \color
doesn't do it?
\put(...){\framebox(...){...}} how do I color the outline of the box generated here?
\put(...){\line(...)(..)} how do I color this line?
On 2025-10-10, Jeff Barnett <jbb@notatt.com> wrote:
\put(...){\framebox(...){...}} how do I color the outline of the box
generated here?
\put(...){\line(...)(..)} how do I color this line?
A minimum example is a complete file that compiles. I don't know what environment you're using.
As I said earlier I am looking for a SIMPLE way to do what I want in
LaTeX. I also briefly described wanting to two-color box frames and
lines (components and cables in my LAN) to distinguish things 2.5Gb/s capable from those that were not. Those fragments above were meant to suggestion normal LaTeX drawing primitives for simple box and line diagrams.
On 2025-10-11, Jeff Barnett <jbb@notatt.com> wrote:If I had an example I probably wouldn't of written. I was hoping that
As I said earlier I am looking for a SIMPLE way to do what I want in
LaTeX. I also briefly described wanting to two-color box frames and
lines (components and cables in my LAN) to distinguish things 2.5Gb/s
capable from those that were not. Those fragments above were meant to
suggestion normal LaTeX drawing primitives for simple box and line diagrams.
So provide a minimal *working* example of a file that demonstrates
what you want to do and why the obvious thing (putting \color in the appropriate places) doesn't work.
The fragments you provide are not complete LaTeX, and therefore
somebody trying to help you has to fill in the blanks with something
that works. If you want other people to spend time helping you, make
it as easy as possible for them to understand.
For example,
{\color{red}\framebox(2cm,2cm){\color{black}text}}
{\color{blue} \line....}
is the obvious thing to do what you say you want, but presumably you want something other than what it does, since you're not happy with that.
On 10/11/2025 2:18 PM, Julian Bradfield wrote:
{\color{red}\framebox(2cm,2cm){\color{black}text}}
{\color{blue} \line....}
If I had an example I probably wouldn't of written. I was hoping that
On 2025-10-12, Jeff Barnett <jbb@notatt.com> wrote:
On 10/11/2025 2:18 PM, Julian Bradfield wrote:
{\color{red}\framebox(2cm,2cm){\color{black}text}}
{\color{blue} \line....}
Look at the subject on every message in this thread.If I had an example I probably wouldn't of written. I was hoping that
But you must have an example of what you want to produce, on paper or
in your head.
If the above is not a solution, what do you want?
Are you actually asking a completely separate question, not about
color at all? I.e. how to draw LAN diagrams easily and neatly?
The general answer to how to draw things these days is TikZ.
On 10/12/2025 6:17 AM, Julian Bradfield wrote:
{\color{red}\framebox(2cm,2cm){\color{black}text}}
{\color{blue} \line....}
Look at the example above (supplied by you?). In specifying a fame box, there are three colors to consider: frame, interior background,
contents. Is there a picture environment that has a sensible/simple way
to specify the various combinations?
It was my assumption that ANYONE with the background and interest in responding to my original message would know exactly and precisely what
sort of truly trivial (graphics-wise) two color diagram I wanted to
draw. It seems that I was wrong.
On 10/11/2025 2:18 PM, Julian Bradfield wrote:
On 2025-10-11, Jeff Barnett <jbb@notatt.com> wrote:If I had an example I probably wouldn't of written. I was hoping that someone knowledgeable in these things would direct me either to a set of well thought out examples or, better yet, a package that brought
As I said earlier I am looking for a SIMPLE way to do what I want in
LaTeX. I also briefly described wanting to two-color box frames and
lines (components and cables in my LAN) to distinguish things 2.5Gb/s
capable from those that were not. Those fragments above were meant to
suggestion normal LaTeX drawing primitives for simple box and line
diagrams.
So provide a minimal *working* example of a file that demonstrates
what you want to do and why the obvious thing (putting \color in the
appropriate places) doesn't work.
The fragments you provide are not complete LaTeX, and therefore
somebody trying to help you has to fill in the blanks with something
that works. If you want other people to spend time helping you, make
it as easy as possible for them to understand.
For example,
{\color{red}\framebox(2cm,2cm){\color{black}text}}
{\color{blue} \line....}
is the obvious thing to do what you say you want, but presumably you want
something other than what it does, since you're not happy with that.
together a bunch of orthogonal considerations. I do not have examples
other than utter kludges that beg for someone with the appropriate background to bundle the primitives in an intelligent an clever way.
Given he responses here, I guess that either it has happened yet or it
has been a well kept secret.