summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cals/test/llt/test_30_all.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/cals/test/llt/test_30_all.tex
Initial commit
Diffstat (limited to 'macros/latex/contrib/cals/test/llt/test_30_all.tex')
-rw-r--r--macros/latex/contrib/cals/test/llt/test_30_all.tex26
1 files changed, 26 insertions, 0 deletions
diff --git a/macros/latex/contrib/cals/test/llt/test_30_all.tex b/macros/latex/contrib/cals/test/llt/test_30_all.tex
new file mode 100644
index 0000000000..f683984d24
--- /dev/null
+++ b/macros/latex/contrib/cals/test/llt/test_30_all.tex
@@ -0,0 +1,26 @@
+\def\lst{{\multiply \cals@borderwidthL by 3\relax}{}{}}
+\llt@desnoc{\lst}
+\show\lst
+\show\llt@car
+\def\lst{{item1}{item2}{item3}}
+\llt@desnoc{\lst}
+\show\lst
+\show\llt@car
+
+\def\aaa{aaa}
+\def\bbb{bbb}
+\def\ccc{ccc}
+\def\lst{} % empty list
+\show\lst
+\llt@cons\bbb\lst % \lst -> "{bbb}"
+\show\lst
+\llt@snoc\lst\ccc % \lst -> "{bbb}{ccc}"
+\show\lst
+\llt@cons\aaa\lst % \lst -> "{aaa}{bbb}{ccc}"
+\show\lst
+\llt@decons\lst % \llt@car -> "aaa", \lst -> "{bbb}{ccc}"
+\show\llt@car
+\show\lst
+\llt@rot\lst % \llt@car -> "bbb", \lst -> "{ccc}{bbb}"
+\show\llt@car
+\show\lst