Skip to content

Instantly share code, notes, and snippets.

@moewew
Created June 2, 2020 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save moewew/af743d98e157a45a7331a1ad926b3787 to your computer and use it in GitHub Desktop.
Save moewew/af743d98e157a45a7331a1ad926b3787 to your computer and use it in GitHub Desktop.
\documentclass[a4paper,11pt]{article}
\usepackage[a4paper,includeheadfoot,margin=2.54cm]{geometry} % for margins on a A4paper
\usepackage{xcolor} % for highlighting AND background images-color!!!
\usepackage{luacolor,lua-ul} %for usage of style attributes - background color
\newcommand{\cText}[3][RGB]{%
\begingroup
\definecolor{hlcolor}{#1}{#2}\LuaULSetHighLightColor{hlcolor}%
\highLight{#3}%
\endgroup
}
\definecolor{RGB2}{RGB}{35, 111, 161}
\definecolor{HTML3}{HTML}{bfedd2}
\begin{document}
Test z% translated tag: span
{\cText[HTML]{7e8c8d}
{wecks U%
{\LARGE msetzung von größeren} % [2] <== not working
{\color{HTML3}{}
{\LARGE HTML}
Text
}-Entities \&<
}
}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment