{
  "slug": "latex-table",
  "name": "gizza-ai/latex-table",
  "version": "0.1.0",
  "title": "CSV to LaTeX Table — tabular & booktabs generator — gizza.ai",
  "description": "Convert CSV or TSV data into a LaTeX tabular environment (booktabs, grid, or plain), in your browser. Free, private, no upload.",
  "tags": [
    "csv to latex",
    "latex table generator",
    "tsv to latex",
    "booktabs table",
    "latex tabular"
  ],
  "category": "documents",
  "urls": {
    "page": "https://gizza.ai/tools/latex-table/",
    "markdown": "https://gizza.ai/tools/latex-table/index.md",
    "descriptor": "https://gizza.ai/tools/latex-table/tool.json",
    "deep_link_example": "https://gizza.ai/tools/latex-table/?data=name%2Cscore%0AAda%2C95%0ABo%2C88&delimiter=auto&style=booktabs&alignment=l&header=true&escape=true&bold_header=true&caption=Results&label=tab%3Aresults"
  },
  "cli": "gizza tool latex-table \"name,score\nAda,95\nBo,88\"",
  "tool": {
    "description": "Convert CSV or TSV data into a LaTeX tabular environment. style=booktabs (default) uses \\toprule/\\midrule/\\bottomrule (needs \\usepackage{booktabs}); style=grid uses vertical bars and \\hline; style=plain has no rules. alignment is a single l/c/r for all columns or a per-column string like 'lcr'. header=true (default) separates the first row with a rule; escape=true (default) escapes LaTeX special characters; bold_header wraps header cells in \\textbf{}. Set caption and/or label to wrap the tabular in a centered table float. delimiter is 'auto' (detect), a single char, or comma/tab/semicolon/pipe. Runs locally.",
    "parameters": {
      "additionalProperties": false,
      "properties": {
        "alignment": {
          "default": "l",
          "description": "Column alignment: a single l/c/r applied to all columns, or a per-column string like 'lcr'.",
          "type": "string"
        },
        "bold_header": {
          "default": false,
          "description": "Wrap header cells in \\textbf{} (default false).",
          "type": "boolean"
        },
        "caption": {
          "default": "",
          "description": "Optional caption; if set (or label is), the tabular is wrapped in a centered table float.",
          "type": "string"
        },
        "data": {
          "description": "The CSV or TSV text to convert.",
          "type": "string"
        },
        "delimiter": {
          "default": "auto",
          "description": "Field separator: 'auto' (detect CSV vs TSV), a single char, or comma/tab/semicolon/pipe. Default 'auto'.",
          "type": "string"
        },
        "escape": {
          "default": true,
          "description": "Escape LaTeX special characters (& % $ # _ { } ~ ^ \\) in cells (default true). Turn off to keep raw LaTeX.",
          "type": "boolean"
        },
        "header": {
          "default": true,
          "description": "Treat the first row as the header (default true); a \\midrule/\\hline separates it from the body.",
          "type": "boolean"
        },
        "label": {
          "default": "",
          "description": "Optional \\label for cross-references; if set (or caption is), the tabular is wrapped in a table float.",
          "type": "string"
        },
        "style": {
          "default": "booktabs",
          "description": "Rule style: booktabs (\\toprule/\\midrule/\\bottomrule, needs \\usepackage{booktabs}), grid (vertical bars + \\hline), or plain (no rules).",
          "enum": [
            "booktabs",
            "grid",
            "plain"
          ],
          "type": "string"
        }
      },
      "required": [
        "data"
      ],
      "type": "object"
    }
  }
}