# A gt table can contain indentation in the stub

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"num\">num</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"char\">char</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"date\">date</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"time\">time</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"datetime\">datetime</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"group\">group</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr><td headers=\"stub_1_1 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">row_1</td>\n<td headers=\"stub_1_1 num\" class=\"gt_row gt_right\">1.111e-01</td>\n<td headers=\"stub_1_1 char\" class=\"gt_row gt_left\">apricot</td>\n<td headers=\"stub_1_1 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"stub_1_1 date\" class=\"gt_row gt_right\">2015-01-15</td>\n<td headers=\"stub_1_1 time\" class=\"gt_row gt_right\">13:35</td>\n<td headers=\"stub_1_1 datetime\" class=\"gt_row gt_right\">2018-01-01 02:22</td>\n<td headers=\"stub_1_1 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"stub_1_1 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><td headers=\"stub_1_2 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">row_2</td>\n<td headers=\"stub_1_2 num\" class=\"gt_row gt_right\">2.222e+00</td>\n<td headers=\"stub_1_2 char\" class=\"gt_row gt_left\">banana</td>\n<td headers=\"stub_1_2 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"stub_1_2 date\" class=\"gt_row gt_right\">2015-02-15</td>\n<td headers=\"stub_1_2 time\" class=\"gt_row gt_right\">14:40</td>\n<td headers=\"stub_1_2 datetime\" class=\"gt_row gt_right\">2018-02-02 14:33</td>\n<td headers=\"stub_1_2 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"stub_1_2 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><td headers=\"stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">row_3</td>\n<td headers=\"stub_1_3 num\" class=\"gt_row gt_right\">3.333e+01</td>\n<td headers=\"stub_1_3 char\" class=\"gt_row gt_left\">coconut</td>\n<td headers=\"stub_1_3 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"stub_1_3 date\" class=\"gt_row gt_right\">2015-03-15</td>\n<td headers=\"stub_1_3 time\" class=\"gt_row gt_right\">15:45</td>\n<td headers=\"stub_1_3 datetime\" class=\"gt_row gt_right\">2018-03-03 03:44</td>\n<td headers=\"stub_1_3 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"stub_1_3 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><th id=\"stub_1_4\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_4</th>\n<td headers=\"stub_1_4 num\" class=\"gt_row gt_right\">4.444e+02</td>\n<td headers=\"stub_1_4 char\" class=\"gt_row gt_left\">durian</td>\n<td headers=\"stub_1_4 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"stub_1_4 date\" class=\"gt_row gt_right\">2015-04-15</td>\n<td headers=\"stub_1_4 time\" class=\"gt_row gt_right\">16:50</td>\n<td headers=\"stub_1_4 datetime\" class=\"gt_row gt_right\">2018-04-04 15:55</td>\n<td headers=\"stub_1_4 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"stub_1_4 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><th id=\"stub_1_5\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_5</th>\n<td headers=\"stub_1_5 num\" class=\"gt_row gt_right\">5.550e+03</td>\n<td headers=\"stub_1_5 char\" class=\"gt_row gt_left\">NA</td>\n<td headers=\"stub_1_5 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"stub_1_5 date\" class=\"gt_row gt_right\">2015-05-15</td>\n<td headers=\"stub_1_5 time\" class=\"gt_row gt_right\">17:55</td>\n<td headers=\"stub_1_5 datetime\" class=\"gt_row gt_right\">2018-05-05 04:00</td>\n<td headers=\"stub_1_5 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"stub_1_5 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n    <tr><th id=\"stub_1_6\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_6</th>\n<td headers=\"stub_1_6 num\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_6 char\" class=\"gt_row gt_left\">fig</td>\n<td headers=\"stub_1_6 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"stub_1_6 date\" class=\"gt_row gt_right\">2015-06-15</td>\n<td headers=\"stub_1_6 time\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_6 datetime\" class=\"gt_row gt_right\">2018-06-06 16:11</td>\n<td headers=\"stub_1_6 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"stub_1_6 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n    <tr><th id=\"stub_1_7\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_7</th>\n<td headers=\"stub_1_7 num\" class=\"gt_row gt_right\">7.770e+05</td>\n<td headers=\"stub_1_7 char\" class=\"gt_row gt_left\">grapefruit</td>\n<td headers=\"stub_1_7 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"stub_1_7 date\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_7 time\" class=\"gt_row gt_right\">19:10</td>\n<td headers=\"stub_1_7 datetime\" class=\"gt_row gt_right\">2018-07-07 05:22</td>\n<td headers=\"stub_1_7 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_7 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n    <tr><th id=\"stub_1_8\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_8</th>\n<td headers=\"stub_1_8 num\" class=\"gt_row gt_right\">8.880e+06</td>\n<td headers=\"stub_1_8 char\" class=\"gt_row gt_left\">honeydew</td>\n<td headers=\"stub_1_8 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"stub_1_8 date\" class=\"gt_row gt_right\">2015-08-15</td>\n<td headers=\"stub_1_8 time\" class=\"gt_row gt_right\">20:20</td>\n<td headers=\"stub_1_8 datetime\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_8 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"stub_1_8 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrrl}\n\\toprule\n & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} row\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \n\\hspace*{3.75pt} row\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \n\\hspace*{3.75pt} row\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \nrow\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \nrow\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

