Could you please give some directions how to create the following figure in latex? It is the situation of describing a two parties protocol centered in a box.
It is like a 3X4 table but i have difficulties with the alignment. Tikz is the only way for drawing this?
[Tex/LaTex] How to create protocol flows inside a centred box
floatsframed
Best Answer
A simple way to add new float or caption types ("Scheme" in this case) is the
newfloat
package which is part of thecaption
bundle. There is also thefloat
package which also provides theH
(for: place really Here!). The box can be produced by using\fbox{\begin{minipage}{<width>}..\end{minipage}}
or, more simpler, using theadjustbox
package.The actual content seems to be best made using a
tabular
, if you want the same format as in the PDFs.Or, using
adjustbox
v0.9 from 2012/05/16 (available on CTAN and on Bitbucket.org):Change the
nofloat
tofloat
if you want the scheme to float. You can of course create a new environment for this if you need it more often.Don't call it
scheme
because that environment is used internally.