diff --git a/doc/seq-var.xml b/doc/seq-var.xml
index 0278ce3..fb383a9 100644
--- a/doc/seq-var.xml
+++ b/doc/seq-var.xml
@@ -24,5 +24,6 @@ a drawing.
| dashwid | 0.05 | Interval for dashed lines |
| maxpswid | 11 | Maximum width of picture |
| maxpsht | 11 | Maximum height of picture |
+| underline | 1 | Underline the name of objects |
diff --git a/doc/ver.xml b/doc/ver.xml
index 81b81b1..fef03b2 100644
--- a/doc/ver.xml
+++ b/doc/ver.xml
@@ -4,6 +4,9 @@
- Version 5.3 Under development
-
+
+- Sequence diagrams provide an option to specify whether objects are
+underlined or not.
- Version 5.2 2008-12-03
-
diff --git a/sequence.pic b/sequence.pic
index 91ec8da..35e443e 100644
--- a/sequence.pic
+++ b/sequence.pic
@@ -34,13 +34,14 @@ define comment_default_move {up 0.25 right 0.25};
comment_default_ht=0.5;
# Comment width
comment_default_wid=1;
-
+# Underline object name
+underline=1;
# Create a new object(name,label)
define object {
$1: box $2; move;
# Could also underline text with \mk\ul\ul\ul...\rt
- {
+ if (underline) then {
line from $1.w + (.1, -.07) to $1.e + (-.1, -.07);
}
move to $1.e;