Graphics, Figures & TablesStrange issue with package ot-tableau

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
latexnoob2022
Posts: 7
Joined: Thu Jan 20, 2022 6:21 am

Strange issue with package ot-tableau

Post by latexnoob2022 »

I have been trying to implement a table using a package for linguistics called `ot-tableau`. The package seems to have serious issues with horizontal lines, but I am not sure what's going on. This issue was also flagged by a few fellow academics to me offline:

An MWE:

Code: Select all

\documentclass[11pt]{article} %%%%article adds section name in header

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{enumitem}
\usepackage{fontspec}
\usepackage{textcomp}

\usepackage[notipa, shadedcells]{ot-tableau}
\usepackage{gb4e}
\usepackage{linguex}

\begin{document}

\vspace{-6pt}
\hspace{.38in}
\begin{tableau}{c|c:c|c|c|}
\inp{\ips{CV\textsuperscript{$\mu\mu$}}} \const*{\textsc{Wt-ID}/V\textsubscript{\textsc{strong}}} \const*{\textsc{SyllSize}} \const*{*$\mu$|\textsc{ons}\textsubscript{\textsc{[simplex]}}} \const*{WBP[\textsc{ons}]}
\cand*{CV} \vio{*!} \vio{} \vio{} \vio{*}
\cand*{CV\textsuperscript{$\mu$}} \vio{*!} \vio{} \vio{} \vio{*}
\cand*{C\textsuperscript{$\mu$}V\textsuperscript{$\mu\mu$}} \vio{} \vio{*!} \vio{*!} \vio{}
\cand*[\Optimal]{CV\textsuperscript{$\mu\mu$}} \vio{} \vio{} \vio{} \vio{*}
\end{tableau}

\end{document}
When I run this code on my local LaTeX build, I get the following output, with horizontal lines going over the tables (see local.png, row-1).

However, when I run the same code on Overleaf, the table is rendered correctly (see overleaf.png)).

My fellow academics have the opposite issue (their PDF has missing horizontal lines when built on Overleaf) and we are unable to troubleshoot this on our own. We think the issue may be related to changes to `hhline` package, but we do not know for sure.

Any help would be appreciated!
Attachments
overleaf.png
overleaf.png (192.53 KiB) Viewed 2611 times
local.png
local.png (181.81 KiB) Viewed 2611 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

MjK
Posts: 89
Joined: Fri Jan 28, 2022 6:09 pm

Strange issue with package ot-tableau

Post by MjK »

Yes, the issue depends on package versions, but not on the version of hhline but ot-tableau. With old ot-tableau indeed hhline is used. But with an up-to-date ot-tableau 2021-05-19 by default hhline is not used any longer. But if you would add option usehhline to force using hhline, the issue would come back (in a slightly different manner).

So I would suggest to update your local TeX distribution (and avoid using option usehhline).
My main topics are KOMA-Script and other questions related to my packages. If I reply to any other topic or if you've not yet added a minimal working example, please do not expect any further response. And please don't forget to tag examples as code.
Post Reply