Skip to content

Add tabularx and other parameter options#23

Merged
andersonfrailey merged 3 commits intomainfrom
modeltabelheaderfix
Sep 25, 2025
Merged

Add tabularx and other parameter options#23
andersonfrailey merged 3 commits intomainfrom
modeltabelheaderfix

Conversation

@andersonfrailey
Copy link
Owner

Adds a number of new parameter options:

  • column_escape: If true, escapes latex characters used in column labels. Otherwise leaves them
  • index_escape: If true, escapes latex characters used in index labels. Otherwise leaves them
  • use_tabularx: If true, wraps table content in a tabularx environment instead of tabular
  • dependent_var_cover_index: Used in ModelTable. If true will extend the dependent variable name label across the index column as well as the estimate columns
  • dependent_var_alignment: Used in ModelTable. Alignment to use for the dependent variable name label
  • underline_dependent_variable_name: Used in ModelTable. If true, underlines the dependent variable name in the table

Also cleans up some comments and adds tests

@andersonfrailey andersonfrailey added bug Something isn't working enhancement New feature or request rendering Something about how the tables render tables Related to properties, features, etc. of the tables labels Sep 22, 2025
@andersonfrailey andersonfrailey merged commit 1deffe9 into main Sep 25, 2025
7 checks passed
@andersonfrailey andersonfrailey deleted the modeltabelheaderfix branch September 25, 2025 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request rendering Something about how the tables render tables Related to properties, features, etc. of the tables

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant