To create a diagonal line inside a merged cell #461
Yarakashi-Kikohshi
started this conversation in
Q&A
Replies: 1 comment 1 reply
-
See a general-purpose attempt I just posted in #387 (comment). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to draw only diagonal lines using
\diagbox
.When drawing a diagonal line between merged cells, it is not possible to draw a diagonal line from the upper left corner to the lower right corner as shown below. I know that
\diagbox
can be adjusted by imposing multiple options, but I couldn't figure out how to get the desired result.I created the following as a simple example.
I am expecting an option specification that satisfies the following requirements.
\diagbox
co = 1
are automatically adjustedEdit
I found that
height
requires two lines ofabovesep
andbelowsep
specifications. Therefore, modify it as follows.When I look at some site pages, I see a statement saying that
width
should be\linewidth
. However, if you actually specifywidth = \linewidth
, the column width will increase.code
In addition, if you check the column width of 2nd column on the PDF without
\diagbox
, you can see that it is 55pt, so I actually specifiedwidth = 55pt
. (I didn't expect this kind of specification method, but I tried to see if it was possible.)code
Also, considering the values of
leftsep
/rightsep
, I also tried specifying the following:code
Beta Was this translation helpful? Give feedback.
All reactions