Skip to main content

Stack Exchange Network

Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

tblr row to row distance when using \cline

it seems that when using \cline or \SetHline the rows below are displaced downward by the value of the horizontal line inserted. I have three tables in three columns in a beamer slide and at the same height. I tried to compensate with rowsep the row to row distance in one of the other tables but it does not seem to do what i want. I just want to have the row to row distance equal for all tables, despite using any \cline or else in some tables.

\documentclass[aspectratio=169,t]{beamer}

\mode<presentation>
\usetheme{moloch}
\usepackage{tabularray,blindtext}

\newcommand{\titles}[1]{{\bfseries #1\par\vspace{.6em}}}

\setlength{\parindent}{0pt}

\begin{document}
\begin{frame}{aaa}
  \begin{columns}
    \begin{column}{.3\pagewidth}
      \titles{first column}
      \begin{tblr}{colspec={lll},rowsep={2pt}}
        a & b & c\\
        d & e & f\\
        g & h & i\\
        j & k & l\\
        m & n & o\\
      \end{tblr}
      
    \end{column}
    \newlength\mytmp
    \setlength{\mytmp}{6em}
    \begin{column}{.3\pagewidth}
      \titles{second column}
      \begin{tblr}{lll}
        a & b & c\\
        \cline[2pt,blue]{-}
        d & e & f\\
        g & h & i\\
      \end{tblr}

    \end{column}
    
    \begin{column}{.3\pagewidth}
      \titles{third column}
      \begin{tblr}{lll}
        a & b & c\\
        d & e & f\\
      \end{tblr}
    \end{column}
  \end{columns}
  
\end{frame}
\end{document}

Answer*

Cancel

Morty Proxy This is a proxified and sanitized view of the page, visit original site.