Questions tagged [msc]
msc is a PStricks-based package to draw Message Sequence Charts (MSC). MSC is visual language for the description of the interaction between different components of a system.
21
questions
1
vote
1
answer
25
views
TikZ node inside `msccomment` throws `doesn't match its definition` error
I have a protocol in msc where each message has the step (1, 2, 3, etc) next to it. This is done using a \msccomment command.
Example: \msccomment[draw=none, msccomment distance=0cm, side=left]{12}{a}....
2
votes
1
answer
46
views
Bytefield inside an msc diagram
I'm trying to add a bytefield inside an msc diagram. Here's a MWE:
\documentclass{article}
\usepackage{bytefield}
\usepackage{msc}
\begin{document}
\begin{bytefield}[bitwidth=1.5em, bitheight=1.5em]{...
0
votes
1
answer
1k
views
Export/Convert a standalone figure to image in Overleaf
I understand that this answer : https://tex.stackexchange.com/a/11880, is quite comprehensive and brilliant in its own right
but i want to export a .tex file as an image from Overleaf
is there any ...
0
votes
1
answer
60
views
How to center a msc diagram
I am drawing a msc diagram on Overleaf, but it keeps leaning to the right instead of being centered
I intend to save this diagram to an image file, for later use in another latex document where i ...
1
vote
1
answer
67
views
How to enter mathematical symbols in a msc diagram?
I am trying to enter the set notation symbol in the instance of a msc diagram,
but it whenever i do
the entire msc diagram disappears in the overleaf
I am using IEEE Systems Journal LaTeX Template
...
2
votes
1
answer
150
views
msc + xelatex = 🗲
Feeding
\documentclass{article}
\usepackage{msc}
\begin{document}
\begin{msc}{}
\end{msc}
\end{document}
to xelatex results in
Error: /invalidfileaccess in --run--
Operand stack:
(/usr/share/...
0
votes
1
answer
184
views
How to label an msc diagram
Maybe this is a rudimentary question, but I quickly skimmed through the msc (message sequencing charts) documentation and there's no mention of labeling the msc diagram itself.
I want to label an msc ...
1
vote
1
answer
113
views
Compilation error with messages to self using package msc
I'm creating a sequence diagram using the development sty of msc but I'm getting an Undefined control sequence error:
! Undefined control sequence.
\GenericError ...
...
2
votes
1
answer
151
views
Represent blocked messages with msc package
I am using the msc package to include protocols in a document.
I would like to have something like the following sequence chart,
but with m1 stopped before reaching B.
I did not find any related ...
2
votes
1
answer
200
views
Auto linebreak using action in MSC
I am trying to draw a message sequence chart using LaTex. Currently I have some problems with a long action. How can I make it to linebreak automatically?
This is the part of the MSC (before asking, ...
1
vote
1
answer
303
views
Need multiple lines in \mscomment
I am using the MSC package for sequence diagrams. I need to make a multiple-lines right-side comment. I tried to add \\ but this result in error. This is the minimal script and you need the package ...
0
votes
1
answer
173
views
Simple procedure to put this in latex
I am trying to include the following in one of my articles. I tried to do this with msc and tikz but did not get good result. I am looking for some simple solution since the figure is very simple. ...
1
vote
2
answers
277
views
Hide frame msc package
I would like to hide/remove the frame around my message sequence charts I create using the msc package. The code for my chart:
\documentclass{article}
\usepackage{msc}
\begin{document}
\begin{msc}{...
1
vote
1
answer
656
views
How to set the width of a message sequence chart (msc)
I want to draw a message sequence chart (msc) with latex. The problem is now that the message is too long to fit on the arrow, so how can I set the width of a message sequence chart? Below the lines ...
2
votes
1
answer
223
views
How to change the length and color of lost message in msc package?
I use lost message in msc diagram. I need to control the length and color of the lost message line as shown below. I looked at the manual, it suggests using \selfmesswidth in the msc definition. I ...
1
vote
1
answer
312
views
How to split lines in msc message
I have long messages in an msc diagram. I thought of splitting the message into two lines so they do not overlap. I tried parbox but that resulted in an error. How can I split text line in an msc ...
2
votes
1
answer
265
views
Generate PDF using xelatex engine
I want to write UML code using msc package.
So I write the code like below:
% arara: xelatex
% arara: clean1
% arara: clean: { files: [ Commands.aux , .main.ptd , TP.aux] }
\documentclass{article}
\...
3
votes
1
answer
255
views
How to edit lost messages in msc protocl diagram
I am using the development version of the msc package to draw a protocol message sequence diagram. I have the following diagram.
I want the lost messages to arrive in the next level (not the same ...
2
votes
1
answer
367
views
How to get rid of "msc" text on image using LaTeX and Tikz (PsTricks) package?
I have a tex code, where I try to generate some simple flows. I compile it like this:
latex toc.tex
dvips toc.dvi
pstopdf toc.ps
The output I got:
And I would like to get rid of the msc IJS_{NK, ...
3
votes
1
answer
286
views
beamerarticle breaks the msc package
For some reason beamerarticle (but not plain beamer) breaks the \action macro of the msc package (the development version using TikZ instead of PStricks) in the following way:
The figure should look ...
1
vote
2
answers
58
views
Set \labeldist for 1 message
I'm drawing a message exchange sequence with the msc package, and I have some problems with the \labeldist on the messages.
Here is the MWE :
\documentclass[border=2mm]{standalone}
\usepackage{...