---

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"num\">num</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"char\">char</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"date\">date</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"time\">time</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"datetime\">datetime</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"group\">group</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr><th id=\"stub_1_1\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_1</th>\n<td headers=\"stub_1_1 num\" class=\"gt_row gt_right\">1.111e-01</td>\n<td headers=\"stub_1_1 char\" class=\"gt_row gt_left\">apricot</td>\n<td headers=\"stub_1_1 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"stub_1_1 date\" class=\"gt_row gt_right\">2015-01-15</td>\n<td headers=\"stub_1_1 time\" class=\"gt_row gt_right\">13:35</td>\n<td headers=\"stub_1_1 datetime\" class=\"gt_row gt_right\">2018-01-01 02:22</td>\n<td headers=\"stub_1_1 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"stub_1_1 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><th id=\"stub_1_2\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_2</th>\n<td headers=\"stub_1_2 num\" class=\"gt_row gt_right\">2.222e+00</td>\n<td headers=\"stub_1_2 char\" class=\"gt_row gt_left\">banana</td>\n<td headers=\"stub_1_2 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"stub_1_2 date\" class=\"gt_row gt_right\">2015-02-15</td>\n<td headers=\"stub_1_2 time\" class=\"gt_row gt_right\">14:40</td>\n<td headers=\"stub_1_2 datetime\" class=\"gt_row gt_right\">2018-02-02 14:33</td>\n<td headers=\"stub_1_2 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"stub_1_2 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><td headers=\"stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">row_3</td>\n<td headers=\"stub_1_3 num\" class=\"gt_row gt_right\">3.333e+01</td>\n<td headers=\"stub_1_3 char\" class=\"gt_row gt_left\">coconut</td>\n<td headers=\"stub_1_3 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"stub_1_3 date\" class=\"gt_row gt_right\">2015-03-15</td>\n<td headers=\"stub_1_3 time\" class=\"gt_row gt_right\">15:45</td>\n<td headers=\"stub_1_3 datetime\" class=\"gt_row gt_right\">2018-03-03 03:44</td>\n<td headers=\"stub_1_3 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"stub_1_3 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><td headers=\"stub_1_4 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">row_4</td>\n<td headers=\"stub_1_4 num\" class=\"gt_row gt_right\">4.444e+02</td>\n<td headers=\"stub_1_4 char\" class=\"gt_row gt_left\">durian</td>\n<td headers=\"stub_1_4 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"stub_1_4 date\" class=\"gt_row gt_right\">2015-04-15</td>\n<td headers=\"stub_1_4 time\" class=\"gt_row gt_right\">16:50</td>\n<td headers=\"stub_1_4 datetime\" class=\"gt_row gt_right\">2018-04-04 15:55</td>\n<td headers=\"stub_1_4 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"stub_1_4 group\" class=\"gt_row gt_left\">grp_a</td></tr>\n    <tr><td headers=\"stub_1_5 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">row_5</td>\n<td headers=\"stub_1_5 num\" class=\"gt_row gt_right\">5.550e+03</td>\n<td headers=\"stub_1_5 char\" class=\"gt_row gt_left\">NA</td>\n<td headers=\"stub_1_5 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"stub_1_5 date\" class=\"gt_row gt_right\">2015-05-15</td>\n<td headers=\"stub_1_5 time\" class=\"gt_row gt_right\">17:55</td>\n<td headers=\"stub_1_5 datetime\" class=\"gt_row gt_right\">2018-05-05 04:00</td>\n<td headers=\"stub_1_5 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"stub_1_5 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n    <tr><th id=\"stub_1_6\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_6</th>\n<td headers=\"stub_1_6 num\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_6 char\" class=\"gt_row gt_left\">fig</td>\n<td headers=\"stub_1_6 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"stub_1_6 date\" class=\"gt_row gt_right\">2015-06-15</td>\n<td headers=\"stub_1_6 time\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_6 datetime\" class=\"gt_row gt_right\">2018-06-06 16:11</td>\n<td headers=\"stub_1_6 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"stub_1_6 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n    <tr><th id=\"stub_1_7\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_7</th>\n<td headers=\"stub_1_7 num\" class=\"gt_row gt_right\">7.770e+05</td>\n<td headers=\"stub_1_7 char\" class=\"gt_row gt_left\">grapefruit</td>\n<td headers=\"stub_1_7 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"stub_1_7 date\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_7 time\" class=\"gt_row gt_right\">19:10</td>\n<td headers=\"stub_1_7 datetime\" class=\"gt_row gt_right\">2018-07-07 05:22</td>\n<td headers=\"stub_1_7 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_7 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n    <tr><th id=\"stub_1_8\" scope=\"row\" class=\"gt_row gt_left gt_stub\">row_8</th>\n<td headers=\"stub_1_8 num\" class=\"gt_row gt_right\">8.880e+06</td>\n<td headers=\"stub_1_8 char\" class=\"gt_row gt_left\">honeydew</td>\n<td headers=\"stub_1_8 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"stub_1_8 date\" class=\"gt_row gt_right\">2015-08-15</td>\n<td headers=\"stub_1_8 time\" class=\"gt_row gt_right\">20:20</td>\n<td headers=\"stub_1_8 datetime\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_8 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"stub_1_8 group\" class=\"gt_row gt_left\">grp_b</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|rlcrrrrl}\n\\toprule\n & num & char & fctr & date & time & datetime & currency & group \\\\ \n\\midrule\\addlinespace[2.5pt]\nrow\\_1 & 1.111e-01 & apricot & one & 2015-01-15 & 13:35 & 2018-01-01 02:22 & 49.950 & grp\\_a \\\\ \nrow\\_2 & 2.222e+00 & banana & two & 2015-02-15 & 14:40 & 2018-02-02 14:33 & 17.950 & grp\\_a \\\\ \n\\hspace*{7.5pt} row\\_3 & 3.333e+01 & coconut & three & 2015-03-15 & 15:45 & 2018-03-03 03:44 & 1.390 & grp\\_a \\\\ \n\\hspace*{7.5pt} row\\_4 & 4.444e+02 & durian & four & 2015-04-15 & 16:50 & 2018-04-04 15:55 & 65100.000 & grp\\_a \\\\ \n\\hspace*{7.5pt} row\\_5 & 5.550e+03 & NA & five & 2015-05-15 & 17:55 & 2018-05-05 04:00 & 1325.810 & grp\\_b \\\\ \nrow\\_6 & NA & fig & six & 2015-06-15 & NA & 2018-06-06 16:11 & 13.255 & grp\\_b \\\\ \nrow\\_7 & 7.770e+05 & grapefruit & seven & NA & 19:10 & 2018-07-07 05:22 & NA & grp\\_b \\\\ \nrow\\_8 & 8.880e+06 & honeydew & eight & 2015-08-15 & 20:20 & NA & 0.440 & grp\\_b \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

