new headre emphasis
This commit is contained in:
@@ -157,6 +157,7 @@ Note: direct commands like `\paperwidth{...}` or `\color{...}` would clash with
|
||||
- `header` / `noheader`: show/hide top name block + separator line, default `header`
|
||||
- `qr` / `noqr`: show/hide QR block, default `qr`
|
||||
- `layout=`: `standard` (default) or `centered`
|
||||
- `headeremphasis=`: `person` (default), `company`, or `balanced`
|
||||
- `rightalign` / `leftalign`: text alignment, default `rightalign`
|
||||
- `iconleft` / `iconright`: icon side, default `iconleft`
|
||||
- `fill` / `nofill`: fill space between icon and text, default `fill`
|
||||
@@ -199,6 +200,7 @@ What Influences What (Standard Layout)
|
||||
|
||||
- `paperwidth/paperheight/contentwidth/contentheight/padding`: define the outer geometry of the whole card.
|
||||
- `header/noheader`: enables/disables the complete top block (name/logo/company line + separator line).
|
||||
- `headeremphasis=person|company|balanced`: controls relative visual weight in the header (`person`: name larger, `company`: company line larger, `balanced`: same size).
|
||||
- `logo` + `logoheight`: affects header composition and reserved vertical space.
|
||||
- `company[height=...]` / `companylogo[height=...]`: affects second header line and reserved space.
|
||||
- `textwidth` and `qrwidth`: define horizontal split of body columns.
|
||||
@@ -304,7 +306,7 @@ Recognized Commands
|
||||
### Command-Style Setters for Layout Options
|
||||
|
||||
- geometry: `\setpaperwidth`, `\setpaperheight`, `\setcontentwidth`, `\setcontentheight`, `\setpadding`, `\setcutdist`, `\setcutlen`
|
||||
- layout/typography: `\setfontsize`, `\settextwidth`, `\setqrwidth`, `\setqreclevel`, `\setqrlogoscale`, `\setqrlogoborder`, `\setlogoheight`, `\setlayout`
|
||||
- layout/typography: `\setfontsize`, `\settextwidth`, `\setqrwidth`, `\setqreclevel`, `\setqrlogoscale`, `\setqrlogoborder`, `\setlogoheight`, `\setlayout`, `\setheaderemphasis`
|
||||
- booleans (`true`/`false`): `\setcrlf`, `\setaddress`, `\sethint`, `\seticon`, `\setrightalign`, `\seticonleft`, `\setfill`, `\setqrfirst`, `\setheader`, `\setqr`, `\sethttps`
|
||||
- colors/language/format: `\setlang`, `\setcardcolor`, `\setqrcolor`, `\setcountryformat`, `\setbgscale`, `\setbgopacity`, `\setqrbgopacity`
|
||||
- convenience toggles: `\noheader`, `\withheader`, `\noqr`, `\withqr`, `\standardlayout`, `\centeredlayout`
|
||||
@@ -360,6 +362,16 @@ Equivalent using setter commands:
|
||||
\drawcard
|
||||
```
|
||||
|
||||
Header emphasis example:
|
||||
|
||||
```latex
|
||||
\cardsetup{headeremphasis=company}
|
||||
% or:
|
||||
\setheaderemphasis{company}
|
||||
% optional short alias:
|
||||
\headeremphasis{balanced}
|
||||
```
|
||||
|
||||
If you want to keep most data and only remove selected fields:
|
||||
|
||||
```latex
|
||||
|
||||
Reference in New Issue
Block a user