Skip to content

add empty dash style - #676

Open
samcarter wants to merge 1 commit into
TeXackers:mainfrom
samcarter:main
Open

add empty dash style#676
samcarter wants to merge 1 commit into
TeXackers:mainfrom
samcarter:main

Conversation

@samcarter

Copy link
Copy Markdown

Instead of drawing many partial lines, it can be sometimes more convenient to first draw all lines and then remove specific segments.

With the existing tools, one can do this by either setting the line width to 0pt (can cause some artifacts in some pdf viewers) or draw the lines in the background colour (problematic with background images etc.)

Personally, I'm usually using a new empty dash style for this, see e.g. https://topanswers.xyz/tex?q=8169#a7767 and thought that might be useful for other users, too.

Here a short test document:

\documentclass[border = 3pt]{standalone}

\usepackage{tabularray}

\begin{document}

\begin{tblr}{
  hlines,vlines,
  vline{1} = {1}{empty},
  hline{1} = {1}{empty}
}
  x & x & x\\
  x & x & x\\
  x & x & x\\
\end{tblr}

\end{document}
document-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant