new feature color for text color
@@ -115,6 +115,7 @@ Layout options are set as options to the `\documentclass`, e.g.:
|
|||||||
- `bgscale=`: background image scale factor (1.0 = 100% of card height), default: `1.0`. Use values like `1.5` or `2.0` for zoomed/cropped backgrounds. Only affects images, not colors. Can be overridden locally with `\background[scale=...]{file}`.
|
- `bgscale=`: background image scale factor (1.0 = 100% of card height), default: `1.0`. Use values like `1.5` or `2.0` for zoomed/cropped backgrounds. Only affects images, not colors. Can be overridden locally with `\background[scale=...]{file}`.
|
||||||
- `bgopacity=`: background image opacity/transparency (1.0 = 100% visible, 0.0 = invisible), default: `1.0`. Use lower values like `0.2` or `0.3` to fade the background so text remains readable. Only affects images, not colors. Can be overridden locally with `\background[opacity=...]{file}`.
|
- `bgopacity=`: background image opacity/transparency (1.0 = 100% visible, 0.0 = invisible), default: `1.0`. Use lower values like `0.2` or `0.3` to fade the background so text remains readable. Only affects images, not colors. Can be overridden locally with `\background[opacity=...]{file}`.
|
||||||
- `qrbgopacity=`: QR code background opacity (1.0 = solid white, 0.0 = transparent), default: `1.0`. White background behind QR code ensures scannability over background images. Use `0.0` for no background or lower values like `0.8` for semi-transparent. Can be overridden locally with `\qrlogo[opacity=...]{file}`.
|
- `qrbgopacity=`: QR code background opacity (1.0 = solid white, 0.0 = transparent), default: `1.0`. White background behind QR code ensures scannability over background images. Use `0.0` for no background or lower values like `0.8` for semi-transparent. Can be overridden locally with `\qrlogo[opacity=...]{file}`.
|
||||||
|
- `color=`: global text color for the entire document, default: `black`. Accepts any color name understood by `xcolor` (including mixes such as `blue!60!black`). Useful when printing on darker backgrounds to ensure legibility without redefining every style manually.
|
||||||
|
|
||||||
|
|
||||||
Data Definitions
|
Data Definitions
|
||||||
|
|||||||
@@ -28,6 +28,7 @@
|
|||||||
\DeclareStringOption[1.0]{bgopacity} % background image opacity (1.0 = 100% visible, 0.0 = invisible), default 1.0
|
\DeclareStringOption[1.0]{bgopacity} % background image opacity (1.0 = 100% visible, 0.0 = invisible), default 1.0
|
||||||
\DeclareStringOption[1.0]{qrbgopacity} % QR code background opacity (1.0 = white solid, 0.0 = transparent), default 1.0
|
\DeclareStringOption[1.0]{qrbgopacity} % QR code background opacity (1.0 = white solid, 0.0 = transparent), default 1.0
|
||||||
\DeclareStringOption[de]{lang}
|
\DeclareStringOption[de]{lang}
|
||||||
|
\DeclareStringOption[black]{color}
|
||||||
\DeclareBoolOption[true]{crlf} % use CRLF line endings in vCard (iOS compatibility)
|
\DeclareBoolOption[true]{crlf} % use CRLF line endings in vCard (iOS compatibility)
|
||||||
\DeclareComplementaryOption{nocrlf}{crlf}\DeclareBoolOption[true]{address}
|
\DeclareComplementaryOption{nocrlf}{crlf}\DeclareBoolOption[true]{address}
|
||||||
\DeclareComplementaryOption{noaddress}{address}
|
\DeclareComplementaryOption{noaddress}{address}
|
||||||
@@ -71,6 +72,7 @@
|
|||||||
\RequirePackage{marvosym}
|
\RequirePackage{marvosym}
|
||||||
\RequirePackage{fontawesome}
|
\RequirePackage{fontawesome}
|
||||||
\RequirePackage[final]{qrcode}
|
\RequirePackage[final]{qrcode}
|
||||||
|
\RequirePackage{xcolor}
|
||||||
\RequirePackage{etoolbox}
|
\RequirePackage{etoolbox}
|
||||||
\RequirePackage{xstring} % for string length checking
|
\RequirePackage{xstring} % for string length checking
|
||||||
\RequirePackage{DejaVuSans}
|
\RequirePackage{DejaVuSans}
|
||||||
@@ -89,6 +91,7 @@
|
|||||||
\setlength{\parindent}{0pt}
|
\setlength{\parindent}{0pt}
|
||||||
\renewcommand*\familydefault{\sfdefault}
|
\renewcommand*\familydefault{\sfdefault}
|
||||||
\setlength{\fboxsep}{0pt}
|
\setlength{\fboxsep}{0pt}
|
||||||
|
\color{\BCQ@color}
|
||||||
|
|
||||||
|
|
||||||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 48 KiB After Width: | Height: | Size: 48 KiB |
|
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
|
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 778 KiB After Width: | Height: | Size: 778 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |