LaTeX forum ⇒ OthersRed strikethrough line using LuaLaTeX

Information and discussion about other TeX distributions not listed above; installation, administration; field reports
rdodds
Posts: 1
Joined: Sat Nov 28, 2020 12:53 am

Red strikethrough line using LuaLaTeX

Postby rdodds » Sat Nov 28, 2020 1:15 am

The following works with pdflatex, but when I run this with lualatex
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. \documentclass{article}
  2. \usepackage{soul,xcolor}
  3. \begin{document}
  4. \setstcolor{red}
  5. \st{This must have a red strikethrough line}
  6. \end{document}

I get a black strikethrough line. How do I make the strikethrough line red in lualatex.

I am using lualatex' from deb texlive-latex-base (2019.20200218-1).

User avatar
Ijon Tichy
Posts: 395
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Sat Nov 28, 2020 12:26 pm

With LuaLaTeX and up-to-date TeX Live 2020 I get:
test_20201128_111847.png
test_20201128_111847.png (4.02 KiB) Viewed 460 times

Some information from the log:
Code: [Select all] [Expand/Collapse] [Download] (test_20201128_111947.log)
  1. This is LuaHBTeX, Version 1.12.0 (TeX Live 2020)
  2. restricted system commands enabled.
  3. LaTeX2e <2020-10-01> patch level 2
  4. *File List*
  5. article.cls 2020/04/10 v1.4m Standard LaTeX document class
  6. size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
  7. soul.sty 2003/11/17 v2.4 letterspacing/underlining (mf)
  8. xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
  9. color.cfg 2016/01/02 v1.6 sample color configuration
  10. luatex.def 2020/10/05 v1.2a Graphics/color driver for luatex
  11. l3backend-luatex.def 2020-09-24 L3 backend support: PDF output (LuaTeX)
  12. ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
  13. supp-pdf.mkii
  14. ***********


So maybe it would be a good idea to install an up-to-date Vanilla TeX Live.


Return to “Others”

Who is online

Users browsing this forum: No registered users and 1 guest