JDMCreator / LaTeXTableEditor

readme
MIT License
139 stars 13 forks source link

Merged cells with several lines #41

Open page200 opened 3 years ago

page200 commented 3 years ago

The following table looks good in the visual editor but bad in LaTeX:

{
    "options": {
        "latex-whitespace": false,
        "latex-border": true,
        "latex-command": false,
        "latex-split": false,
        "latex-landscape": false,
        "latex-float": true,
        "fit-table": "none",
        "latex-hhline": true,
        "latex-hhline-hash": false,
        "latex-tabu": false,
        "latex-color": false,
        "latex-microfix-alignment": false,
        "tex-escape": true,
        "tex-macro": true,
        "html-indent": "tab",
        "html-tbody": false,
        "html-remove-tag": false,
        "csv-separator": ",",
        "bbcode-header": "1",
        "pretext-indent": "two",
        "context-split": false,
        "context-landscape": false,
        "context-float": true,
        "context-indent": "two",
        "wml-indent": "four"
    },
    "autoBooktabs": false,
    "caption": {
        "caption": "",
        "numbered": false,
        "label": ""
    },
    "cells": [
        [
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "html": "1",
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "html": "test<br>test<br>test<br>",
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);",
                "rowSpan": 2
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            }
        ],
        [
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "html": "2",
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            }
        ],
        [
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "html": "foo<br>",
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            }
        ],
        [
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            },
            {
                "dataset": {
                    "borderTop": "normal",
                    "borderLeft": "normal",
                    "borderRight": "normal",
                    "borderBottom": "normal"
                },
                "css": "border-width: 1px; border-style: solid; border-color: rgb(0, 0, 0);"
            }
        ]
    ],
    "version": "2.1"
}