# Indentation values can be obtained from a table column

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"rank\">rank</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr><td headers=\"stub_1_1 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">durian</td>\n<td headers=\"stub_1_1 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"stub_1_1 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"stub_1_1 rank\" class=\"gt_row gt_right\">1</td></tr>\n    <tr><td headers=\"stub_1_2 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">NA</td>\n<td headers=\"stub_1_2 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"stub_1_2 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"stub_1_2 rank\" class=\"gt_row gt_right\">2</td></tr>\n    <tr><td headers=\"stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">apricot</td>\n<td headers=\"stub_1_3 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"stub_1_3 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"stub_1_3 rank\" class=\"gt_row gt_right\">3</td></tr>\n    <tr><td headers=\"stub_1_4 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_4\">banana</td>\n<td headers=\"stub_1_4 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"stub_1_4 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"stub_1_4 rank\" class=\"gt_row gt_right\">4</td></tr>\n    <tr><td headers=\"stub_1_5 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">fig</td>\n<td headers=\"stub_1_5 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"stub_1_5 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"stub_1_5 rank\" class=\"gt_row gt_right\">5</td></tr>\n    <tr><td headers=\"stub_1_6 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">coconut</td>\n<td headers=\"stub_1_6 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"stub_1_6 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"stub_1_6 rank\" class=\"gt_row gt_right\">6</td></tr>\n    <tr><td headers=\"stub_1_7 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">honeydew</td>\n<td headers=\"stub_1_7 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"stub_1_7 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"stub_1_7 rank\" class=\"gt_row gt_right\">7</td></tr>\n    <tr><th id=\"stub_1_8\" scope=\"row\" class=\"gt_row gt_left gt_stub\">grapefruit</th>\n<td headers=\"stub_1_8 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"stub_1_8 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_8 rank\" class=\"gt_row gt_right\">NA</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{7.5pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \ngrapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

