aboutsummaryrefslogtreecommitdiffstats
path: root/doc/expert/pre_hmir
diff options
context:
space:
mode:
Diffstat (limited to 'doc/expert/pre_hmir')
-rw-r--r--doc/expert/pre_hmir30
1 files changed, 30 insertions, 0 deletions
diff --git a/doc/expert/pre_hmir b/doc/expert/pre_hmir
new file mode 100644
index 0000000..147589f
--- /dev/null
+++ b/doc/expert/pre_hmir
@@ -0,0 +1,30 @@
+@Section
+ @Title { "@HMirror" and "@VMirror" }
+ @Tag { hmirror }
+@Begin
+@PP
+hmirro. @Index { @@HMirror symbol }
+vmirro. @Index { @@VMirror symbol }
+mirroring @Index { Mirroring an object }
+reflecting @Index { Reflecting an object }
+@@HMirror and @@VMirror cause their right parameter to be reflected,
+either horizontally or vertically. For example,
+@ID @Code {
+"@HMirror AMBULANCE"
+}
+has result
+@ID @HMirror AMBULANCE
+and
+@ID @Code {
+"@VMirror AMBULANCE"
+}
+has result
+@ID @VMirror AMBULANCE
+The parameters of these symbols may be arbitrary Lout objects as usual.
+Both symbols have both a @@OneCol and a @@OneRow effect.
+@PP
+In each case the reflection is about the mark of the object (that is,
+the reflected objects have the same marks as the originals), so that,
+for example, when used within a line of text the results are
+@HMirror AMBULANCE and @VMirror AMBULANCE respectively.
+@End @Section