highlighters = [hl_gt5, hl_lt5]</code></pre><h2 id="LaTeX-Table-Format"><a class="docs-heading-anchor" href="#LaTeX-Table-Format">LaTeX Table Format</a><a id="LaTeX-Table-Format-1"></a><a class="docs-heading-anchor-permalink" href="#LaTeX-Table-Format" title="Permalink"></a></h2><p>The LaTeX table format is defined using an object of type <a href="../../../lib/library/#PrettyTables.LatexTableFormat"><code>LatexTableFormat</code></a> that contains the following fields:</p><ul><li><code>borders::LatexTableBorders</code>: Format of the borders.</li><li><code>horizontal_line_at_beginning::Bool</code>: If <code>true</code>, a horizontal line will be drawn at the   beginning of the table.</li><li><code>horizontal_line_after_column_labels::Bool</code>: If <code>true</code>, a horizontal line will be drawn   after the column labels.</li><li><code>horizontal_lines_at_data_rows::Union{Symbol, Vector{Int}}</code>: A horizontal line will be   drawn after each data row index listed in this vector. If the symbol <code>:all</code> is passed, a   horizontal line will be drawn after every data column. If the symbol <code>:none</code> is passed,   no horizontal lines will be drawn after the data rows.</li><li><code>horizontal_line_before_row_group_label::Bool</code>: If <code>true</code>, a horizontal line will be   drawn before the row group label.</li><li><code>horizontal_line_after_row_group_label::Bool</code>: If <code>true</code>, a horizontal line will be   drawn after the row group label.</li><li><code>horizontal_line_after_data_rows::Bool</code>: If <code>true</code>, a horizontal line will be drawn   after the data rows.</li><li><code>horizontal_line_before_summary_rows::Bool</code>: If <code>true</code>, a horizontal line will be drawn   before the summary rows. Notice that this line is the same as the one drawn if   <code>horizontal_line_after_data_rows</code> is <code>true</code>. However, in this case, the line is omitted   if there are no summary rows.</li><li><code>horizontal_line_after_summary_rows::Bool</code>: If <code>true</code>, a horizontal line will be drawn   after the summary rows.</li><li><code>vertical_line_at_beginning::Bool</code>: If <code>true</code>, a vertical line will be drawn at the   beginning of the table.</li><li><code>vertical_line_after_row_number_column::Bool</code>: If <code>true</code>, a vertical line will be drawn   after the row number column.</li><li><code>vertical_line_after_row_label_column::Bool</code>: If <code>true</code>, a vertical line will be drawn   after the row label column.</li><li><code>vertical_lines_at_data_columns::Union{Symbol, Vector{Int}}</code>: A vertical line will be   drawn after each data column index listed in this vector. If the symbol <code>:all</code> is   passed, a vertical line will be drawn after every data column. If the symbol <code>:none</code> is   passed, no vertical lines will be drawn after the data columns.</li><li><code>vertical_line_after_data_columns::Bool</code>: If <code>true</code>, a vertical line will be drawn after   the data columns.</li><li><code>vertical_line_after_continuation_column::Bool</code>: If <code>true</code>, a vertical line will be   drawn after the continuation column.</li></ul><p>We provide a few helpers to configure the table format. For more information, see the documentation of the following macros:</p><ul><li><a href="../../../lib/library/#PrettyTables.@latex__all_horizontal_lines-Tuple{}"><code>@latex__all_horizontal_lines</code></a>.</li><li><a href="../../../lib/library/#PrettyTables.@latex__all_vertical_lines-Tuple{}"><code>@latex__all_vertical_lines</code></a>.</li><li><a href="../../../lib/library/#PrettyTables.@latex__no_horizontal_lines-Tuple{}"><code>@latex__no_horizontal_lines</code></a>.</li><li><a href="../../../lib/library/#PrettyTables.@latex__no_vertical_lines-Tuple{}"><code>@latex__no_vertical_lines</code></a>.</li></ul><h2 id="LaTeX-Table-Style"><a class="docs-heading-anchor" href="#LaTeX-Table-Style">LaTeX Table Style</a><a id="LaTeX-Table-Style-1"></a><a class="docs-heading-anchor-permalink" href="#LaTeX-Table-Style" title="Permalink"></a></h2><p>The LaTeX table style is defined using an object of type <a href="../../../lib/library/#PrettyTables.LatexTableStyle"><code>LatexTableStyle</code></a> that contains the following fields:</p><ul><li><code>title::LatexEnvironments</code>: Latex environments with the style for the title.</li><li><code>subtitle::LatexEnvironments</code>: Latex environments with the style for the subtitle.</li><li><code>row_number_label::LatexEnvironments</code>: Latex environments with the style for the row   number label.</li><li><code>row_number::LatexEnvironments</code>: Latex environments with the style for the row numbers.</li><li><code>stubhead_label::LatexEnvironments</code>:  Latex environments with the style for the stubhead   label.</li><li><code>row_label::LatexEnvironments</code>: Latex environments with the style for the row labels.</li><li><code>row_group_label::LatexEnvironments</code>: Latex environments with the style for the row group   label.</li><li><code>first_line_column_label::LatexEnvironments</code>: Latex environments with the style for the   first column label lines.</li><li><code>column_label::LatexEnvironments</code>: Latex environments with the style for the rest of the   column labels.</li><li><code>first_line_merged_column_label::LatexEnvironments</code>: Latex environments with the style for   the merged cells at the first column label line.</li><li><code>merged_column_label::LatexEnvironments</code>: Latex environments with the style for the merged   cells at the rest of the column labels.</li><li><code>summary_row_cell::LatexEnvironments</code>: Latex environments with the style for the summary   row cell.</li><li><code>summary_row_label::LatexEnvironments</code>: Latex environments with the style for the summary   row label.</li><li><code>footnote::LatexEnvironments</code>: Latex environments with the style for the footnotes.</li><li><code>source_note::LatexEnvironments</code>: Latex environments with the style for the source notes.</li><li><code>omitted_cell_summary::LatexEnvironments</code>: Latex environments with the style for the   omitted cell summary.</li></ul><p>Each field is a <code>LatexEnvironments</code> object, which is a vector of strings with the LaTeX environments to be applied to the corresponding element.</p><p>For example, if we want to make the stubhead label bold and red, we must define:</p><pre><code class="language-julia hljs">style = LatexTableStyle(
0 commit comments