From c5a2b996ae14f24d174cd68b44fb854752961036 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Tue, 15 Sep 2020 03:02:49 +0000 Subject: CTAN sync 202009150302 --- support/lua/light-latex-make/llmk-logo-code.tex | 43 +++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 support/lua/light-latex-make/llmk-logo-code.tex (limited to 'support/lua/light-latex-make/llmk-logo-code.tex') diff --git a/support/lua/light-latex-make/llmk-logo-code.tex b/support/lua/light-latex-make/llmk-logo-code.tex new file mode 100644 index 0000000000..3201ed0fd4 --- /dev/null +++ b/support/lua/light-latex-make/llmk-logo-code.tex @@ -0,0 +1,43 @@ +% +% This is LaTeX source for the llmk logo. +% +% Copyright 2018-2020 Takuto ASAKURA (wtsnjp) +% GitHub: https://github.com/wtsnjp +% Twitter: @wtsnjp +% +% The llmk package is distributed under the MIT License. +% + +\newlength{\llmkLogoUnit} +\newcommand{\llmkLogo}[1][1]{\bgroup + % scale + \pgfmathsetlength{\llmkLogoUnit}{0.2cm * (#1)}% + % colors + % - paleturquoise (RGB: 143, 229, 216; CMYK: 38, 0, 6, 10) + \definecolor{color1}{RGB}{143, 229, 216}% + % - symphony blue (RGB: 24, 87, 227; CMYK: 92, 63, 0, 0) + \definecolor{color2}{RGB}{24, 87, 227}% + % - obaku (RGB: 255, 242, 127; CMYK: 1, 5, 62, 0) + \definecolor{color3}{RGB}{255, 242, 127}% + % shapes + \pgfdeclarelayer{bg}% + \pgfsetlayers{bg,main}% + \tikzstyle{octagon} = [ + shape = regular polygon, + regular polygon sides = 8 + ]% + \tikzstyle{star} = [ + shape = star, + star point ratio = 1.3, + star points = 8 + ]% + \begin{tikzpicture}[scale=#1, every node/.style={scale=#1}] + \node [circle, minimum width = {5\llmkLogoUnit}, fill = color1] (n1) {}; + \node [octagon, minimum width = {5\llmkLogoUnit}, fill = color2, right = {2\llmkLogoUnit of n1}] (n2) {}; + \node [star, minimum width = {5\llmkLogoUnit}, fill = color3, right = {2\llmkLogoUnit of n2}] (n3) {}; + \begin{pgfonlayer}{bg} + \draw [line width=.25\llmkLogoUnit, shorten <= -\llmkLogoUnit, shorten >= -\llmkLogoUnit] (n1) -- (n3); + \end{pgfonlayer}% + \end{tikzpicture}\egroup} + +% EOF -- cgit v1.2.3