| 1 |
% \iffalse meta-comment |
| 2 |
%<*driver> |
| 3 |
\ProvidesFile{SFEE.dtx} |
| 4 |
%</driver> |
| 5 |
%<class>\NeedsTeXFormat{LaTeX2e} |
| 6 |
%<class>\ProvidesClass{SFEE}[2023/11/23 version1.0] |
| 7 |
%<*driver> |
| 8 |
\documentclass{ltxdoc} |
| 9 |
\EnableCrossrefs |
| 10 |
\CodelineIndex |
| 11 |
\RecordChanges |
| 12 |
\begin{document} |
| 13 |
\DocInput{SFEE.dtx} |
| 14 |
\end{document} |
| 15 |
%</driver> |
| 16 |
% \fi |
| 17 |
% |
| 18 |
% \CheckSum{0} |
| 19 |
% \CharacterTable |
| 20 |
% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z |
| 21 |
% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z |
| 22 |
% Digits \0\1\2\3\4\5\6\7\8\9 |
| 23 |
% Exclamation \! Double quote \" Hash (number) \# |
| 24 |
% Dollar \$ Percent \% Ampersand \& |
| 25 |
% Acute accent \' Left paren \( Right paren \) |
| 26 |
% Asterisk \* Plus \+ Comma \, |
| 27 |
% Minus \- Point \. Solidus \/ |
| 28 |
% Colon \: Semicolon \; Less than \< |
| 29 |
% Equals \= Greater than \> Question mark \? |
| 30 |
% Commercial at \@ Left bracket \[ Backslash \\ |
| 31 |
% Right bracket \] Circumflex \^ Underscore \_ |
| 32 |
% Grave accent \` Left brace \{ Vertical bar \| |
| 33 |
% Right brace \} Tilde \~} |
| 34 |
% |
| 35 |
% \GetFileInfo{SFEE.dtx} |
| 36 |
% |
| 37 |
% \title{The \textsf{SFEE} class} |
| 38 |
% |
| 39 |
% \author{Juan de Anda Suárez\\ |
| 40 |
% Tecnológico Nacional de México/ITS Purísima del Rincón\\ |
| 41 |
% \texttt{[email protected]}} |
| 42 |
% |
| 43 |
% \date{\filedate} |
| 44 |
% |
| 45 |
% \changes{v1.0}{2023/11/23}{First public release} |
| 46 |
% |
| 47 |
% \makeatletter |
| 48 |
% \def\headlinecolor{\@normalcolor} |
| 49 |
% \makeatother |
| 50 |
% |
| 51 |
% \maketitle |
| 52 |
% |
| 53 |
% \StopEventually{\PrintChanges} |
| 54 |
% |
| 55 |
% \section{Introduction} |
| 56 |
% |
| 57 |
% The \textsf{SFEE} class is designed for the "Smart Factory and Efficiency Energy" journal. |
| 58 |
% |
| 59 |
% \section{Installation} |
| 60 |
% |
| 61 |
% To install the \textsf{SFEE} class, simply place the file \texttt{SFEE.cls} in a directory where \LaTeX{} can find it. |
| 62 |
% |
| 63 |
% \section{Usage} |
| 64 |
% |
| 65 |
% To use the \textsf{SFEE} class, simply use the command \verb|\documentclass{SFEE}| in your \LaTeX{} document preamble. |
| 66 |
% |
| 67 |
% \section{Documentation} |
| 68 |
% |
| 69 |
% Documentation for the \textsf{SFEE} class is provided within this \texttt{.dtx} file. Run \LaTeX{} on this file to produce the documentation. |
| 70 |
% |
| 71 |
% \section{Bug Reports and Feedback} |
| 72 |
% |
| 73 |
% Please report any bugs or issues to the author at \texttt{[email protected]}. |
| 74 |
% |
| 75 |
% \section{License} |
| 76 |
% |
| 77 |
% This work is released under the LaTeX Project Public License, version 1.3c or later. |
| 78 |
% |
| 79 |
% \begin{filecontents*}{SFEE.cls} |
| 80 |
\NeedsTeXFormat{LaTeX2e} |
| 81 |
\ProvidesClass{SFEE}[2023/11/23 version1.0] |
| 82 |
|
| 83 |
\LoadClass[journal,noindent,headline]{paper} |
| 84 |
%\LoadClass[10pt,letterpaper,twocolumn]{article} |
| 85 |
|
| 86 |
\usepackage{xcolor} |
| 87 |
\usepackage{mdframed} |
| 88 |
\usepackage{graphicx} |
| 89 |
\usepackage{academicons} |
| 90 |
\usepackage{svg} |
| 91 |
\usepackage{yfonts,color} |
| 92 |
\usepackage{datetime} |
| 93 |
\usepackage{etoolbox} |
| 94 |
\usepackage{ccicons} |
| 95 |
|
| 96 |
\newcommand{\headlinecolor}{\normalcolor} |
| 97 |
|
| 98 |
\RequirePackage{xcolor} |
| 99 |
\definecolor{slcolor}{HTML}{882B21} |
| 100 |
|
| 101 |
\let\Abstract\abstract %color al abstract |
| 102 |
\long\def\abstract{\mdframed[backgroundcolor=black!12,hidealllines=true] |
| 103 |
\vspace*{-0.5\baselineskip}\Abstract} |
| 104 |
\let\endAbstract\endabstract |
| 105 |
\def\endabstract{\endAbstract\endmdframed\par\bigskip} |
| 106 |
|
| 107 |
\newcommand\doi[1]{\renewcommand\@doi{doi:10.61794/#1}} |
| 108 |
\newcommand\@doi{} |
| 109 |
|
| 110 |
\newcommand\received[1]{\renewcommand\@received{Received #1}} |
| 111 |
\newcommand\@received{} |
| 112 |
|
| 113 |
\newcommand\accepted[1]{\renewcommand\@accepted{Accepted #1}} |
| 114 |
\newcommand\@accepted{} |
| 115 |
|
| 116 |
\newcommand\Vol[1]{\renewcommand\@Vol{#1}} |
| 117 |
\newcommand\@Vol{} |
| 118 |
|
| 119 |
\newcommand\ppInit[1]{\renewcommand\@ppInit{#1}} |
| 120 |
\newcommand\@ppInit{} |
| 121 |
|
| 122 |
\newcommand\ppEnd[1]{\renewcommand\@ppEnd{#1}} |
| 123 |
\newcommand\@ppEnd{} |
| 124 |
|
| 125 |
\newcommand\ISSN[1]{\renewcommand\@ISSN{#1}} |
| 126 |
\newcommand\@ISSN{} |
| 127 |
|
| 128 |
\oddrunhead{SFEE, Vol. \textsc{\@Vol}, ISSN ???-???, pp. \@ppInit-\@ppEnd} |
| 129 |
|
| 130 |
\DeclareOption{onecolumn}{\OptionNotUsed} |
| 131 |
\DeclareOption{green}{\renewcommand{\headlinecolor}{\color{green}}} |
| 132 |
\DeclareOption{red}{\renewcommand{\headlinecolor}{\color{slcolor}}} |
| 133 |
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} |
| 134 |
\ProcessOptions\relax |
| 135 |
|
| 136 |
\newcounter{fnote} |
| 137 |
\def\fnmark[#1]{\let\comma\@empty |
| 138 |
\def\@fnmark{\@for\@@fnmark:=#1\do{% |
| 139 |
\edef\fnotenum{\@ifundefined{X@\@@fnmark}{1}{\Ref{\@@fnmark}}}% |
| 140 |
\unskip\comma\fnotenum\let\comma,}}% |
| 141 |
} |
| 142 |
|
| 143 |
%\fancyfoot[C]{\tiny Copyright \textcopyright\ 2009 All rights reserved. Duplication for purposes of any kind is strictly forbidden.} |
| 144 |
|
| 145 |
\RequirePackage{authblk} |
| 146 |
\renewcommand{\maketitle}{% |
| 147 |
\twocolumn[% |
| 148 |
\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 |
| 149 |
\fontsize{15}{15}\fontfamily{phv}\fontseries{b}% |
| 150 |
\fontshape{sl}\selectfont\headlinecolor |
| 151 |
\textbf{\@title} \vskip 4pt |
| 152 |
\fontsize{12}{12}\fontfamily{phv}\fontseries{b}% |
| 153 |
\setcounter{footnote}{0}% |
| 154 |
\fontshape{sl}\selectfont\headlinecolor |
| 155 |
\@author \vskip 4pt |
| 156 |
\@doi \vskip 3pt |
| 157 |
\@received ; \@accepted |
| 158 |
]% |
| 159 |
\vskip 4pt |
| 160 |
\renewcommand{\AB@affillist}{} |
| 161 |
\renewcommand{\AB@authlist}{} |
| 162 |
\setcounter{authors}{0} |
| 163 |
\typeout{Article: \@shortauthor} |
| 164 |
%\setcounter{affil}{0}% |
| 165 |
\setcounter{section}{0}% |
| 166 |
\setcounter{subsection}{0}% |
| 167 |
\setcounter{subsubsection}{0}% |
| 168 |
\setcounter{paragraph}{0}% |
| 169 |
\setcounter{subparagraph}{0}% |
| 170 |
\setcounter{figure}{0}% |
| 171 |
\setcounter{table}{0}% |
| 172 |
\setcounter{equation}{0}% |
| 173 |
} |
| 174 |
%biography |
| 175 |
%Biography with a photograph |
| 176 |
\newcommand{\authorcontribution}[1]{% |
| 177 |
\begin{wrapfigure}{l}{25mm} |
| 178 |
\includegraphics[width=1in,height=1.25in,clip,keepaspectratio]{#1} |
| 179 |
\end{wrapfigure} |
| 180 |
} |
| 181 |
|
| 182 |
\newenvironment{AuthorContribution}{% |
| 183 |
\section*{Author contribution} |
| 184 |
}{} |
| 185 |
|
| 186 |
\newcommand{\dataavailability}[2]{% |
| 187 |
\section*{Data availability} |
| 188 |
\small |
| 189 |
#1 \\ |
| 190 |
\setlength{\Urlmuskip}{0mu plus 1mu} |
| 191 |
\textbf{GitHub repository:} \url{#2} |
| 192 |
} |
| 193 |
\newcommand{\codeavailability}[2]{% |
| 194 |
\section*{Code availability} |
| 195 |
\small |
| 196 |
#1 \\ |
| 197 |
\setlength{\Urlmuskip}{0mu plus 1mu} |
| 198 |
\textbf{GitHub repository:} \url{#2} |
| 199 |
} |
| 200 |
\endinput |
| 201 |
%</class> |
| 202 |
\end{filecontents*} |
| 203 |
|
| 204 |
\end{document} |
| 205 |
|