From e74ed2d03422488bf0dff9eae025b116d9f37237 Mon Sep 17 00:00:00 2001 From: Markus Demleitner Date: Wed, 27 Nov 2024 15:10:20 +0100 Subject: [PATCH] CSS override to fix table rendering in sect 7. ivoatex usually puts rules above and below tabular-s, and that doesn't work for the pseudo tables used there. --- Makefile | 3 ++- VOTable.tex | 3 ++- tablefix.css | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 tablefix.css diff --git a/Makefile b/Makefile index c42200c..8b68c9f 100644 --- a/Makefile +++ b/Makefile @@ -21,7 +21,8 @@ AUTHOR_EMAIL=??? SOURCES = $(DOCNAME).tex role_diagram.pdf \ VOTable.attr.tex VOTable.elem.tex \ VOTable.xsd stc_example1.vot stc_example2.vot timesys_example.vot \ - binary.pdf binary2.pdf + binary.pdf binary2.pdf \ + tablefix.css # List of image files to be included in submitted package (anything that # can be rendered directly by common web browsers) diff --git a/VOTable.tex b/VOTable.tex index ba94f12..fdfbb04 100644 --- a/VOTable.tex +++ b/VOTable.tex @@ -1,6 +1,7 @@ \documentclass[11pt,a4paper]{ivoa} \input tthdefs +\customcss{tablefix.css} \usepackage{verbatim} \let\A=\href @@ -2576,7 +2577,7 @@ \subsection{FIELDs as Data Pointers} Spectrum absolutely calibrated - diff --git a/tablefix.css b/tablefix.css new file mode 100644 index 0000000..8af0d54 --- /dev/null +++ b/tablefix.css @@ -0,0 +1,4 @@ +table.tabular > * > tr > td, table.tabular > tr > td { + border-top: none !important; + border-bottom: none !important; + }