diff options
author | Karl Berry <karl@freefriends.org> | 2024-03-21 19:49:22 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2024-03-21 19:49:22 +0000 |
commit | 59aacb242d3eadc50986aa956e0b2f9818d37915 (patch) | |
tree | 041446459a7cdf07413efabb2105ccf353fd929b /Master/texmf-dist/tex/latex | |
parent | cb185c12af0d1ac0c26db07c6bc5719032586411 (diff) |
sfee (21mar24)
git-svn-id: svn://tug.org/texlive/trunk@70716 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex')
-rw-r--r-- | Master/texmf-dist/tex/latex/sfee/SFEE.cls | 122 |
1 files changed, 122 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/sfee/SFEE.cls b/Master/texmf-dist/tex/latex/sfee/SFEE.cls new file mode 100644 index 00000000000..8a0688600dd --- /dev/null +++ b/Master/texmf-dist/tex/latex/sfee/SFEE.cls @@ -0,0 +1,122 @@ +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{SFEE}[2023/11/23 version1.0] + +\LoadClass[journal,noindent,headline]{paper} +%\LoadClass[10pt,letterpaper,twocolumn]{article} + +\usepackage{xcolor} +\usepackage{mdframed} +\usepackage{graphicx} +\usepackage{academicons} +\usepackage{svg} +\usepackage{yfonts,color} +\usepackage{datetime} +\usepackage{etoolbox} +\usepackage{ccicons} + +\newcommand{\headlinecolor}{\normalcolor} + +\RequirePackage{xcolor} +\definecolor{slcolor}{HTML}{882B21} + +\let\Abstract\abstract %color al abstract +\long\def\abstract{\mdframed[backgroundcolor=black!12,hidealllines=true] + \vspace*{-0.5\baselineskip}\Abstract} +\let\endAbstract\endabstract +\def\endabstract{\endAbstract\endmdframed\par\bigskip} + +\newcommand\doi[1]{\renewcommand\@doi{doi:10.61794/#1}} +\newcommand\@doi{} + +\newcommand\received[1]{\renewcommand\@received{Received #1}} +\newcommand\@received{} + +\newcommand\accepted[1]{\renewcommand\@accepted{Accepted #1}} +\newcommand\@accepted{} + +\newcommand\Vol[1]{\renewcommand\@Vol{#1}} +\newcommand\@Vol{} + +\newcommand\ppInit[1]{\renewcommand\@ppInit{#1}} +\newcommand\@ppInit{} + +\newcommand\ppEnd[1]{\renewcommand\@ppEnd{#1}} +\newcommand\@ppEnd{} + +\newcommand\ISSN[1]{\renewcommand\@ISSN{#1}} +\newcommand\@ISSN{} + +\oddrunhead{SFEE, Vol. \textsc{\@Vol}, ISSN ???-???, pp. \@ppInit-\@ppEnd} + +\DeclareOption{onecolumn}{\OptionNotUsed} +\DeclareOption{green}{\renewcommand{\headlinecolor}{\color{green}}} +\DeclareOption{red}{\renewcommand{\headlinecolor}{\color{slcolor}}} +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} +\ProcessOptions\relax + +\newcounter{fnote} +\def\fnmark[#1]{\let\comma\@empty + \def\@fnmark{\@for\@@fnmark:=#1\do{% + \edef\fnotenum{\@ifundefined{X@\@@fnmark}{1}{\Ref{\@@fnmark}}}% + \unskip\comma\fnotenum\let\comma,}}% +} + +%\fancyfoot[C]{\tiny Copyright \textcopyright\ 2009 All rights reserved. Duplication for purposes of any kind is strictly forbidden.} + +\RequirePackage{authblk} +\renewcommand{\maketitle}{% + \twocolumn[% + \raisebox{10pt}{\href{https://sfee.space/}{\includegraphics[width=7.61pc]{logo_sfee.png}}} \raisebox{25pt}{\href{https://purisima.tecnm.mx/}{\centering \color{blue} \textcopyright \textbf{\the\year\ Tecnológico Nacional de México/ITS Purísima del Rincón}}} \raisebox{21pt}{\href{https://creativecommons.org/licenses/by-nc/4.0/}{\color{black} \ccbync}} \par + \fontsize{15}{15}\fontfamily{phv}\fontseries{b}% + \fontshape{sl}\selectfont\headlinecolor + \textbf{\@title} \vskip 4pt + \fontsize{12}{12}\fontfamily{phv}\fontseries{b}% + \setcounter{footnote}{0}% + \fontshape{sl}\selectfont\headlinecolor + \@author \vskip 4pt + \@doi \vskip 3pt + \@received ; \@accepted + ]% + \vskip 4pt + \renewcommand{\AB@affillist}{} + \renewcommand{\AB@authlist}{} + \setcounter{authors}{0} + \typeout{Article: \@shortauthor} + %\setcounter{affil}{0}% + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \setcounter{subsubsection}{0}% + \setcounter{paragraph}{0}% + \setcounter{subparagraph}{0}% + \setcounter{figure}{0}% + \setcounter{table}{0}% + \setcounter{equation}{0}% +} +%biography +%Biography with a photograph +\newcommand{\authorcontribution}[1]{% + \begin{wrapfigure}{l}{25mm} + \includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{#1} + \end{wrapfigure} +} + +\newenvironment{AuthorContribution}{% + \section*{Author contribution} +}{} + +\newcommand{\dataavailability}[2]{% + \section*{Data availability} + \small + #1 \\ + \setlength{\Urlmuskip}{0mu plus 1mu} + \textbf{GitHub repository:} \url{#2} +} +\newcommand{\codeavailability}[2]{% + \section*{Code availability} + \small + #1 \\ + \setlength{\Urlmuskip}{0mu plus 1mu} + \textbf{GitHub repository:} \url{#2} +} +\endinput +%</class> |