From 5d5c4f1870cb7c5c07271978a547d3632c16a8bf Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Sun, 12 Feb 2023 23:39:16 +0100
Subject: [PATCH] =?UTF-8?q?P=C5=99ep=C3=ADna=C4=8D=20barvy=20ovliv=C5=88uj?=
 =?UTF-8?q?e=20i=20v=C3=BDb=C4=9Br=20loga?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 mff.cls  | 2 +-
 test.tex | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mff.cls b/mff.cls
index 9f6d59a..d4db22c 100644
--- a/mff.cls
+++ b/mff.cls
@@ -117,7 +117,7 @@
 %
 \def\zahlavi{
 	\def\logomff{   % obrázek loga MFF
-		\includegraphics[scale=0.70]{logotyp_mff_cs}
+		\includegraphics[scale=0.70]{logotyp_mff_\ifmffcolor color\else bw\fi_cs}
 			% faktor zmenšení 0.70 odpovídá průměru loga 25 mm (PJVSUK)
 	}
 	\vbox to 16mm{
diff --git a/test.tex b/test.tex
index 7b7fbb6..2ed81f3 100644
--- a/test.tex
+++ b/test.tex
@@ -1,4 +1,4 @@
-\documentclass[mono]{mff}
+\documentclass[color]{mff}
 
 \begin{document}
 
-- 
GitLab