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
\documentclass{article}
\usepackage{soul,xcolor}
\begin{document}
   \setstcolor{red}
   \st{This must have a red strikethrough line}
   \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).

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Red strikethrough line using LuaLaTeX

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 22862 times

Some information from the log:
This is LuaHBTeX, Version 1.12.0 (TeX Live 2020) 
restricted system commands enabled.

LaTeX2e <2020-10-01> patch level 2

*File List*
article.cls 2020/04/10 v1.4m Standard LaTeX document class
size10.clo 2020/04/10 v1.4m Standard LaTeX file (size option)
soul.sty 2003/11/17 v2.4 letterspacing/underlining (mf)
xcolor.sty 2016/05/11 v2.12 LaTeX color extensions (UK)
color.cfg 2016/01/02 v1.6 sample color configuration
luatex.def 2020/10/05 v1.2a Graphics/color driver for luatex
l3backend-luatex.def 2020-09-24 L3 backend support: PDF output (LuaTeX)
ts1cmr.fd 2019/12/16 v2.5j Standard LaTeX font definitions
supp-pdf.mkii
***********


So maybe it would be a good idea to install an up-to-date Vanilla TeX Live.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:


Return to “Others”

Who is online

Users browsing this forum: No registered users and 2 guests