---

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"rank\">rank</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_a\">grp_a</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><td headers=\"grp_a stub_1_1 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">durian</td>\n<td headers=\"grp_a stub_1_1 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"grp_a stub_1_1 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"grp_a stub_1_1 rank\" class=\"gt_row gt_right\">1</td></tr>\n    <tr><td headers=\"grp_a stub_1_2 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">apricot</td>\n<td headers=\"grp_a stub_1_2 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"grp_a stub_1_2 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"grp_a stub_1_2 rank\" class=\"gt_row gt_right\">3</td></tr>\n    <tr><td headers=\"grp_a stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_4\">banana</td>\n<td headers=\"grp_a stub_1_3 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"grp_a stub_1_3 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"grp_a stub_1_3 rank\" class=\"gt_row gt_right\">4</td></tr>\n    <tr><td headers=\"grp_a stub_1_4 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">coconut</td>\n<td headers=\"grp_a stub_1_4 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"grp_a stub_1_4 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"grp_a stub_1_4 rank\" class=\"gt_row gt_right\">6</td></tr>\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_b\">grp_b</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><td headers=\"grp_b stub_1_5 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">NA</td>\n<td headers=\"grp_b stub_1_5 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"grp_b stub_1_5 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"grp_b stub_1_5 rank\" class=\"gt_row gt_right\">2</td></tr>\n    <tr><td headers=\"grp_b stub_1_6 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">fig</td>\n<td headers=\"grp_b stub_1_6 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"grp_b stub_1_6 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"grp_b stub_1_6 rank\" class=\"gt_row gt_right\">5</td></tr>\n    <tr><td headers=\"grp_b stub_1_7 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">honeydew</td>\n<td headers=\"grp_b stub_1_7 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"grp_b stub_1_7 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"grp_b stub_1_7 rank\" class=\"gt_row gt_right\">7</td></tr>\n    <tr><th id=\"stub_1_8\" scope=\"row\" class=\"gt_row gt_left gt_stub\">grapefruit</th>\n<td headers=\"grp_b stub_1_8 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"grp_b stub_1_8 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"grp_b stub_1_8 rank\" class=\"gt_row gt_right\">NA</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{7.5pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \ngrapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

