metrumresearchgroup / pmtables

TeX tables for pharmacometrics.
https://metrumresearchgroup.github.io/pmt-book
11 stars 1 forks source link

label option for st_asis #218

Closed curtisKJ closed 3 years ago

curtisKJ commented 3 years ago

Summary

It'd be handy to be able to pass a label to st_asis for easy referencing in rendered documents.

curtisKJ commented 3 years ago

FWIW, you can make it work by doing ...

caption = 'Subject and Observation Summary by Study \\label{my label}'
kylebaron commented 3 years ago

Closing this; lets continue including the label like this rather than adding another argument. You can also do this for longtable (and I might refactor that to just let the label come from the caption).