From 66500493cfee26e5a34475d315cd98296998eb39 Mon Sep 17 00:00:00 2001 From: Paul Breugnot Date: Fri, 18 Nov 2022 14:08:06 +0100 Subject: [PATCH] :bug: px->pt --- beamerthemefemto.sty | 50 +++++++++++++++++++++++++------------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/beamerthemefemto.sty b/beamerthemefemto.sty index c9a00e2..6003804 100644 --- a/beamerthemefemto.sty +++ b/beamerthemefemto.sty @@ -31,8 +31,8 @@ \node[anchor=center, inner sep=0] at ($(current page.south west) + (0, 2.5cm)$) { \begin{tikzpicture} - \path[fill=femtoredstrong, even odd rule] (0, 0) circle[radius=10px] - (0, 0) circle[radius=20px]; + \path[fill=femtoredstrong, even odd rule] (0, 0) circle[radius=10pt] + (0, 0) circle[radius=20pt]; \end{tikzpicture} }; @@ -40,15 +40,15 @@ \node[anchor=center, inner sep=0] at ($(current page.north east) + (0, -3cm)$) { \begin{tikzpicture} - \path[fill=femtoyellowstrong, even odd rule] (0, 0) circle[radius=10px] - (0, 0) circle[radius=20px]; + \path[fill=femtoyellowstrong, even odd rule] (0, 0) circle[radius=10pt] + (0, 0) circle[radius=20pt]; \end{tikzpicture} }; % white dot arc \node[anchor=center, inner sep=0] at ($(current page.north west) + (6cm, 0)$) { \begin{tikzpicture} - \path[pattern color=white, pattern={Dots[distance=2px]}, even odd rule] (0, 0) circle[radius=10px] - (0, 0) circle[radius=20px]; + \path[pattern color=white, pattern={Dots[distance=2pt]}, even odd rule] (0, 0) circle[radius=10pt] + (0, 0) circle[radius=20pt]; \end{tikzpicture} }; @@ -57,8 +57,8 @@ -1.5cm)$) { % white cross arc \begin{tikzpicture} - \path[fill=white] (0, 0) rectangle (30px, 10px); - \path[fill=white] (10px, 20px) rectangle (20px, -10px); + \path[fill=white] (0, 0) rectangle (30pt, 10pt); + \path[fill=white] (10pt, 20pt) rectangle (20pt, -10pt); \end{tikzpicture} }; @@ -67,8 +67,8 @@ -1.9cm)$) { % white cross arc \begin{tikzpicture} - \path[fill=femtopurplestrong] (0, 0) rectangle (-20px, 10px); - \path[fill=femtopurplestrong] (0, 0) rectangle (-10px, 20px); + \path[fill=femtopurplestrong] (0, 0) rectangle (-20pt, 10pt); + \path[fill=femtopurplestrong] (0, 0) rectangle (-10pt, 20pt); \end{tikzpicture} }; \end{tikzpicture} @@ -120,8 +120,8 @@ \begin{tikzpicture}[remember picture, overlay] \node[anchor=south west] at ($(current page.south west) + (1mm, 9mm)$) { \begin{tikzpicture} - \path[fill=\@femtomaincolor] (0, 0) -- (16px, 0) -- (16px, - 8px) -- (8px, 8px)--(8px, 16px) -- (0, 16px); + \path[fill=\@femtomaincolor] (0, 0) -- (16pt, 0) -- (16pt, + 8pt) -- (8pt, 8pt)--(8pt, 16pt) -- (0, 16pt); \end{tikzpicture} }; \end{tikzpicture} @@ -130,19 +130,19 @@ \begin{tikzpicture}[remember picture, overlay] \node[anchor=north east, inner sep=0] at ($(current page.north east) + (-3mm, -3mm)$) { \begin{tikzpicture}[] - \path[fill=\@femtolightcolor] (0, 0) -- (12px, 0) -- (12px, - 20px) - -- (24px, 20px) -- (24px, 32px) -- (12px, 32px) -- (12px, - 44px) - --(12px, 44px) arc[start angle=0, end angle=90, - radius=28px] (-16px, 72px) - -- (-16px, 72px) -- (-36px, 72px) -- (-36px, 60px) -- - (-16px, 60px) - -- (-16px, 60px) arc[start angle=90, end angle=0, - radius=16px] - -- (0px, 44px) -- (0px, 32px) -- (-12px, 32px) -- - (-12px, 20px) -- (0px, 20px) -- (0px, 0px); - \path[fill=\@femtolightcolor] (12px, 60px) rectangle (24px, 72px); + \path[fill=\@femtolightcolor] (0, 0) -- (12pt, 0) -- (12pt, + 20pt) + -- (24pt, 20pt) -- (24pt, 32pt) -- (12pt, 32pt) -- (12pt, + 44pt) + --(12pt, 44pt) arc[start angle=0, end angle=90, + radius=28pt] (-16pt, 72pt) + -- (-16pt, 72pt) -- (-36pt, 72pt) -- (-36pt, 60pt) -- + (-16pt, 60pt) + -- (-16pt, 60pt) arc[start angle=90, end angle=0, + radius=16pt] + -- (0pt, 44pt) -- (0pt, 32pt) -- (-12pt, 32pt) -- + (-12pt, 20pt) -- (0pt, 20pt) -- (0pt, 0pt); + \path[fill=\@femtolightcolor] (12pt, 60pt) rectangle (24pt, 72pt); \end{tikzpicture} }; \end{tikzpicture} -- 1.7.10.4