[latex3-commits] [latex3/fontspec] l3color: update docu, WIP (33bba8d)
github at latex-project.org
github at latex-project.org
Sat Nov 4 16:37:33 CET 2023
Repository : https://github.com/latex3/fontspec
On branch : l3color
Link : https://github.com/latex3/fontspec/commit/33bba8da3cf6f71ed12c38bbae43503faf649983
>---------------------------------------------------------------
commit 33bba8da3cf6f71ed12c38bbae43503faf649983
Author: Ulrike Fischer <fischer at troubleshooting-tex.de>
Date: Sat Nov 4 16:37:33 2023 +0100
update docu, WIP
>---------------------------------------------------------------
33bba8da3cf6f71ed12c38bbae43503faf649983
fontspec-doc-featset.tex | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fontspec-doc-featset.tex b/fontspec-doc-featset.tex
index 7ef96f7..5dc275f 100644
--- a/fontspec-doc-featset.tex
+++ b/fontspec-doc-featset.tex
@@ -330,7 +330,7 @@ Notably, this mechanism is different to that of the \pkg{color}/\pkg{xcolor}/\pk
(For example, if you set the colour in a \verb|\setmainfont| command, \verb|\color{...}| and related commands, including hyperlink colouring, will no longer have any effect on text in this font.)
Therefore, \pkg{fontspec}'s colour commands are best used to set explicit colours in specific situations, and the \pkg{xcolor} package is recommended for more general colour functionality.
-The colour is defined as a triplet of two-digit Hex RGB
+The colour can be defined as a triplet of two-digit Hex RGB
values, with optionally another value for the transparency (where
|00| is completely transparent and |FF| is opaque.)
\begin{Lexample}{color}{Selecting colour with transparency.}
@@ -341,8 +341,6 @@ values, with optionally another value for the transparency (where
{\addfontfeature{Color=DDBB2299}P}\kern-0.5ex
{\addfontfeature{Color=00BB3399}R}
\end{Lexample}
-Transparency is supported by \LuaLaTeX; \XeLaTeX\ with the \texttt{xdvipdfmx} driver
-does not support this feature.
If you load the \pkg{xcolor} package, you may use any named colour instead
of writing the colours in hexadecimal.
More information about the latex3-commits
mailing list.