From 5849b76ee81f0af3ea8bc1681031eef4e587548f Mon Sep 17 00:00:00 2001 From: tiyn Date: Sat, 10 Jan 2026 04:20:52 +0100 Subject: [PATCH] markup/latex: setup background color --- wiki/markup_language.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/wiki/markup_language.md b/wiki/markup_language.md index 76e20de..79eba5b 100644 --- a/wiki/markup_language.md +++ b/wiki/markup_language.md @@ -40,3 +40,20 @@ The following list contains some examples of it. - [ZUGFeRD](https://ctan.org/pkg/zugferd) is a package for creating invoices. - [Awesome-CV](https://github.com/posquit0/Awesome-CV) is a package for creating job applications. + +#### Usage + +This section addresses the usage of LaTeX. + +##### Set Background Color + +The background color can be set using the `xcolor` package and the `\pagecolor` command. +The following lines show a working example where the background color is set to the hexadecimal +color ``. +This needs to be changed (for example to `E0D6C0` for a parchment like color). + +```tex +\usepackage{xcolor} +\definecolor{background}{HTML}{} +\pagecolor{background} +```