---

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"rank\">rank</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_a\">grp_a</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><td headers=\"grp_a stub_1_1 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">durian</td>\n<td headers=\"grp_a stub_1_1 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"grp_a stub_1_1 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"grp_a stub_1_1 rank\" class=\"gt_row gt_right\">1</td></tr>\n    <tr><td headers=\"grp_a stub_1_2 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">apricot</td>\n<td headers=\"grp_a stub_1_2 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"grp_a stub_1_2 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"grp_a stub_1_2 rank\" class=\"gt_row gt_right\">3</td></tr>\n    <tr><td headers=\"grp_a stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_4\">banana</td>\n<td headers=\"grp_a stub_1_3 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"grp_a stub_1_3 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"grp_a stub_1_3 rank\" class=\"gt_row gt_right\">4</td></tr>\n    <tr><td headers=\"grp_a stub_1_4 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">coconut</td>\n<td headers=\"grp_a stub_1_4 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"grp_a stub_1_4 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"grp_a stub_1_4 rank\" class=\"gt_row gt_right\">6</td></tr>\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_b\">grp_b</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><td headers=\"grp_b stub_1_5 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">NA</td>\n<td headers=\"grp_b stub_1_5 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"grp_b stub_1_5 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"grp_b stub_1_5 rank\" class=\"gt_row gt_right\">2</td></tr>\n    <tr><td headers=\"grp_b stub_1_6 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">fig</td>\n<td headers=\"grp_b stub_1_6 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"grp_b stub_1_6 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"grp_b stub_1_6 rank\" class=\"gt_row gt_right\">5</td></tr>\n    <tr><td headers=\"grp_b stub_1_7 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">honeydew</td>\n<td headers=\"grp_b stub_1_7 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"grp_b stub_1_7 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"grp_b stub_1_7 rank\" class=\"gt_row gt_right\">7</td></tr>\n    <tr><td headers=\"grp_b stub_1_8 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">grapefruit</td>\n<td headers=\"grp_b stub_1_8 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"grp_b stub_1_8 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"grp_b stub_1_8 rank\" class=\"gt_row gt_right\">NA</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{7.5pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \n\\hspace*{11.25pt} grapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

---

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"rank\">rank</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_a\">grp_a</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><td headers=\"grp_a stub_1_1 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">durian</td>\n<td headers=\"grp_a stub_1_1 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"grp_a stub_1_1 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"grp_a stub_1_1 rank\" class=\"gt_row gt_right\">1</td></tr>\n    <tr><td headers=\"grp_a stub_1_2 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_4\">apricot</td>\n<td headers=\"grp_a stub_1_2 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"grp_a stub_1_2 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"grp_a stub_1_2 rank\" class=\"gt_row gt_right\">3</td></tr>\n    <tr><td headers=\"grp_a stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">banana</td>\n<td headers=\"grp_a stub_1_3 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"grp_a stub_1_3 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"grp_a stub_1_3 rank\" class=\"gt_row gt_right\">4</td></tr>\n    <tr><td headers=\"grp_a stub_1_4 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">coconut</td>\n<td headers=\"grp_a stub_1_4 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"grp_a stub_1_4 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"grp_a stub_1_4 rank\" class=\"gt_row gt_right\">6</td></tr>\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_b\">grp_b</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><td headers=\"grp_b stub_1_5 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">NA</td>\n<td headers=\"grp_b stub_1_5 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"grp_b stub_1_5 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"grp_b stub_1_5 rank\" class=\"gt_row gt_right\">2</td></tr>\n    <tr><td headers=\"grp_b stub_1_6 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">fig</td>\n<td headers=\"grp_b stub_1_6 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"grp_b stub_1_6 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"grp_b stub_1_6 rank\" class=\"gt_row gt_right\">5</td></tr>\n    <tr><td headers=\"grp_b stub_1_7 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">honeydew</td>\n<td headers=\"grp_b stub_1_7 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"grp_b stub_1_7 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"grp_b stub_1_7 rank\" class=\"gt_row gt_right\">7</td></tr>\n    <tr><td headers=\"grp_b stub_1_8 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">grapefruit</td>\n<td headers=\"grp_b stub_1_8 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"grp_b stub_1_8 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"grp_b stub_1_8 rank\" class=\"gt_row gt_right\">NA</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{7.5pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{15pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{18.75pt} banana & two & 17.950 & 4 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{11.25pt} NA & five & 1325.810 & 2 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7 \\\\ \n\\hspace*{11.25pt} grapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

