~mdw
/
sod
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23e44cb
)
doc/sod.sty: Make `@->' typeset a dereferencing arrow.
author
Mark Wooding
<mdw@distorted.org.uk>
Thu, 17 Sep 2015 17:22:24 +0000
(18:22 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Thu, 17 Sep 2015 17:22:24 +0000
(18:22 +0100)
doc/sod.sty
patch
|
blob
|
blame
|
history
diff --git
a/doc/sod.sty
b/doc/sod.sty
index
7a52605
..
2894feb
100644
(file)
--- a/
doc/sod.sty
+++ b/
doc/sod.sty
@@
-103,6
+103,7
@@
\atdef !{\m@maybe|\@scripts}
\def\returns{\m@maybe\longrightarrow\m@maybe@end\hspace{0.5em}\ignorespaces}
\atdef >{\leavevmode\unskip\hspace{0.5em}\returns}
+\atdef -#1{\if>#1{\ensuremath\rightarrow}\fi}
%% Comment setting.
\atdef ;#1\\{\normalfont\itshape;#1\\}