Skip to content

Border for specific cell with latex/pdf output #11

@somelinguist

Description

@somelinguist

Hi,

Is there a way to specify that a specific cell have a border?

Use case: I have a table with two header rows, and the first header row has a cell that spans two cells. I'd like to put a border/rule just below the cell spanning two columns. Something that would look like this:

Screenshot 2024-09-13 at 10 16 06 AM

For HTML output, it's sufficient just to put []{colspan=2 style="border-bottom: 1px"} at the beginning of the list item for the cell. But for latex, it gets stripped since it doesn't support CSS.

Is there any way to accomplish this?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions