From 852e2ca7c53e7e99d79750175f987382fd4666f5 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 27 Nov 2023 20:41:51 +0000 Subject: vectorlogos (27nov23) git-svn-id: svn://tug.org/texlive/trunk@68986 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/vectorlogos/README.md | 18 ++ .../doc/latex/vectorlogos/vectorlogos-doc.pdf | Bin 0 -> 430507 bytes .../doc/latex/vectorlogos/vectorlogos-doc.tex | 359 +++++++++++++++++++++ .../tex/latex/vectorlogos/vectorlogo-emacs-alt.pdf | Bin 0 -> 4280 bytes .../tex/latex/vectorlogos/vectorlogo-emacs.pdf | Bin 0 -> 11202 bytes .../latex/vectorlogos/vectorlogo-geogebra-icon.pdf | Bin 0 -> 1528 bytes .../tex/latex/vectorlogos/vectorlogo-geogebra.pdf | Bin 0 -> 4837 bytes .../latex/vectorlogos/vectorlogo-scratch-alt.pdf | Bin 0 -> 7337 bytes .../latex/vectorlogos/vectorlogo-scratch-cat.pdf | Bin 0 -> 2958 bytes .../tex/latex/vectorlogos/vectorlogo-scratch.pdf | Bin 0 -> 6285 bytes .../latex/vectorlogos/vectorlogo-texmaker-alt.pdf | Bin 0 -> 29815 bytes .../tex/latex/vectorlogos/vectorlogo-texmaker.pdf | Bin 0 -> 15269 bytes .../tex/latex/vectorlogos/vectorlogo-texstudio.pdf | Bin 0 -> 23580 bytes .../tex/latex/vectorlogos/vectorlogos.sty | 74 +++++ Master/tlpkg/bin/tlpkg-ctan-check | 2 +- Master/tlpkg/libexec/ctan2tds | 1 + Master/tlpkg/tlpsrc/collection-pictures.tlpsrc | 1 + Master/tlpkg/tlpsrc/vectorlogos.tlpsrc | 0 18 files changed, 454 insertions(+), 1 deletion(-) create mode 100644 Master/texmf-dist/doc/latex/vectorlogos/README.md create mode 100644 Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.pdf create mode 100644 Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.tex create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs-alt.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra-icon.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-alt.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-cat.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker-alt.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texstudio.pdf create mode 100644 Master/texmf-dist/tex/latex/vectorlogos/vectorlogos.sty create mode 100644 Master/tlpkg/tlpsrc/vectorlogos.tlpsrc diff --git a/Master/texmf-dist/doc/latex/vectorlogos/README.md b/Master/texmf-dist/doc/latex/vectorlogos/README.md new file mode 100644 index 00000000000..2f18c34c140 --- /dev/null +++ b/Master/texmf-dist/doc/latex/vectorlogos/README.md @@ -0,0 +1,18 @@ +vectorlogos is a package with vectorial logos of some 'classic' softwares. +-------------------------------------------------------------------------- +vectorlogos est un package des logos vectoriels de logiciels 'classiques'. +-------------------------------------------------------------------------- +Author...........: Cédric Pierquet +email............: cpierquet@outlook.fr +Licence..........: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt +Sources..........: I converted the logos from their original SVG or other forms, as found on the given urls, to PDF +Scratch..........: Public https://commons.wikimedia.org/wiki/File:Scratchlogo.svg +Scratch alt......: Public https://commons.wikimedia.org/wiki/File:Scratchlogo.svg +Scratch cat......: CC40 https://fr.scratch-wiki.info/wiki/Fichier:Scratch_Cat_(cat-a).svg +Texstudio........: FREE https://en.m.wikipedia.org/wiki/File:TeXstudio_Logo.svg +Emacs............: FREE https://commons.wikimedia.org/wiki/File:EmacsIcon.svg +Emacs alt........: FREE https://fr.m.wikipedia.org/wiki/Fichier:Emacs-logo.svg +Geogebra.........: CC30 https://wiki.geogebra.org/en/File:Geogebra-logo-name.svg +Geogebra icon....: CC30 https://fr.m.wikipedia.org/wiki/Fichier:Geogebra.svg +Texmaker.........: FREE https://en.wikipedia.org/wiki/File:TeXmaker_Logo.svg +Texmaker old.....: FREE https://en.wikipedia.org/wiki/File:TeXmaker_New_Logo.svg diff --git a/Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.pdf b/Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.pdf new file mode 100644 index 00000000000..18c36596983 Binary files /dev/null and b/Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.pdf differ diff --git a/Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.tex b/Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.tex new file mode 100644 index 00000000000..38b78876baa --- /dev/null +++ b/Master/texmf-dist/doc/latex/vectorlogos/vectorlogos-doc.tex @@ -0,0 +1,359 @@ +% !TeX TXS-program:compile = txs:///pdflatex + +\documentclass[11pt,a4paper]{ltxdoc} +\usepackage{crimson} +\renewcommand*\ttdefault{cmvtt} +\usepackage[T1]{fontenc} +\usepackage{cabin} +\usepackage{vectorlogos} +\usepackage{fancyvrb} +\usepackage{fancyhdr} +\usepackage{tabularray} +\usepackage{fontawesome5} +\fancyhf{} +\renewcommand{\headrulewidth}{0pt} +\lfoot{\sffamily\small [vectorlogos]} +\cfoot{\sffamily\small - \thepage{} -} +\rfoot{\hyperlink{matoc}{\small\faArrowAltCircleUp[regular]}} +\usepackage{hologo} +\providecommand\tikzlogo{Ti\textit{k}Z} +\providecommand\TeXLive{\TeX{}Live\xspace} +\providecommand\PSTricks{\textsf{PSTricks}\xspace} +\let\pstricks\PSTricks +\let\TikZ\tikzlogo + +\usepackage{hyperref} +\urlstyle{same} +\hypersetup{pdfborder=0 0 0} +\usepackage[margin=2cm]{geometry} +\setlength{\parindent}{0pt} +\def\TPversion{0.1.1} +\def\TPdate{27/11/2023} +\usepackage{tcolorbox} +\tcbuselibrary{skins,hooks,listingsutf8} +\usepackage{soul} +\sethlcolor{lightgray!25} +\NewDocumentCommand\MontreCode{ m }{% + \hl{\vphantom{\texttt{pf}}\texttt{#1}}% +} + +\begin{document} + +\pagestyle{fancy} + +\thispagestyle{empty} + +\begin{center} + \begin{minipage}{0.88\linewidth} + \begin{tcolorbox}[colframe=yellow,colback=yellow!15] + \begin{center} + \begin{tabular}{c} + {\Huge \texttt{vectorlogos}}\\ + \\ + {\LARGE Insert, 'inline', vectorial,} \\ + {\LARGE logos of 'classic' softwares.} \\ + \\ + {\small \texttt{Version \TPversion{} -- \TPdate}} + \end{tabular} + \end{center} + \end{tcolorbox} +\end{minipage} +\end{center} + +\begin{center} + \begin{tabular}{c} + \texttt{Cédric Pierquet}\\ + {\ttfamily c pierquet -- at -- outlook . fr}\\ + \texttt{\url{https://github.com/cpierquet/vectorlogos}} \\ +\end{tabular} +\end{center} + +\hrule + +\vfill + +\begin{tcolorbox}[colframe=lightgray,colback=lightgray!5] +\begin{center} +%\scalebox{4}[4]{\logopython}\hspace{1cm}\scalebox{4}[4]{\logopython[notm]}\hspace{1cm}\scalebox{4}[4]{\logopython[vertical]} +% +%\medskip +% +%\scalebox{4}[4]{\logopython[icon]}\hspace{1cm}\scalebox{4}[4]{\logopython[powh]}\hspace{1cm}\scalebox{4}[4]{\logopython[powv]} + +\medskip + +\scalebox{4}[4]{\logogeogebra}\hspace{1cm}\scalebox{4}[4]{\logogeogebra[icon]} + +\medskip + +\scalebox{4}[4]{\logoscratch}\hspace{1cm}\scalebox{4}[4]{\logoscratch[alt]}\hspace{1cm}\scalebox{4}[4]{\logoscratch[cat]} + +\medskip + +\scalebox{4}[4]{\logotexstudio} + +\medskip + +\scalebox{4}[4]{\logoemacs}\scalebox{4}[4]{\logoemacs[alt]} + +\medskip + +\scalebox{4}[4]{\logotexmaker}\scalebox{4}[4]{\logotexmaker[alt]} +\end{center} +\end{tcolorbox} + +\vfill~ + +\hrule + +\medskip + +\emph{% +Logos came with GNU GPL or CC BY-SA (3.0 or 4.0) license.\\ +Some brand icons/logos are trademarks of their respective owners. Please do not use brand icons/logos for any purpose except to represent the company, product, or service to which they refer.%\\ +%"Python" and the Python Logo are trademarks of the Python Software Foundation (\url{https://www.python.org/psf/trademarks/}).% +} + +\medskip + +\hrule + +\vspace*{5mm} + +\pagebreak + +\phantomsection + +\hypertarget{matoc}{} + +\tableofcontents + +\vspace*{5mm} + +\hrule + +\vspace*{5mm} + +\section{Introduction} + +\subsection{Description, loading} + +With this package you can insert inline (vectorial) logos of 'classic' softwares. + +The format of the logos is \textsf{pdf}, from \textsf{svg} files (given by \textsf{GNU GPL} or \textsf{CC-BY-3.0} licenses). + +\medskip + +Each logo can be integrated within a classic \MontreCode{\textbackslash includegraphics} command. + +The package provides macros to insert them \textit{inline}, with automatic height and alignment. + +\medskip + +To load the package, simply use : + +\begin{quote} +\begin{verbatim} +\usepackage{vectorlogos} +\end{verbatim} +\end{quote} + +\subsection{Available logos, by name, for manual insertion} + +Available logos are : + +\medskip + +\begin{tblr}{width=\linewidth,colspec={Q[m,l]Q[l,m]X[m,l]},cells={font=\LARGE\ttfamily,bg=teal!5},column{1}={font=\LARGE\bfseries\sffamily}} +% python & vectorlogo-python.pdf & \logopython\ \\ +% & vectorlogo-python-icon.pdf & \logopython[icon] \\ +% & vectorlogo-python-notm.pdf & \logopython[notm] \\ +% & vectorlogo-python-powh.pdf & \logopython[powh] \\ +% & vectorlogo-python-powv.pdf & \logopython[powv] \\ +% & vectorlogo-python-vertical.pdf & \logopython[vertical] \\ + \hline + emacs & vectorlogo-emacs.pdf & \logoemacs\ \\ + & vectorlogo-emacs-alt.pdf & \logoemacs[alt] \\ + \hline + geogebra & vectorlogo-geogebra.pdf & \logogeogebra\ \\ + & vectorlogo-geogebra-icon.pdf & \logogeogebra[icon] \\ + \hline + scratch & vectorlogo-scratch.pdf & \logoscratch\ \\ + & vectorlogo-scratch-alt.pdf & \logoscratch[alt] \\ + & vectorlogo-scratch-cat.pdf & \logoscratch[cat] \\ + \hline + texmaker & vectorlogo-texmaker.pdf & \logotexmaker\ \\ + & vectorlogo-texmaker-alt.pdf & \logotexmaker[alt] \\ + \hline + texstudio & vectorlogo-texstudio.pdf & \logotexstudio\ \\ +\end{tblr} + +\pagebreak + +\section{The macros} + +\subsection{A simple generic macro} + +In order to insert a vectorial logo, simpy use : + +\begin{quote} +\begin{verbatim} +\simplevectorlogo[options includegraphics]{name} +\end{verbatim} +\end{quote} + +There's no automatic height or raising, it's just an \textit{alias} of a classic \MontreCode{\textbackslash includegraphics} with the given names of the precedent tabular. + +%\begin{tcblisting}{} +%\simplevectorlogo[height=1.5cm]{scratch}\par +%\simplevectorlogo[height=4cm]{scratch-cat}\par +%\simplevectorlogo{python-vertical}\par +%\simplevectorlogo[scale=0.33]{texstudio}\par +%\simplevectorlogo{emacs}\par +%\simplevectorlogo[width=3cm]{geogebra-icon} +%\end{tcblisting} + +\begin{tcblisting}{} +\simplevectorlogo[height=1.5cm]{scratch}\par +\simplevectorlogo[height=4cm]{scratch-cat}\par +\simplevectorlogo[scale=0.33]{texstudio}\par +\simplevectorlogo{emacs}\par +\simplevectorlogo[width=3cm]{geogebra-icon} +\end{tcblisting} + +\pagebreak + +\subsection{A generic inline macro} + +In order to insert a vectorial logo inline, simpy use : + +\begin{quote} +\begin{verbatim} +\vectorlogo[option]{name} +\end{verbatim} +\end{quote} + +The height (automatically calculated) of the logo is given by : + +\begin{itemize} + \item 90\,\% of the box \fbox{qB} in the current font ; + \item raised 5\,\% bottom of the depth of \fbox{q} in the current font. +\end{itemize} + +Available \textsf{names} are : + +\begin{multicols}{3} + \begin{itemize} + %\item \texttt{python} + \item \texttt{emacs} + \item \texttt{geogebra} + \item \texttt{scratch} + \item \texttt{texmaker} + \item \texttt{texstudio} + \end{itemize} +\end{multicols} + +Available \textsf{options} are given by the suffix of alt logos. + +%\begin{tcblisting}{} +%%classic size and fonte : +%For example, it's a vectorial logo \vectorlogo{python} with inline insertion. +%\end{tcblisting} + +\begin{tcblisting}{} +%other font and other size +{\Large\sffamily For example, it's a vectorial logo \vectorlogo[icon]{geogebra} with inline insertion.} +\end{tcblisting} + +\begin{tcblisting}{} +%other font and other size +\scalebox{3.25}[3.25]{\ttfamily The cat \vectorlogo[cat]{scratch} logo, inline !} +\end{tcblisting} + +\subsection{Special commands} + +There's an other (shortcut) way to insert logos, with a shortcut-name, like in \textsf{fontawesome5} : +%\logopython[option] + +\begin{quote} +\begin{verbatim} +\logoscratch[option] +\logogeogebra[option] +\logotexstudio[option] +\logoemacs[option] +\logotexmaker[option] +\end{verbatim} +\end{quote} + +Available options are given by the suffix of alt logos. + +\pagebreak + +\section{Samples} + +\begin{tcblisting}{listing only} +%useful macro +\newcommand\samplevectorlogo[1]{{\LARGE Inline {#1} logo}\par} +\end{tcblisting} + +\newcommand\samplevectorlogo[1]{{\LARGE Inline {#1} logo}\par} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logogeogebra} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logogeogebra[icon]} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logoscratch} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logoscratch[alt]} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logoscratch[cat]} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logotexstudio} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logoemacs} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logoemacs[alt]} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logotexmaker} +\end{tcblisting} + +\begin{tcblisting}{listing side text} +\samplevectorlogo{\logotexmaker[alt]} +\end{tcblisting} + +%\samplevectorlogo{\logopython} +%\samplevectorlogo{\logopython[notm]} +%\samplevectorlogo{\logopython[vertical]} +%\samplevectorlogo{\logopython[icon]} +%\samplevectorlogo{\logopython[powh]} +%\samplevectorlogo{\logopython[powv]} + +\vfill~ + +\section{History} + +\begin{quote} +\begin{verbatim} +0.1.1 : Update licenses +0.1.0 : Initial version +\end{verbatim} +\end{quote} + +\end{document} \ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs-alt.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs-alt.pdf new file mode 100644 index 00000000000..3b7c7e61f11 Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs-alt.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs.pdf new file mode 100644 index 00000000000..2c8367b3aa8 Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-emacs.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra-icon.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra-icon.pdf new file mode 100644 index 00000000000..0ae91952b46 Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra-icon.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra.pdf new file mode 100644 index 00000000000..ce4de7706cc Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-geogebra.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-alt.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-alt.pdf new file mode 100644 index 00000000000..b49d809e180 Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-alt.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-cat.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-cat.pdf new file mode 100644 index 00000000000..072dad81d0a Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch-cat.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch.pdf new file mode 100644 index 00000000000..320050e2139 Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-scratch.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker-alt.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker-alt.pdf new file mode 100644 index 00000000000..bc8d701f82f Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker-alt.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker.pdf new file mode 100644 index 00000000000..da8848bb13c Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texmaker.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texstudio.pdf b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texstudio.pdf new file mode 100644 index 00000000000..b5732ff6a59 Binary files /dev/null and b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogo-texstudio.pdf differ diff --git a/Master/texmf-dist/tex/latex/vectorlogos/vectorlogos.sty b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogos.sty new file mode 100644 index 00000000000..f7d681f74fe --- /dev/null +++ b/Master/texmf-dist/tex/latex/vectorlogos/vectorlogos.sty @@ -0,0 +1,74 @@ +% Author..........: C. Pierquet +% licence.........: Released under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txtf +% Sources.........: I converted the logos from their original SVG or other forms, as found on the given urls, to PDF +% Scratch.........: Public https://commons.wikimedia.org/wiki/File:Scratchlogo.svg +% Scratch alt.....: Public https://commons.wikimedia.org/wiki/File:Scratchlogo.svg +% Scratch cat.....: CC40 https://fr.scratch-wiki.info/wiki/Fichier:Scratch_Cat_(cat-a).svg +% Texstudio.......: FREE https://en.m.wikipedia.org/wiki/File:TeXstudio_Logo.svg +% Emacs...........: FREE https://commons.wikimedia.org/wiki/File:EmacsIcon.svg +% Emacs alt.......: FREE https://fr.m.wikipedia.org/wiki/Fichier:Emacs-logo.svg +% Geogebra........: CC30 https://wiki.geogebra.org/en/File:Geogebra-logo-name.svg +% Geogebra icon...: CC30 https://fr.m.wikipedia.org/wiki/Fichier:Geogebra.svg +% Texmaker........: FREE https://en.wikipedia.org/wiki/File:TeXmaker_Logo.svg +% Texmaker old....: FREE https://en.wikipedia.org/wiki/File:TeXmaker_New_Logo.svg + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{vectorlogos}[2023/11/27 0.1.1 Vectorial logos of 'classic' softwares, for inline use.] + +%====HISTORY +% v 0.1.1 Licenses update +% v 0.1.0 Initial Version + +%====BASE +\RequirePackage{calc} +\RequirePackage{graphicx} +\RequirePackage{xstring} + +%====LENGTHS +\newlength{\tmp@logosvg@total@height} +\newlength{\tmp@logosvg@depth} + +%====MACRO CREATOR +\NewDocumentCommand\GenMacroLogoVect{ m m }{%1=macro,2=base,3=default + \NewDocumentCommand#1{ O{} }{% + \settototalheight{\tmp@logosvg@total@height}{\hbox{qB}}% + \settodepth{\tmp@logosvg@depth}{\hbox{q}}% + \IfFileExists{vectorlogo-#2-##1.pdf}% + {% + \raisebox{-\tmp@logosvg@depth+0.05\tmp@logosvg@total@height}{\includegraphics[height=0.9\tmp@logosvg@total@height]{vectorlogo-#2-##1.pdf}}% + }% + {% + \raisebox{-\tmp@logosvg@depth+0.05\tmp@logosvg@total@height}{\includegraphics[height=0.9\tmp@logosvg@total@height]{vectorlogo-#2.pdf}}% + }% + }% +} + +%====SIMPLE MACRO +\NewDocumentCommand\simplevectorlogo{ O{} m }{% + \IfFileExists{vectorlogo-#2.pdf}% + {% + \includegraphics[#1]{vectorlogo-#2.pdf}% + }% + {}% +} + +%====GENERIC MACROS +\NewDocumentCommand\vectorlogo{ O{logo} m }{% + %\IfEq{#2}{python}{\logopython[#1]}{}% + \IfEq{#2}{scratch}{\logoscratch[#1]}{}% + \IfEq{#2}{geogebra}{\logogeogebra[#1]}{}% + \IfEq{#2}{texstudio}{\logotexstudio[#1]}{}% + \IfEq{#2}{emacs}{\logoemacs[#1]}{}% + \IfEq{#2}{texmaker}{\logotexmaker[#1]}{}% +} + +%====SPECIFIC MACROS +%\GenMacroLogoVect{\logopython}{python} +\GenMacroLogoVect{\logoscratch}{scratch} +\GenMacroLogoVect{\logogeogebra}{geogebra} +\GenMacroLogoVect{\logotexstudio}{texstudio} +\GenMacroLogoVect{\logoemacs}{emacs} +\GenMacroLogoVect{\logotexmaker}{texmaker} + +\endinput \ No newline at end of file diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 1e62bfd606c..222c194014a 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -895,7 +895,7 @@ my @TLP_working = qw( uwa-colours uwa-letterhead uwa-pcf uwa-pif uwmslide uwthesis vak vancouver variablelm variations varindex varisize varsfromjobname varwidth vaucanson-g vcell vdmlisting - velthuis venn venndiagram venturisadf + vectorlogos velthuis venn venndiagram venturisadf verbasef verbatimbox verbatimcopy verbdef verbments verifica verifiche verse version versions versonotes vertbars vgrid diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 1be2ff322b2..57cdb4c6c9b 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -1878,6 +1878,7 @@ chomp (my $ctan_root = `tlpkginfo --ctan-root`); 'updatemarks' => '&POST_onelevel', 'uplatex' => '&POST_preserve_man', 'upmendex' => '&POSTupmendex', + 'vectorlogos' => '&POST_onelevel', 'velthuis' => '&POSTvelthuis', 'webquiz' => '&POST_deref_symlink', 'wordle' => '&POST_onelevel', diff --git a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc index 0302549771d..f79a6d10346 100644 --- a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc @@ -248,6 +248,7 @@ depend tufte-latex depend twemojis depend tzplot depend utfsym +depend vectorlogos depend venndiagram depend visualpstricks depend wheelchart diff --git a/Master/tlpkg/tlpsrc/vectorlogos.tlpsrc b/Master/tlpkg/tlpsrc/vectorlogos.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d -- cgit v1.2.3