text-align for th in tabular

8 views
Skip to first unread message

Jeremy Sylvestre

unread,
Sep 19, 2025, 1:42:06 AM (8 days ago) Sep 19
to PreTeXt development
I think the CSS may be missing rules like

.ptx-content table tr th.l {
    text-align: left;
}

and similar for other text-align options.

See here for example:
https://sites.ualberta.ca/~jsylvest/books/DLA1/worksheet-more-det.html#worksheet-more-det-2

Andrew Scholer

unread,
Sep 19, 2025, 10:03:41 AM (8 days ago) Sep 19
to prete...@googlegroups.com
You are correct, those rules don't exist. And it looks like they never did. Which raises the question "was that oversight or design decision?" It looks like row headings weren't a thing until May 2023.

Assuming oversite, making the `td` rules also apply to `th` is easy enough. But it also looks like there may be some legacy rules we could jettison while doing so. There are rules for things like `td.vcv` and `td.haliethick` that do not appear to be generated by the XSL. Does anyone know a reason those should not be jettisoned?

Andrew Scholer

--
You received this message because you are subscribed to the Google Groups "PreTeXt development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-dev...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pretext-dev/CALMYOnevJ1Xm5WxEej-TEJZzZZD60TrKhP3fz%2BO0Of6%2Bnuv8LA%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages