From 54fd5a3c1ef0e501b77f43f9b7160d72757b7699 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arne=20K=C3=BCderle?= Date: Mon, 23 Jan 2023 14:46:02 +0100 Subject: [PATCH] Fixed formatting of tex export --- color_palettes/fau_colors_2021.tex | 5 ++++- fau_colors/_utils.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/color_palettes/fau_colors_2021.tex b/color_palettes/fau_colors_2021.tex index 4525e32..44d4bcd 100644 --- a/color_palettes/fau_colors_2021.tex +++ b/color_palettes/fau_colors_2021.tex @@ -1,6 +1,9 @@ % Tex color file defining the FAU colors. % To use, you need to include the `xcolor` package (\usepackage{xcolor} in your preamble). -% Then copy this file into your project and include it with `\input{fau_colors_2021.tex}`.\definecolor{fau-fau-125}{rgb}{0.8745098039215686, 0.8976393694732795, 0.9276585928489043} +% Then copy this file into your project and include it with `\input{fau_colors_2021.tex}`. + + +\definecolor{fau-fau-125}{rgb}{0.8745098039215686, 0.8976393694732795, 0.9276585928489043} \definecolor{fau-fau-250}{rgb}{0.7490196078431373, 0.795278738946559, 0.8553171856978086} \definecolor{fau-fau-375}{rgb}{0.6235294117647059, 0.6929181084198386, 0.7829757785467129} \definecolor{fau-fau-625}{rgb}{0.37254901960784315, 0.48819684736639757, 0.6382929642445214} diff --git a/fau_colors/_utils.py b/fau_colors/_utils.py index f26b113..1db21e9 100644 --- a/fau_colors/_utils.py +++ b/fau_colors/_utils.py @@ -54,7 +54,7 @@ def export_as_tex( HEADER = ( f"% Tex color file defining the FAU colors.\n" "% To use, you need to include the `xcolor` package (\\usepackage{xcolor} in your preamble).\n" - f"% Then copy this file into your project and include it with `\\input{{{file_name}}}`." + f"% Then copy this file into your project and include it with `\\input{{{file_name}}}`.\n\n\n" ) color_strings = []