---

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"rank\">rank</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_a\">grp_a</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><td headers=\"grp_a stub_1_1 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">durian</td>\n<td headers=\"grp_a stub_1_1 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"grp_a stub_1_1 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"grp_a stub_1_1 rank\" class=\"gt_row gt_right\">1</td></tr>\n    <tr><td headers=\"grp_a stub_1_2 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">apricot</td>\n<td headers=\"grp_a stub_1_2 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"grp_a stub_1_2 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"grp_a stub_1_2 rank\" class=\"gt_row gt_right\">3</td></tr>\n    <tr><td headers=\"grp_a stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_4\">banana</td>\n<td headers=\"grp_a stub_1_3 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"grp_a stub_1_3 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"grp_a stub_1_3 rank\" class=\"gt_row gt_right\">4</td></tr>\n    <tr><th id=\"stub_1_4\" scope=\"row\" class=\"gt_row gt_left gt_stub\">coconut</th>\n<td headers=\"grp_a stub_1_4 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"grp_a stub_1_4 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"grp_a stub_1_4 rank\" class=\"gt_row gt_right\">6</td></tr>\n    <tr class=\"gt_group_heading_row\">\n      <th colspan=\"4\" class=\"gt_group_heading\" scope=\"colgroup\" id=\"grp_b\">grp_b</th>\n    </tr>\n    <tr class=\"gt_row_group_first\"><th id=\"stub_1_5\" scope=\"row\" class=\"gt_row gt_left gt_stub\">NA</th>\n<td headers=\"grp_b stub_1_5 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"grp_b stub_1_5 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"grp_b stub_1_5 rank\" class=\"gt_row gt_right\">2</td></tr>\n    <tr><th id=\"stub_1_6\" scope=\"row\" class=\"gt_row gt_left gt_stub\">fig</th>\n<td headers=\"grp_b stub_1_6 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"grp_b stub_1_6 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"grp_b stub_1_6 rank\" class=\"gt_row gt_right\">5</td></tr>\n    <tr><th id=\"stub_1_7\" scope=\"row\" class=\"gt_row gt_left gt_stub\">honeydew</th>\n<td headers=\"grp_b stub_1_7 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"grp_b stub_1_7 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"grp_b stub_1_7 rank\" class=\"gt_row gt_right\">7</td></tr>\n    <tr><td headers=\"grp_b stub_1_8 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">grapefruit</td>\n<td headers=\"grp_b stub_1_8 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"grp_b stub_1_8 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"grp_b stub_1_8 rank\" class=\"gt_row gt_right\">NA</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_a} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4 \\\\ \ncoconut & three & 1.390 & 6 \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\multicolumn{4}{l}{grp\\_b} \\\\[2.5pt] \n\\midrule\\addlinespace[2.5pt]\nNA & five & 1325.810 & 2 \\\\ \nfig & six & 13.255 & 5 \\\\ \nhoneydew & eight & 0.440 & 7 \\\\ \n\\hspace*{11.25pt} grapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

