kalekundert / stepwise

Modular, command-line scientific protocols
GNU General Public License v3.0
3 stars 0 forks source link

Share column widths between reaction tables in `Reactions` #65

Open kalekundert opened 2 years ago

kalekundert commented 2 years ago

For example, this would be useful when formatting multiple logically-related tables, e.g. when Reactions breaks a reaction into master mixes.

The table formatter doesn't support such an option yet, so I'd have to add it.

kalekundert commented 2 years ago

Thinking about this a little more, specifying column width in units of characters is not a good long-term solution, since it wouldn't work for LaTeX, HTML, or anything other than monospace text. A better solution for this problem would be to give the table a list of "peers" that should have the same column widths. That's more semantic, and could be supported by any backend.