Example:

```
\begin{tabular}{|c|c|}
\hline
1 & 2 \\
\cline{1-1}\cline{2-2}
3 & 4 \\
\hline
\end{tabular}

```

I want `cline` to cover only e.g. half of a cell of a table. Or maybe I can specify an offset when the line should start (e.g. to skip the first cm).

Is this easily possible?

(One workaround could be to introduce another column, and then use `multicolumn` everywhere. But this would be somewhat annoying. Also not sure how I could control the width of the columns then. [This](https://tex.stackexchange.com/questions/356667/width-of-columns-in-a-table-with-only-multicolumns) might be related.)

([This](https://tex.stackexchange.com/questions/298300/how-to-have-row-lines-in-table-span-only-some-given-percent-of-each-column) looks very related. I did not found this via Google. Maybe this can be marked as duplicate. Although the solution doesn't quite work for me (I get some errors), and I don't really understand it. I thought it is still valuable to post for other people who would use my Google search terms, to find this.)