1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
|
% \iffalse meta-comment
%<*driver>
\ProvidesFile{SFEE.dtx}
%</driver>
%<class>\NeedsTeXFormat{LaTeX2e}
%<class>\ProvidesClass{SFEE}[2023/11/23 version1.0]
%<*driver>
\documentclass{ltxdoc}
\EnableCrossrefs
\CodelineIndex
\RecordChanges
\begin{document}
\DocInput{SFEE.dtx}
\end{document}
%</driver>
% \fi
%
% \CheckSum{0}
% \CharacterTable
% {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
% 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
% Digits \0\1\2\3\4\5\6\7\8\9
% Exclamation \! Double quote \" Hash (number) \#
% Dollar \$ Percent \% Ampersand \&
% Acute accent \' Left paren \( Right paren \)
% Asterisk \* Plus \+ Comma \,
% Minus \- Point \. Solidus \/
% Colon \: Semicolon \; Less than \<
% Equals \= Greater than \> Question mark \?
% Commercial at \@ Left bracket \[ Backslash \\
% Right bracket \] Circumflex \^ Underscore \_
% Grave accent \` Left brace \{ Vertical bar \|
% Right brace \} Tilde \~}
%
% \GetFileInfo{SFEE.dtx}
%
% \title{The \textsf{SFEE} class}
%
% \author{Juan de Anda Suárez\\
% Tecnológico Nacional de México/ITS Purísima del Rincón\\
% \texttt{juan.ds@purisima.tecnm.mx}}
%
% \date{\filedate}
%
% \changes{v1.0}{2023/11/23}{First public release}
%
% \makeatletter
% \def\headlinecolor{\@normalcolor}
% \makeatother
%
% \maketitle
%
% \StopEventually{\PrintChanges}
%
% \section{Introduction}
%
% The \textsf{SFEE} class is designed for the "Smart Factory and Efficiency Energy" journal.
%
% \section{Installation}
%
% To install the \textsf{SFEE} class, simply place the file \texttt{SFEE.cls} in a directory where \LaTeX{} can find it.
%
% \section{Usage}
%
% To use the \textsf{SFEE} class, simply use the command \verb|\documentclass{SFEE}| in your \LaTeX{} document preamble.
%
% \section{Documentation}
%
% Documentation for the \textsf{SFEE} class is provided within this \texttt{.dtx} file. Run \LaTeX{} on this file to produce the documentation.
%
% \section{Bug Reports and Feedback}
%
% Please report any bugs or issues to the author at \texttt{juan.ds@purisima.tecnm.mx}.
%
% \section{License}
%
% This work is released under the LaTeX Project Public License, version 1.3c or later.
%
% \begin{filecontents*}{SFEE.cls}
\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>
\end{filecontents*}
\end{document}
|