---

    Code
      .
    Output
      [1] "<table class=\"gt_table\" data-quarto-disable-processing=\"false\" data-quarto-bootstrap=\"false\">\n  <thead>\n    <tr class=\"gt_col_headings\">\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_left\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"\"></th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_center\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"fctr\">fctr</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"currency\">currency</th>\n      <th class=\"gt_col_heading gt_columns_bottom_border gt_right\" rowspan=\"1\" colspan=\"1\" scope=\"col\" id=\"rank\">rank</th>\n    </tr>\n  </thead>\n  <tbody class=\"gt_table_body\">\n    <tr><td headers=\"stub_1_1 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_1\">durian</td>\n<td headers=\"stub_1_1 fctr\" class=\"gt_row gt_center\">four</td>\n<td headers=\"stub_1_1 currency\" class=\"gt_row gt_right\">65100.000</td>\n<td headers=\"stub_1_1 rank\" class=\"gt_row gt_right\">1.7</td></tr>\n    <tr><td headers=\"stub_1_2 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_2\">NA</td>\n<td headers=\"stub_1_2 fctr\" class=\"gt_row gt_center\">five</td>\n<td headers=\"stub_1_2 currency\" class=\"gt_row gt_right\">1325.810</td>\n<td headers=\"stub_1_2 rank\" class=\"gt_row gt_right\">2.7</td></tr>\n    <tr><td headers=\"stub_1_3 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_3\">apricot</td>\n<td headers=\"stub_1_3 fctr\" class=\"gt_row gt_center\">one</td>\n<td headers=\"stub_1_3 currency\" class=\"gt_row gt_right\">49.950</td>\n<td headers=\"stub_1_3 rank\" class=\"gt_row gt_right\">3.7</td></tr>\n    <tr><td headers=\"stub_1_4 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_4\">banana</td>\n<td headers=\"stub_1_4 fctr\" class=\"gt_row gt_center\">two</td>\n<td headers=\"stub_1_4 currency\" class=\"gt_row gt_right\">17.950</td>\n<td headers=\"stub_1_4 rank\" class=\"gt_row gt_right\">4.7</td></tr>\n    <tr><td headers=\"stub_1_5 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">fig</td>\n<td headers=\"stub_1_5 fctr\" class=\"gt_row gt_center\">six</td>\n<td headers=\"stub_1_5 currency\" class=\"gt_row gt_right\">13.255</td>\n<td headers=\"stub_1_5 rank\" class=\"gt_row gt_right\">5.7</td></tr>\n    <tr><td headers=\"stub_1_6 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">coconut</td>\n<td headers=\"stub_1_6 fctr\" class=\"gt_row gt_center\">three</td>\n<td headers=\"stub_1_6 currency\" class=\"gt_row gt_right\">1.390</td>\n<td headers=\"stub_1_6 rank\" class=\"gt_row gt_right\">6.7</td></tr>\n    <tr><td headers=\"stub_1_7 stub_1\" class=\"gt_row gt_left gt_stub gt_indent_5\">honeydew</td>\n<td headers=\"stub_1_7 fctr\" class=\"gt_row gt_center\">eight</td>\n<td headers=\"stub_1_7 currency\" class=\"gt_row gt_right\">0.440</td>\n<td headers=\"stub_1_7 rank\" class=\"gt_row gt_right\">7.7</td></tr>\n    <tr><th id=\"stub_1_8\" scope=\"row\" class=\"gt_row gt_left gt_stub\">grapefruit</th>\n<td headers=\"stub_1_8 fctr\" class=\"gt_row gt_center\">seven</td>\n<td headers=\"stub_1_8 currency\" class=\"gt_row gt_right\">NA</td>\n<td headers=\"stub_1_8 rank\" class=\"gt_row gt_right\">NA</td></tr>\n  </tbody>\n  \n  \n</table>"

---

    Code
      .
    Output
      [1] "\\begingroup\n\\fontsize{12.0pt}{14.4pt}\\selectfont\n\\begin{longtable}{l|crr}\n\\toprule\n & fctr & currency & rank \\\\ \n\\midrule\\addlinespace[2.5pt]\n\\hspace*{3.75pt} durian & four & 65100.000 & 1.7 \\\\ \n\\hspace*{7.5pt} NA & five & 1325.810 & 2.7 \\\\ \n\\hspace*{11.25pt} apricot & one & 49.950 & 3.7 \\\\ \n\\hspace*{15pt} banana & two & 17.950 & 4.7 \\\\ \n\\hspace*{18.75pt} fig & six & 13.255 & 5.7 \\\\ \n\\hspace*{18.75pt} coconut & three & 1.390 & 6.7 \\\\ \n\\hspace*{18.75pt} honeydew & eight & 0.440 & 7.7 \\\\ \ngrapefruit & seven & NA & NA \\\\ \n\\bottomrule\n\\end{longtable}\n\\endgroup\n"

