summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/cals/test/regression/test_065_alignment.tex
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/cals/test/regression/test_065_alignment.tex')
-rw-r--r--macros/latex/contrib/cals/test/regression/test_065_alignment.tex25
1 files changed, 25 insertions, 0 deletions
diff --git a/macros/latex/contrib/cals/test/regression/test_065_alignment.tex b/macros/latex/contrib/cals/test/regression/test_065_alignment.tex
new file mode 100644
index 0000000000..41f0523965
--- /dev/null
+++ b/macros/latex/contrib/cals/test/regression/test_065_alignment.tex
@@ -0,0 +1,25 @@
+% Alignment outside a table should not affect alignment inside tanle
+\def\tbl{%
+\begin{calstable}
+\colwidths{{100pt}}
+\def\cals@paddingT{10pt}
+\def\cals@paddingR{10pt}
+\def\cals@paddingB{10pt}
+\def\cals@paddingL{10pt}
+\brow
+\cell{\noindent\vbox to 20pt{}}
+\ht\cals@current@row=40pt
+\showbox\cals@current@row
+\erow
+\end{calstable}
+}
+
+\tbl
+
+\begin{center}
+\tbl
+\end{center}
+
+\begin{flushright}
+\tbl
+\end{flushright}