1.10.8 Horizontal Marging

\AllColMargins Return a binary string in which 1 represents a column, and 0 represents a ‘@’. \ColMargins retrieves the zeros before the 1’s that represent the current and following 1’s.

<..cell h-margins property..>
 \OOstyles{%
    fo:padding-left="0\ifnum \Left:Marg >0 .17\fi cm"  5pt 
   fo:padding-right="0\ifnum \Right:Marg>0 .17\fi cm"
 }%
-_-_-

<..extract cell margins info..>
 \ColMargins
-_-_-

<..latex tabular..>+
 \def\ColMargins{\tmp:cnt=\HCol\relax
    \expandafter\nosp:hbr\AllColMargins 1//}
 \def\nosp:hbr#11#2//{\ifnum \tmp:cnt>1 \advance\tmp:cnt by -1
    \nosp:hbr#2//\else\nosp:gt#11#2//\fi}
 \def\nosp:gt#11#21#3//{%
    \def\Left:Marg{#1}\def\Right:Marg{#2}%
    \edef\Left:Marg{\ifx \Left:Marg\empty 1\else 0\fi}%
    \edef\Right:Marg{\ifx \Right:Marg\empty 1\else 0\fi}}
 
 
 <.configuring @().>
-_-_-

<..visit start of pattern..>+
 \let\AllColMargins=\empty
-_-_-

<..visit a non-@ entry..>+
 \xdef\AllColMargins{\AllColMargins 1}%
-_-_-

<..visit a @ entry..>
 \xdef\AllColMargins{\AllColMargins 0}%
-_-_-

<..save cols info..>+
 \PushStack\Col:Marg\AllColMargins
-_-_-

<..recall cols info..>+
 \PopStack\Col:Marg\AllColMargins
-_-_-