polylux icon indicating copy to clipboard operation
polylux copied to clipboard

Table outline is not hide when using uncover

Open taooceros opened this issue 2 years ago • 6 comments

#slide(title: [k-distinctness], theme-variant: "north")[
  #set text(size: 18pt)
  
  == Problem Description

  - Given an input $x in [q]^n$, for some $q in "poly"(n)$, decide if there exist distinct $a_1, ..., a_k in [n]$ such that $x_(a_1) = thick dots.c thick = x_a_k$.
  - When $k=2$, it is the collision problem we discuss in class.
  
  
  #uncover(2)[
    == Current Results

    #table(
      columns: (auto, auto),
      inset: 15pt,
      [=== Query Complexity], [=== Time Complexity],
      [$O(n^(k\/(k+1)))$ [2003]], [$tilde(O)(n^(k\/(k+1)))$ [2003]],
      [$O(n^(3/4-1/4(2^k-1)))$], [$tilde(O)(n^(5\/7)) (k=3)$; $tilde(O)(n^((k-1)\/k)) (k>3)$ [2013 #super("*")]],
      [$O(n^(3/4-1/4(2^k-1)))$], [$tilde(O)(n^(3/4-1/4(2^k-1)))$ [2023]]
    )
  ]
]

image

taooceros avatar Apr 28 '23 20:04 taooceros

That looks like a bug in Typst's hide function. There might already exist an issue in their repo, if not, would be great if you open one!

andreasKroepelin avatar Apr 28 '23 21:04 andreasKroepelin

Nasty!

In the meantime, maybe you could try with tablex ? https://github.com/PgBiel/typst-tablex

drupol avatar Apr 29 '23 07:04 drupol

I confirm, it works with tablex !

#import "tablex.typ": *

= table
#hide(table(columns: 2)[a][b][c][d])

= tablex
#hide(tablex(columns: 2)[a][b][c][d])

drupol avatar Apr 29 '23 07:04 drupol

Ah Thanks!

taooceros avatar Apr 29 '23 20:04 taooceros

Could be worth it checking if this works with the current Typst version.

EDIT: ... aaaand it still does not work. So keeping this open as a reminder and for others landing here. There is just not much we can do about that here.

andreasKroepelin avatar Jul 27 '23 13:07 andreasKroepelin

Tracking https://github.com/typst/typst/issues/2040

ntjess avatar Oct 10 '23 16:10 ntjess