mdpi.cls 71 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808
  1. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  2. %% %% MDPI class for LaTeX files 12-24-2017
  3. %% %% For any information please send an e-mail to:
  4. %% %% [email protected] (Dr. Janine Daum)
  5. %% %%
  6. %% %% Initial class provided by:
  7. %% %% Stefano Mariani
  8. %% %% Modified by:
  9. %% %% Dietrich Rordorf
  10. %% %% Peter Harremoes
  11. %% %% Zeno Schumacher
  12. %% %% Maddalena Giulini
  13. %% %% Andres Gartmann
  14. %% %% Dr. Janine Daum
  15. %% %% Versions:
  16. %% %% v1.0 before Dr. Janine Daum
  17. %% %% v2.0 when Dr. Janine Daum started (March 2013)
  18. %% %% v3.0 after layout change (September 2015)
  19. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
  20. %% IDENTIFICATION
  21. \NeedsTeXFormat{LaTeX2e}
  22. \ProvidesClass{mdpi}[2017/12/24 MDPI paper class]
  23. %%%% Copyright and citebox
  24. \AtEndDocument{\par \cright \par \vspace{12pt} \citebox}
  25. %% PRELIMINARY DECLARATIONS
  26. \LoadClass[10pt]{article}
  27. \RequirePackage[T1]{fontenc}
  28. \RequirePackage[utf8]{inputenc}
  29. \RequirePackage{calc}
  30. \RequirePackage{indentfirst}
  31. \RequirePackage{fancyhdr}
  32. \RequirePackage{graphicx,epstopdf}
  33. \RequirePackage{lastpage}
  34. \RequirePackage{ifthen}
  35. \RequirePackage{lineno}
  36. \RequirePackage{float}
  37. \RequirePackage{amsmath}
  38. \RequirePackage{setspace}
  39. \RequirePackage{enumitem}
  40. \RequirePackage{mathpazo}
  41. \RequirePackage{booktabs} % For \toprule etc. in tables
  42. \RequirePackage[largestsep]{titlesec}
  43. \RequirePackage{etoolbox} % For \AtBeginDocument etc.
  44. \RequirePackage{tabto} % To use tab for alignment on first page
  45. \RequirePackage{color} % To provide color for soul
  46. \RequirePackage{soul} % To highlight text
  47. \newcommand{\highlight}[1]{\colorbox{yellow}{#1}}
  48. \RequirePackage{multirow}
  49. \RequirePackage{microtype} % For command \textls[]{}
  50. \RequirePackage{tikz} % For Orcid icon
  51. %% OPTIONS
  52. %% To choose the journal
  53. \DeclareOption{test}{\gdef\@journal{test}}
  54. \DeclareOption{notspecified}{\gdef\@journal{notspecified}}
  55. \DeclareOption{actuators}{\gdef\@journal{actuators}}
  56. \DeclareOption{addictions}{\gdef\@journal{addictions}}
  57. \DeclareOption{admsci}{\gdef\@journal{admsci}}
  58. \DeclareOption{administrativesciences}{\gdef\@journal{admsci}} %to have backwards compatibility
  59. \DeclareOption{aerospace}{\gdef\@journal{aerospace}}
  60. \DeclareOption{agriculture}{\gdef\@journal{agriculture}}
  61. \DeclareOption{agronomy}{\gdef\@journal{agronomy}}
  62. \DeclareOption{algorithms}{\gdef\@journal{algorithms}}
  63. \DeclareOption{animals}{\gdef\@journal{animals}}
  64. \DeclareOption{antibiotics}{\gdef\@journal{antibiotics}}
  65. \DeclareOption{antibodies}{\gdef\@journal{antibodies}}
  66. \DeclareOption{antioxidants}{\gdef\@journal{antioxidants}}
  67. \DeclareOption{applsci}{\gdef\@journal{applsci}}
  68. \DeclareOption{appliedsciences}{\gdef\@journal{applsci}} %to have backwards compatibility
  69. \DeclareOption{arts}{\gdef\@journal{arts}}
  70. \DeclareOption{asi}{\gdef\@journal{asi}}
  71. \DeclareOption{atmosphere}{\gdef\@journal{atmosphere}}
  72. \DeclareOption{atoms}{\gdef\@journal{atoms}}
  73. \DeclareOption{axioms}{\gdef\@journal{axioms}}
  74. \DeclareOption{batteries}{\gdef\@journal{batteries}}
  75. \DeclareOption{bdcc}{\gdef\@journal{bdcc}}
  76. \DeclareOption{behavsci}{\gdef\@journal{behavsci}}
  77. \DeclareOption{behavioralsciences}{\gdef\@journal{behavsci}} %to have backwards compatibility
  78. \DeclareOption{beverages}{\gdef\@journal{beverages}}
  79. \DeclareOption{bioengineering}{\gdef\@journal{bioengineering}}
  80. \DeclareOption{biology}{\gdef\@journal{biology}}
  81. \DeclareOption{biomedicines}{\gdef\@journal{biomedicines}}
  82. \DeclareOption{biomimetics}{\gdef\@journal{biomimetics}}
  83. \DeclareOption{biomolecules}{\gdef\@journal{biomolecules}}
  84. \DeclareOption{biosensors}{\gdef\@journal{biosensors}}
  85. \DeclareOption{brainsci}{\gdef\@journal{brainsci}}
  86. \DeclareOption{brainsciences}{\gdef\@journal{brainsci}} %to have backwards compatibility
  87. \DeclareOption{buildings}{\gdef\@journal{buildings}}
  88. \DeclareOption{c}{\gdef\@journal{carbon}}%% for authors
  89. \DeclareOption{carbon}{\gdef\@journal{carbon}}
  90. \DeclareOption{cancers}{\gdef\@journal{cancers}}
  91. \DeclareOption{catalysts}{\gdef\@journal{catalysts}}
  92. \DeclareOption{cells}{\gdef\@journal{cells}}
  93. \DeclareOption{ceramics}{\gdef\@journal{ceramics}}
  94. \DeclareOption{challenges}{\gdef\@journal{challenges}}
  95. \DeclareOption{chemengineering}{\gdef\@journal{chemengineering}}
  96. \DeclareOption{chemosensors}{\gdef\@journal{chemosensors}}
  97. \DeclareOption{children}{\gdef\@journal{children}}
  98. \DeclareOption{climate}{\gdef\@journal{climate}}
  99. \DeclareOption{coatings}{\gdef\@journal{coatings}}
  100. \DeclareOption{colloids}{\gdef\@journal{colloids}}
  101. \DeclareOption{computation}{\gdef\@journal{computation}}
  102. \DeclareOption{computers}{\gdef\@journal{computers}}
  103. \DeclareOption{condensedmatter}{\gdef\@journal{condensedmatter}}
  104. \DeclareOption{cosmetics}{\gdef\@journal{cosmetics}}
  105. \DeclareOption{cryptography}{\gdef\@journal{cryptography}}
  106. \DeclareOption{crystals}{\gdef\@journal{crystals}}
  107. \DeclareOption{cybersecurity}{\gdef\@journal{cybersecurity}}
  108. \DeclareOption{data}{\gdef\@journal{data}}
  109. \DeclareOption{dentistry}{\gdef\@journal{dentistry}}
  110. \DeclareOption{dentistryjournal}{\gdef\@journal{dentistry}} %to have backwards compatibility
  111. \DeclareOption{designs}{\gdef\@journal{designs}}
  112. \DeclareOption{diagnostics}{\gdef\@journal{diagnostics}}
  113. \DeclareOption{diseases}{\gdef\@journal{diseases}}
  114. \DeclareOption{diversity}{\gdef\@journal{diversity}}
  115. \DeclareOption{drones}{\gdef\@journal{drones}}
  116. \DeclareOption{econometrics}{\gdef\@journal{econometrics}}
  117. \DeclareOption{economies}{\gdef\@journal{economies}}
  118. \DeclareOption{education}{\gdef\@journal{education}}
  119. \DeclareOption{educationsciences}{\gdef\@journal{education}} %to have backwards compatibility
  120. \DeclareOption{electrochemistry}{\gdef\@journal{electrochemistry}}
  121. \DeclareOption{electronics}{\gdef\@journal{electronics}}
  122. \DeclareOption{energies}{\gdef\@journal{energies}}
  123. \DeclareOption{entropy}{\gdef\@journal{entropy}}
  124. \DeclareOption{environments}{\gdef\@journal{environments}}
  125. \DeclareOption{epigenomes}{\gdef\@journal{epigenomes}}
  126. \DeclareOption{est}{\gdef\@journal{est}}
  127. \DeclareOption{fermentation}{\gdef\@journal{fermentation}}
  128. \DeclareOption{fibers}{\gdef\@journal{fibers}}
  129. \DeclareOption{fire}{\gdef\@journal{fire}}
  130. \DeclareOption{fishes}{\gdef\@journal{fishes}}
  131. \DeclareOption{fluids}{\gdef\@journal{fluids}}
  132. \DeclareOption{foods}{\gdef\@journal{foods}}
  133. \DeclareOption{forests}{\gdef\@journal{forests}}
  134. \DeclareOption{fractalfract}{\gdef\@journal{fractalfract}}
  135. \DeclareOption{futureinternet}{\gdef\@journal{futureinternet}}
  136. \DeclareOption{galaxies}{\gdef\@journal{galaxies}}
  137. \DeclareOption{games}{\gdef\@journal{games}}
  138. \DeclareOption{gastrointestdisord}{\gdef\@journal{gastrointestdisord}}
  139. \DeclareOption{gels}{\gdef\@journal{gels}}
  140. \DeclareOption{genealogy}{\gdef\@journal{genealogy}}
  141. \DeclareOption{genes}{\gdef\@journal{genes}}
  142. \DeclareOption{geosciences}{\gdef\@journal{geosciences}}
  143. \DeclareOption{geriatrics}{\gdef\@journal{geriatrics}}
  144. \DeclareOption{hazardousmatters}{\gdef\@journal{hazardousmatters}}
  145. \DeclareOption{healthcare}{\gdef\@journal{healthcare}}
  146. \DeclareOption{heritage}{\gdef\@journal{heritage}}
  147. \DeclareOption{highthroughput}{\gdef\@journal{highthroughput}}
  148. \DeclareOption{horticulturae}{\gdef\@journal{horticulturae}}
  149. \DeclareOption{humanities}{\gdef\@journal{humanities}}
  150. \DeclareOption{hydrology}{\gdef\@journal{hydrology}}
  151. \DeclareOption{informatics}{\gdef\@journal{informatics}}
  152. \DeclareOption{information}{\gdef\@journal{information}}
  153. \DeclareOption{infrastructures}{\gdef\@journal{infrastructures}}
  154. \DeclareOption{inorganics}{\gdef\@journal{inorganics}}
  155. \DeclareOption{insects}{\gdef\@journal{insects}}
  156. \DeclareOption{instruments}{\gdef\@journal{instruments}}
  157. \DeclareOption{ijerph}{\gdef\@journal{ijerph}}
  158. \DeclareOption{ijfs}{\gdef\@journal{ijfs}}
  159. \DeclareOption{ijms}{\gdef\@journal{ijms}}
  160. \DeclareOption{ijgi}{\gdef\@journal{ijgi}}
  161. \DeclareOption{ijtpp}{\gdef\@journal{ijtpp}}
  162. \DeclareOption{inventions}{\gdef\@journal{inventions}}
  163. \DeclareOption{j}{\gdef\@journal{jjournal}}
  164. \DeclareOption{jcdd}{\gdef\@journal{jcdd}}
  165. \DeclareOption{jcm}{\gdef\@journal{jcm}}
  166. \DeclareOption{jcs}{\gdef\@journal{jcs}}
  167. \DeclareOption{jdb}{\gdef\@journal{jdb}}
  168. \DeclareOption{jfb}{\gdef\@journal{jfb}}
  169. \DeclareOption{jfmk}{\gdef\@journal{jfmk}}
  170. \DeclareOption{jof}{\gdef\@journal{jof}}
  171. \DeclareOption{jimaging}{\gdef\@journal{jimaging}}
  172. \DeclareOption{jintelligence}{\gdef\@journal{jintelligence}}
  173. \DeclareOption{jlpea}{\gdef\@journal{jlpea}}
  174. \DeclareOption{jmmp}{\gdef\@journal{jmmp}}
  175. \DeclareOption{jmse}{\gdef\@journal{jmse}}
  176. \DeclareOption{jpm}{\gdef\@journal{jpm}}
  177. \DeclareOption{jrfm}{\gdef\@journal{jrfm}}
  178. \DeclareOption{jsan}{\gdef\@journal{jsan}}
  179. \DeclareOption{land}{\gdef\@journal{land}}
  180. \DeclareOption{languages}{\gdef\@journal{languages}}
  181. \DeclareOption{laws}{\gdef\@journal{laws}}
  182. \DeclareOption{life}{\gdef\@journal{life}}
  183. \DeclareOption{literature}{\gdef\@journal{literature}}
  184. \DeclareOption{logistics}{\gdef\@journal{logistics}}
  185. \DeclareOption{lubricants}{\gdef\@journal{lubricants}}
  186. \DeclareOption{machines}{\gdef\@journal{machines}}
  187. \DeclareOption{magnetochemistry}{\gdef\@journal{magnetochemistry}}
  188. \DeclareOption{make}{\gdef\@journal{make}}
  189. \DeclareOption{marinedrugs}{\gdef\@journal{marinedrugs}}
  190. \DeclareOption{materials}{\gdef\@journal{materials}}
  191. \DeclareOption{mathematics}{\gdef\@journal{mathematics}}
  192. \DeclareOption{mca}{\gdef\@journal{mca}}
  193. \DeclareOption{medsci}{\gdef\@journal{medsci}}
  194. \DeclareOption{medicalsciences}{\gdef\@journal{medsci}} %to have backwards compatibility
  195. \DeclareOption{medicines}{\gdef\@journal{medicines}}
  196. \DeclareOption{membranes}{\gdef\@journal{membranes}}
  197. \DeclareOption{metabolites}{\gdef\@journal{metabolites}}
  198. \DeclareOption{metals}{\gdef\@journal{metals}}
  199. \DeclareOption{microarrays}{\gdef\@journal{microarrays}}
  200. \DeclareOption{micromachines}{\gdef\@journal{micromachines}}
  201. \DeclareOption{microorganisms}{\gdef\@journal{microorganisms}}
  202. \DeclareOption{minerals}{\gdef\@journal{minerals}}
  203. \DeclareOption{modelling}{\gdef\@journal{modelling}}
  204. \DeclareOption{molbank}{\gdef\@journal{molbank}}
  205. \DeclareOption{molecules}{\gdef\@journal{molecules}}
  206. \DeclareOption{mps}{\gdef\@journal{mps}}
  207. \DeclareOption{mti}{\gdef\@journal{mti}}
  208. \DeclareOption{nanomaterials}{\gdef\@journal{nanomaterials}}
  209. \DeclareOption{ncrna}{\gdef\@journal{ncrna}}
  210. \DeclareOption{neonatalscreening}{\gdef\@journal{neonatalscreening}}
  211. \DeclareOption{neuroglia}{\gdef\@journal{neuroglia}}
  212. \DeclareOption{nitrogen}{\gdef\@journal{nitrogen}}
  213. \DeclareOption{nutrients}{\gdef\@journal{nutrients}}
  214. \DeclareOption{ohbm}{\gdef\@journal{ohbm}}
  215. \DeclareOption{particles}{\gdef\@journal{particles}}
  216. \DeclareOption{pathogens}{\gdef\@journal{pathogens}}
  217. \DeclareOption{pharmaceuticals}{\gdef\@journal{pharmaceuticals}}
  218. \DeclareOption{pharmaceutics}{\gdef\@journal{pharmaceutics}}
  219. \DeclareOption{pharmacy}{\gdef\@journal{pharmacy}}
  220. \DeclareOption{philosophies}{\gdef\@journal{philosophies}}
  221. \DeclareOption{photonics}{\gdef\@journal{photonics}}
  222. \DeclareOption{plants}{\gdef\@journal{plants}}
  223. \DeclareOption{plasma}{\gdef\@journal{plasma}}
  224. \DeclareOption{polymers}{\gdef\@journal{polymers}}
  225. \DeclareOption{polysaccharides}{\gdef\@journal{polysaccharides}}
  226. \DeclareOption{preprints}{\gdef\@journal{preprints}}
  227. \DeclareOption{proceedings}{\gdef\@journal{proceedings}}
  228. \DeclareOption{processes}{\gdef\@journal{processes}}
  229. \DeclareOption{proteomes}{\gdef\@journal{proteomes}}
  230. \DeclareOption{publications}{\gdef\@journal{publications}}
  231. \DeclareOption{quaternary}{\gdef\@journal{quaternary}}
  232. \DeclareOption{qubs}{\gdef\@journal{qubs}}
  233. \DeclareOption{recycling}{\gdef\@journal{recycling}}
  234. \DeclareOption{religions}{\gdef\@journal{religions}}
  235. \DeclareOption{remotesensing}{\gdef\@journal{remotesensing}}
  236. \DeclareOption{reports}{\gdef\@journal{reports}}
  237. \DeclareOption{resources}{\gdef\@journal{resources}}
  238. \DeclareOption{risks}{\gdef\@journal{risks}}
  239. \DeclareOption{robotics}{\gdef\@journal{robotics}}
  240. \DeclareOption{safety}{\gdef\@journal{safety}}
  241. \DeclareOption{scipharm}{\gdef\@journal{scipharm}}
  242. \DeclareOption{sensors}{\gdef\@journal{sensors}}
  243. \DeclareOption{separations}{\gdef\@journal{separations}}
  244. \DeclareOption{sexes}{\gdef\@journal{sexes}}
  245. \DeclareOption{sinusitis}{\gdef\@journal{sinusitis}}
  246. \DeclareOption{socsci}{\gdef\@journal{socsci}}
  247. \DeclareOption{socialsciences}{\gdef\@journal{socsci}} %to have backwards compatibility
  248. \DeclareOption{societies}{\gdef\@journal{societies}}
  249. \DeclareOption{soils}{\gdef\@journal{soils}}
  250. \DeclareOption{sports}{\gdef\@journal{sports}}
  251. \DeclareOption{standards}{\gdef\@journal{standards}}
  252. \DeclareOption{stats}{\gdef\@journal{stats}}
  253. \DeclareOption{surgeries}{\gdef\@journal{surgeries}}
  254. \DeclareOption{sustainability}{\gdef\@journal{sustainability}}
  255. \DeclareOption{symmetry}{\gdef\@journal{symmetry}}
  256. \DeclareOption{systems}{\gdef\@journal{systems}}
  257. \DeclareOption{technologies}{\gdef\@journal{technologies}}
  258. \DeclareOption{toxics}{\gdef\@journal{toxics}}
  259. \DeclareOption{toxins}{\gdef\@journal{toxins}}
  260. \DeclareOption{tropicalmed}{\gdef\@journal{tropicalmed}}
  261. \DeclareOption{universe}{\gdef\@journal{universe}}
  262. \DeclareOption{urbansci}{\gdef\@journal{urbansci}}
  263. \DeclareOption{vaccines}{\gdef\@journal{vaccines}}
  264. \DeclareOption{vetsci}{\gdef\@journal{vetsci}}
  265. \DeclareOption{veterinarysciences}{\gdef\@journal{vetsci}} %to have backwards compatibility
  266. \DeclareOption{vibration}{\gdef\@journal{vibration}}
  267. \DeclareOption{viruses}{\gdef\@journal{viruses}}
  268. \DeclareOption{vision}{\gdef\@journal{vision}}
  269. \DeclareOption{water}{\gdef\@journal{water}}
  270. \DeclareOption{wem}{\gdef\@journal{wem}}
  271. %% Uppercase will have the same effect
  272. \DeclareOption{Actuators}{\gdef\@journal{actuators}}
  273. \DeclareOption{Addictions}{\gdef\@journal{addictions}}
  274. \DeclareOption{Admsci}{\gdef\@journal{admsci}}
  275. \DeclareOption{Administrativesciences}{\gdef\@journal{admsci}} %to have backwards compatibility
  276. \DeclareOption{Aerospace}{\gdef\@journal{aerospace}}
  277. \DeclareOption{Agriculture}{\gdef\@journal{agriculture}}
  278. \DeclareOption{Agronomy}{\gdef\@journal{agronomy}}
  279. \DeclareOption{Algorithms}{\gdef\@journal{algorithms}}
  280. \DeclareOption{Animals}{\gdef\@journal{animals}}
  281. \DeclareOption{Antibiotics}{\gdef\@journal{antibiotics}}
  282. \DeclareOption{Antibodies}{\gdef\@journal{antibodies}}
  283. \DeclareOption{Antioxidants}{\gdef\@journal{antioxidants}}
  284. \DeclareOption{Applsci}{\gdef\@journal{applsci}}
  285. \DeclareOption{Appliedsciences}{\gdef\@journal{applsci}} %to have backwards compatibility
  286. \DeclareOption{Arts}{\gdef\@journal{arts}}
  287. \DeclareOption{ASI}{\gdef\@journal{asi}}
  288. \DeclareOption{Atmosphere}{\gdef\@journal{atmosphere}}
  289. \DeclareOption{Atoms}{\gdef\@journal{atoms}}
  290. \DeclareOption{Axioms}{\gdef\@journal{axioms}}
  291. \DeclareOption{Batteries}{\gdef\@journal{batteries}}
  292. \DeclareOption{BDCC}{\gdef\@journal{bdcc}}
  293. \DeclareOption{Behavsci}{\gdef\@journal{behavsci}}
  294. \DeclareOption{Behavioralsciences}{\gdef\@journal{behavsci}} %to have backwards compatibility
  295. \DeclareOption{Beverages}{\gdef\@journal{beverages}}
  296. \DeclareOption{Bioengineering}{\gdef\@journal{bioengineering}}
  297. \DeclareOption{Biology}{\gdef\@journal{biology}}
  298. \DeclareOption{Biomedicines}{\gdef\@journal{biomedicines}}
  299. \DeclareOption{Biomimetics}{\gdef\@journal{biomimetics}}
  300. \DeclareOption{Biomolecules}{\gdef\@journal{biomolecules}}
  301. \DeclareOption{Biosensors}{\gdef\@journal{biosensors}}
  302. \DeclareOption{Brainsci}{\gdef\@journal{brainsci}}
  303. \DeclareOption{Brainsciences}{\gdef\@journal{brainsci}} %to have backwards compatibility
  304. \DeclareOption{Buildings}{\gdef\@journal{buildings}}
  305. \DeclareOption{C}{\gdef\@journal{carbon}}
  306. \DeclareOption{Carbon}{\gdef\@journal{carbon}}
  307. \DeclareOption{Cancers}{\gdef\@journal{cancers}}
  308. \DeclareOption{Catalysts}{\gdef\@journal{catalysts}}
  309. \DeclareOption{Cells}{\gdef\@journal{cells}}
  310. \DeclareOption{Ceramics}{\gdef\@journal{ceramics}}
  311. \DeclareOption{Challenges}{\gdef\@journal{challenges}}
  312. \DeclareOption{ChemEngineering}{\gdef\@journal{chemengineering}}
  313. \DeclareOption{Chemosensors}{\gdef\@journal{chemosensors}}
  314. \DeclareOption{Children}{\gdef\@journal{children}}
  315. \DeclareOption{Climate}{\gdef\@journal{climate}}
  316. \DeclareOption{Coatings}{\gdef\@journal{coatings}}
  317. \DeclareOption{Colloids}{\gdef\@journal{colloids}}
  318. \DeclareOption{Computation}{\gdef\@journal{computation}}
  319. \DeclareOption{Computers}{\gdef\@journal{computers}}
  320. \DeclareOption{Condensedmatter}{\gdef\@journal{condensedmatter}}
  321. \DeclareOption{Cosmetics}{\gdef\@journal{cosmetics}}
  322. \DeclareOption{Cryptography}{\gdef\@journal{cryptography}}
  323. \DeclareOption{Crystals}{\gdef\@journal{crystals}}
  324. \DeclareOption{Cybersecurity}{\gdef\@journal{cybersecurity}}
  325. \DeclareOption{Data}{\gdef\@journal{data}}
  326. \DeclareOption{Dentistry}{\gdef\@journal{dentistry}}
  327. \DeclareOption{Dentistryjournal}{\gdef\@journal{dentistry}} %to have backwards compatibility
  328. \DeclareOption{Designs}{\gdef\@journal{designs}}
  329. \DeclareOption{Diagnostics}{\gdef\@journal{diagnostics}}
  330. \DeclareOption{Diseases}{\gdef\@journal{diseases}}
  331. \DeclareOption{Diversity}{\gdef\@journal{diversity}}
  332. \DeclareOption{Drones}{\gdef\@journal{drones}}
  333. \DeclareOption{Econometrics}{\gdef\@journal{econometrics}}
  334. \DeclareOption{Economies}{\gdef\@journal{economies}}
  335. \DeclareOption{Education}{\gdef\@journal{education}}
  336. \DeclareOption{Educationsciences}{\gdef\@journal{education}} %to have backwards compatibility
  337. \DeclareOption{Electrochemistry}{\gdef\@journal{electrochemistry}}
  338. \DeclareOption{Electronics}{\gdef\@journal{electronics}}
  339. \DeclareOption{Energies}{\gdef\@journal{energies}}
  340. \DeclareOption{Entropy}{\gdef\@journal{entropy}}
  341. \DeclareOption{Environments}{\gdef\@journal{environments}}
  342. \DeclareOption{Epigenomes}{\gdef\@journal{epigenomes}}
  343. \DeclareOption{EST}{\gdef\@journal{est}}
  344. \DeclareOption{Fermentation}{\gdef\@journal{fermentation}}
  345. \DeclareOption{Fibers}{\gdef\@journal{fibers}}
  346. \DeclareOption{Fire}{\gdef\@journal{fire}}
  347. \DeclareOption{Fishes}{\gdef\@journal{fishes}}
  348. \DeclareOption{Fluids}{\gdef\@journal{fluids}}
  349. \DeclareOption{Foods}{\gdef\@journal{foods}}
  350. \DeclareOption{Forests}{\gdef\@journal{forests}}
  351. \DeclareOption{Fractalfract}{\gdef\@journal{fractalfract}}
  352. \DeclareOption{Futureinternet}{\gdef\@journal{futureinternet}}
  353. \DeclareOption{Galaxies}{\gdef\@journal{galaxies}}
  354. \DeclareOption{Games}{\gdef\@journal{games}}
  355. \DeclareOption{Gastrointestdisord}{\gdef\@journal{gastrointestdisord}}
  356. \DeclareOption{Gels}{\gdef\@journal{gels}}
  357. \DeclareOption{Genealogy}{\gdef\@journal{genealogy}}
  358. \DeclareOption{Genes}{\gdef\@journal{genes}}
  359. \DeclareOption{Geosciences}{\gdef\@journal{geosciences}}
  360. \DeclareOption{Geriatrics}{\gdef\@journal{geriatrics}}
  361. \DeclareOption{Hazardousmatters}{\gdef\@journal{hazardousmatters}}
  362. \DeclareOption{Healthcare}{\gdef\@journal{healthcare}}
  363. \DeclareOption{Heritage}{\gdef\@journal{heritage}}
  364. \DeclareOption{Highthroughput}{\gdef\@journal{highthroughput}}
  365. \DeclareOption{Horticulturae}{\gdef\@journal{horticulturae}}
  366. \DeclareOption{Humanities}{\gdef\@journal{humanities}}
  367. \DeclareOption{Hydrology}{\gdef\@journal{hydrology}}
  368. \DeclareOption{Informatics}{\gdef\@journal{informatics}}
  369. \DeclareOption{Information}{\gdef\@journal{information}}
  370. \DeclareOption{Infrastructures}{\gdef\@journal{infrastructures}}
  371. \DeclareOption{Inorganics}{\gdef\@journal{inorganics}}
  372. \DeclareOption{Insects}{\gdef\@journal{insects}}
  373. \DeclareOption{Instruments}{\gdef\@journal{instruments}}
  374. \DeclareOption{Ijerph}{\gdef\@journal{ijerph}}
  375. \DeclareOption{Ijfs}{\gdef\@journal{ijfs}}
  376. \DeclareOption{Ijms}{\gdef\@journal{ijms}}
  377. \DeclareOption{Ijgi}{\gdef\@journal{ijgi}}
  378. \DeclareOption{Ijtpp}{\gdef\@journal{ijtpp}}
  379. \DeclareOption{Inventions}{\gdef\@journal{inventions}}
  380. \DeclareOption{J}{\gdef\@journal{jjournal}}
  381. \DeclareOption{Jcdd}{\gdef\@journal{jcdd}}
  382. \DeclareOption{Jcm}{\gdef\@journal{jcm}}
  383. \DeclareOption{Jcs}{\gdef\@journal{jcs}}
  384. \DeclareOption{Jdb}{\gdef\@journal{jdb}}
  385. \DeclareOption{Jfb}{\gdef\@journal{jfb}}
  386. \DeclareOption{Jmk}{\gdef\@journal{jfmk}}
  387. \DeclareOption{Jof}{\gdef\@journal{jof}}
  388. \DeclareOption{Jimaging}{\gdef\@journal{jimaging}}
  389. \DeclareOption{Jintelligence}{\gdef\@journal{jintelligence}}
  390. \DeclareOption{Jlpea}{\gdef\@journal{jlpea}}
  391. \DeclareOption{Jmmp}{\gdef\@journal{jmmp}}
  392. \DeclareOption{Jmse}{\gdef\@journal{jmse}}
  393. \DeclareOption{Jpm}{\gdef\@journal{jpm}}
  394. \DeclareOption{Jrfm}{\gdef\@journal{jrfm}}
  395. \DeclareOption{Jsan}{\gdef\@journal{jsan}}
  396. \DeclareOption{Land}{\gdef\@journal{land}}
  397. \DeclareOption{Languages}{\gdef\@journal{languages}}
  398. \DeclareOption{Laws}{\gdef\@journal{laws}}
  399. \DeclareOption{Life}{\gdef\@journal{life}}
  400. \DeclareOption{Literature}{\gdef\@journal{literature}}
  401. \DeclareOption{Logistics}{\gdef\@journal{logistics}}
  402. \DeclareOption{Lubricants}{\gdef\@journal{lubricants}}
  403. \DeclareOption{Machines}{\gdef\@journal{machines}}
  404. \DeclareOption{Magnetochemistry}{\gdef\@journal{magnetochemistry}}
  405. \DeclareOption{Make}{\gdef\@journal{make}}
  406. \DeclareOption{MarineDrugs}{\gdef\@journal{marinedrugs}}
  407. \DeclareOption{Materials}{\gdef\@journal{materials}}
  408. \DeclareOption{Mathematics}{\gdef\@journal{mathematics}}
  409. \DeclareOption{Mca}{\gdef\@journal{mca}}
  410. \DeclareOption{Medsci}{\gdef\@journal{medsci}}
  411. \DeclareOption{Medicalsciences}{\gdef\@journal{medsci}} %to have backwards compatibility
  412. \DeclareOption{Medicines}{\gdef\@journal{medicines}}
  413. \DeclareOption{Membranes}{\gdef\@journal{membranes}}
  414. \DeclareOption{Metabolites}{\gdef\@journal{metabolites}}
  415. \DeclareOption{Metals}{\gdef\@journal{metals}}
  416. \DeclareOption{Microarrays}{\gdef\@journal{microarrays}}
  417. \DeclareOption{Micromachines}{\gdef\@journal{micromachines}}
  418. \DeclareOption{Microorganisms}{\gdef\@journal{microorganisms}}
  419. \DeclareOption{Minerals}{\gdef\@journal{minerals}}
  420. \DeclareOption{Modelling}{\gdef\@journal{modelling}}
  421. \DeclareOption{Molbank}{\gdef\@journal{molbank}}
  422. \DeclareOption{Molecules}{\gdef\@journal{molecules}}
  423. \DeclareOption{Mps}{\gdef\@journal{mps}}
  424. \DeclareOption{Mti}{\gdef\@journal{mti}}
  425. \DeclareOption{Nanomaterials}{\gdef\@journal{nanomaterials}}
  426. \DeclareOption{ncRNA}{\gdef\@journal{ncrna}}
  427. \DeclareOption{Neonatalscreening}{\gdef\@journal{neonatalscreening}}
  428. \DeclareOption{Neuroglia}{\gdef\@journal{neuroglia}}
  429. \DeclareOption{Nitrogen}{\gdef\@journal{nitrogen}}
  430. \DeclareOption{Nutrients}{\gdef\@journal{nutrients}}
  431. \DeclareOption{OHBM}{\gdef\@journal{ohbm}}
  432. \DeclareOption{Particles}{\gdef\@journal{particles}}
  433. \DeclareOption{Pathogens}{\gdef\@journal{pathogens}}
  434. \DeclareOption{Pharmaceuticals}{\gdef\@journal{pharmaceuticals}}
  435. \DeclareOption{Pharmaceutics}{\gdef\@journal{pharmaceutics}}
  436. \DeclareOption{Pharmacy}{\gdef\@journal{pharmacy}}
  437. \DeclareOption{Philosophies}{\gdef\@journal{philosophies}}
  438. \DeclareOption{Photonics}{\gdef\@journal{photonics}}
  439. \DeclareOption{Plants}{\gdef\@journal{plants}}
  440. \DeclareOption{Plasma}{\gdef\@journal{plasma}}
  441. \DeclareOption{Polymers}{\gdef\@journal{polymers}}
  442. \DeclareOption{Polysaccharides}{\gdef\@journal{polysaccharides}}
  443. \DeclareOption{Proceedings}{\gdef\@journal{proceedings}}
  444. \DeclareOption{Processes}{\gdef\@journal{processes}}
  445. \DeclareOption{Proteomes}{\gdef\@journal{proteomes}}
  446. \DeclareOption{Publications}{\gdef\@journal{publications}}
  447. \DeclareOption{Quaternary}{\gdef\@journal{quaternary}}
  448. \DeclareOption{Qubs}{\gdef\@journal{qubs}}
  449. \DeclareOption{Recycling}{\gdef\@journal{recycling}}
  450. \DeclareOption{Religions}{\gdef\@journal{religions}}
  451. \DeclareOption{RemoteSensing}{\gdef\@journal{remotesensing}}
  452. \DeclareOption{Reports}{\gdef\@journal{reports}}
  453. \DeclareOption{Resources}{\gdef\@journal{resources}}
  454. \DeclareOption{Risks}{\gdef\@journal{risks}}
  455. \DeclareOption{Robotics}{\gdef\@journal{robotics}}
  456. \DeclareOption{Safety}{\gdef\@journal{safety}}
  457. \DeclareOption{Scipharm}{\gdef\@journal{scipharm}}
  458. \DeclareOption{Sensors}{\gdef\@journal{sensors}}
  459. \DeclareOption{Separations}{\gdef\@journal{separations}}
  460. \DeclareOption{Sexes}{\gdef\@journal{sexes}}
  461. \DeclareOption{Sinusitis}{\gdef\@journal{sinusitis}}
  462. \DeclareOption{Socsci}{\gdef\@journal{socsci}}
  463. \DeclareOption{SocialSciences}{\gdef\@journal{socsci}} %to have backwards compatibility
  464. \DeclareOption{Societies}{\gdef\@journal{societies}}
  465. \DeclareOption{Soils}{\gdef\@journal{soils}}
  466. \DeclareOption{Sports}{\gdef\@journal{sports}}
  467. \DeclareOption{Standards}{\gdef\@journal{standards}}
  468. \DeclareOption{Stats}{\gdef\@journal{stats}}
  469. \DeclareOption{Surgeries}{\gdef\@journal{surgeries}}
  470. \DeclareOption{Sustainability}{\gdef\@journal{sustainability}}
  471. \DeclareOption{Symmetry}{\gdef\@journal{symmetry}}
  472. \DeclareOption{Systems}{\gdef\@journal{systems}}
  473. \DeclareOption{Technologies}{\gdef\@journal{technologies}}
  474. \DeclareOption{Toxics}{\gdef\@journal{toxics}}
  475. \DeclareOption{Toxins}{\gdef\@journal{toxins}}
  476. \DeclareOption{Tropicalmed}{\gdef\@journal{tropicalmed}}
  477. \DeclareOption{Universe}{\gdef\@journal{universe}}
  478. \DeclareOption{Urbansci}{\gdef\@journal{urbansci}}
  479. \DeclareOption{Vaccines}{\gdef\@journal{vaccines}}
  480. \DeclareOption{Vetsci}{\gdef\@journal{vetsci}}
  481. \DeclareOption{VeterinarySciences}{\gdef\@journal{vetsci}} %to have backwards compatibility
  482. \DeclareOption{Vibration}{\gdef\@journal{vibration}}
  483. \DeclareOption{Viruses}{\gdef\@journal{viruses}}
  484. \DeclareOption{Vision}{\gdef\@journal{vision}}
  485. \DeclareOption{Water}{\gdef\@journal{water}}
  486. \DeclareOption{Wem}{\gdef\@journal{wem}}
  487. \DeclareOption{journal}{\ClassWarning{mdpi}{You have not specified the journal. The first class option of the document class mdpi specifies the journal. The word journal should be replaced by one of the following journal names: actuators, addictions, admsci, aerospace, agriculture, agronomy, algorithms, animals, antibiotics, antibodies, antioxidants, applsci, arts, asi, atmosphere, atoms, axioms, batteries, bdcc, behavsci, beverages, bioengineering, biology, biomedicines, biomimetics, biomolecules, biosensors, brainsci, buildings, carbon, cancers, catalysts, cells, ceramics, challenges, chemengineering, chemosensors, children, climate, coatings, colloids, computation, computers, condensedmatter, cosmetics, cryptography, crystals, cybersecurity, data, dentistry, designs, diagnostics, diseases, diversity, drones, econometrics, economies, education, electrochemistry, electronics, energies, entropy, environments, epigenomes, est, fermentation, fibers, fire, fishes, fluids, foods, forests, fractalfract, futureinternet, galaxies, games, gastrointestdisord, gels, genealogy, genes, geosciences, geriatrics, hazardousmatters, healthcare, heritage, highthroughput, horticulturae, humanities, hydrology, informatics, information, infrastructures, inorganics, insects, instruments, ijerph, ijfs, ijms, ijgi, ijtpp, inventions, j, jcdd, jcm, jcs, jdb, jfb, jfmk, jimaging, jof, jintelligence, jlpea, jmmp, jmse, jpm, jrfm, jsan, land, languages, laws, life, literature, logistics, lubricants, machines, magnetochemistry, make, marinedrugs, materials, mathematics, mca, medsci, medicines, membranes, metabolites, metals, microarrays, micromachines, microorganisms, minerals, modelling, molbank, molecules, mps, mti, nanomaterials, ncrna, neonatalscreening, neuroglia, nitrogen, nutrients, ohbm, particles, pathogens, pharmaceuticals, pharmaceutics, pharmacy, philosophies, photonics, plants, plasma, polymers, polysaccharides, proceedings, processes, proteomes, publications, quaternary, qubs, recycling, religions, remotesensing, reports, resources, risks, robotics, safety, scipharm, sensors, separations, sexes, sinusitis, socsci, societies, soils, sports, standards, stats, surgeries, sustainability, symmetry, systems, technologies, toxics, toxins, tropicalmed, universe, urbansci, vaccines, vetsci, vibration, viruses, vision, water,wem}}
  488. %% To choose the type of manuscript
  489. \DeclareOption{abstract}{\gdef\@arttype{Abstract}}
  490. \DeclareOption{addendum}{\gdef\@arttype{Addendum}}
  491. \DeclareOption{article}{\gdef\@arttype{Article}}
  492. \DeclareOption{benchmark}{\gdef\@arttype{Benchmark}}
  493. \DeclareOption{book}{\gdef\@arttype{Book}}
  494. \DeclareOption{bookreview}{\gdef\@arttype{Book Review}}
  495. \DeclareOption{briefreport}{\gdef\@arttype{Brief Report}}
  496. \DeclareOption{casereport}{\gdef\@arttype{Case Report}}
  497. \DeclareOption{changes}{\gdef\@arttype{Changes}}
  498. \DeclareOption{comment}{\gdef\@arttype{Comment}}
  499. \DeclareOption{commentary}{\gdef\@arttype{Commentary}}
  500. \DeclareOption{communication}{\gdef\@arttype{Communication}}
  501. \DeclareOption{conceptpaper}{\gdef\@arttype{Concept Paper}}
  502. \DeclareOption{conferenceproceedings}{\gdef\@arttype{Proceedings}}
  503. \DeclareOption{correction}{\gdef\@arttype{Correction}}
  504. \DeclareOption{conferencereport}{\gdef\@arttype{Conference Report}}
  505. \DeclareOption{expressionofconcern}{\gdef\@arttype{Expression of Concern}}
  506. \DeclareOption{meetingreport}{\gdef\@arttype{Meeting Report}}
  507. \DeclareOption{creative}{\gdef\@arttype{Creative}}
  508. \DeclareOption{datadescriptor}{\gdef\@arttype{Data Descriptor}}
  509. \DeclareOption{discussion}{\gdef\@arttype{Discussion}}
  510. \DeclareOption{editorial}{\gdef\@arttype{Editorial}}
  511. \DeclareOption{essay}{\gdef\@arttype{Essay}}
  512. \DeclareOption{erratum}{\gdef\@arttype{Erratum}}
  513. \DeclareOption{hypothesis}{\gdef\@arttype{Hypothesis}}
  514. \DeclareOption{interestingimages}{\gdef\@arttype{Interesting Images}}
  515. \DeclareOption{letter}{\gdef\@arttype{Letter}}
  516. \DeclareOption{meetingreport}{\gdef\@arttype{Meeting Report}}
  517. \DeclareOption{newbookreceived}{\gdef\@arttype{New Book Received}}
  518. \DeclareOption{obituary}{\gdef\@arttype{Obituary}}
  519. \DeclareOption{opinion}{\gdef\@arttype{Opinion}}
  520. \DeclareOption{projectreport}{\gdef\@arttype{Project Report}}
  521. \DeclareOption{reply}{\gdef\@arttype{Reply}}
  522. \DeclareOption{reprint}{\gdef\@arttype{Reprint}}
  523. \DeclareOption{retraction}{\gdef\@arttype{Retraction}}
  524. \DeclareOption{review}{\gdef\@arttype{Review}}
  525. \DeclareOption{perspective}{\gdef\@arttype{Perspective}}
  526. \DeclareOption{protocol}{\gdef\@arttype{Protocol}}
  527. \DeclareOption{shortnote}{\gdef\@arttype{Short Note}}
  528. \DeclareOption{supfile}{\gdef\@arttype{Supfile}}
  529. \DeclareOption{technicalnote}{\gdef\@arttype{Technical Note}}
  530. \DeclareOption{viewpoint}{\gdef\@arttype{Viewpoint}}
  531. %% To choose the status of the manuscript
  532. \DeclareOption{submit}{\gdef\@status{submit}}
  533. \DeclareOption{accept}{\gdef\@status{accept}}
  534. %% To choose the whether there is one or more authors
  535. \DeclareOption{oneauthor}{\gdef\@authornum{author}}
  536. \DeclareOption{moreauthors}{\gdef\@authornum{authors}}
  537. %% Add the chosen options to the class
  538. \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
  539. %% Defaults
  540. \ExecuteOptions{notspecified,10pt,a4paper,article,submit,oneauthor}
  541. %% Process options
  542. \ProcessOptions\relax
  543. %% MORE DECLARATIONS
  544. %%%% Maths environments
  545. \RequirePackage{amsthm}
  546. \newtheoremstyle{mdpi}% name
  547. {12pt}% space above
  548. {12pt}% space below
  549. {\itshape}% body font
  550. {}% indent amount 1
  551. {\bfseries}% theorem head font
  552. {.}% punctuation after theorem head
  553. {.5em}% space after theorem head
  554. {}% theorem head spec (can be left empty, meaning `normal')
  555. \renewcommand{\qed}{\unskip\nobreak\quad\qedsymbol} %% This places the symbol right after the text instead of placing it at the end on the line.
  556. \renewenvironment{proof}[1][\proofname]{\par %% \proofname allows to have "Proof of my theorem"
  557. \pushQED{\qed}%
  558. \normalfont \topsep6\p@\@plus6\p@\relax
  559. \trivlist
  560. \item[\hskip\labelsep
  561. \bfseries %% "Proof" is bold
  562. #1\@addpunct{.}]\ignorespaces %% Period instead of colon
  563. }{%
  564. \popQED\endtrivlist\@endpefalse
  565. }
  566. \theoremstyle{mdpi}
  567. \newcounter{theorem}
  568. \setcounter{theorem}{0}
  569. \newtheorem{Theorem}[theorem]{Theorem}
  570. \newcounter{lemma}
  571. \setcounter{lemma}{0}
  572. \newtheorem{Lemma}[lemma]{Lemma}
  573. \newcounter{corollary}
  574. \setcounter{corollary}{0}
  575. \newtheorem{Corollary}[corollary]{Corollary}
  576. \newcounter{proposition}
  577. \setcounter{proposition}{0}
  578. \newtheorem{Proposition}[proposition]{Proposition}
  579. \newcounter{characterization}
  580. \setcounter{characterization}{0}
  581. \newtheorem{Characterization}[characterization]{Characterization}
  582. \newcounter{property}
  583. \setcounter{property}{0}
  584. \newtheorem{Property}[property]{Property}
  585. \newcounter{problem}
  586. \setcounter{problem}{0}
  587. \newtheorem{Problem}[problem]{Problem}
  588. \newcounter{example}
  589. \setcounter{example}{0}
  590. \newtheorem{Example}[example]{Example}
  591. \newcounter{examplesanddefinitions}
  592. \setcounter{examplesanddefinitions}{0}
  593. \newtheorem{ExamplesandDefinitions}[examplesanddefinitions]{Examples and Definitions}
  594. \newcounter{remark}
  595. \setcounter{remark}{0}
  596. \newtheorem{Remark}[remark]{Remark}
  597. \newcounter{definition}
  598. \setcounter{definition}{0}
  599. \newtheorem{Definition}[definition]{Definition}
  600. \newcounter{hypothesis}
  601. \setcounter{hypothesis}{0}
  602. \newtheorem{Hypothesis}[hypothesis]{Hypothesis}
  603. \newcounter{notation}
  604. \setcounter{notation}{0}
  605. \newtheorem{Notation}[notation]{Notation}
  606. %%%% Hyphenation
  607. \RequirePackage[none]{hyphenat}
  608. \sloppy
  609. %%%% References
  610. \RequirePackage[sort&compress]{natbib}
  611. \ifthenelse{\equal{\@journal}{admsci}
  612. \OR \equal{\@journal}{arts}
  613. \OR \equal{\@journal}{econometrics}
  614. \OR \equal{\@journal}{economies}
  615. \OR \equal{\@journal}{genealogy}
  616. \OR \equal{\@journal}{humanities}
  617. \OR \equal{\@journal}{ijfs}
  618. \OR \equal{\@journal}{jrfm}
  619. \OR \equal{\@journal}{languages}
  620. \OR \equal{\@journal}{laws}
  621. \OR \equal{\@journal}{religions}
  622. \OR \equal{\@journal}{risks}
  623. \OR \equal{\@journal}{socsci}}{%
  624. \bibliographystyle{chicago2}
  625. \bibpunct{(}{)}{;}{x}{}{}%
  626. }{%
  627. \bibliographystyle{mdpi}
  628. \bibpunct{[}{]}{,}{n}{}{}%
  629. }%
  630. \renewcommand\NAT@set@cites{%
  631. \ifNAT@numbers
  632. \ifNAT@super \let\@cite\NAT@citesuper
  633. \def\NAT@mbox##1{\unskip\nobreak\textsuperscript{##1}}%
  634. \let\citeyearpar=\citeyear
  635. \let\NAT@space\relax
  636. \def\NAT@super@kern{\kern\p@}%
  637. \else
  638. \let\NAT@mbox=\mbox
  639. \let\@cite\NAT@citenum
  640. \let\NAT@space\relax
  641. \let\NAT@super@kern\relax
  642. \fi
  643. \let\@citex\NAT@citexnum
  644. \let\@biblabel\NAT@biblabelnum
  645. \let\@bibsetup\NAT@bibsetnum
  646. \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@num\NAT@close}%
  647. \def\natexlab##1{}%
  648. \def\NAT@penalty{\penalty\@m}%
  649. \else
  650. \let\@cite\NAT@cite
  651. \let\@citex\NAT@citex
  652. \let\@biblabel\NAT@biblabel
  653. \let\@bibsetup\NAT@bibsetup
  654. \let\NAT@space\NAT@spacechar
  655. \let\NAT@penalty\@empty
  656. \renewcommand\NAT@idxtxt{\NAT@name\NAT@spacechar\NAT@open\NAT@date\NAT@close}%
  657. \def\natexlab##1{##1}%
  658. \fi}
  659. %%%%% Hyperlinks
  660. %% Define color for citations
  661. \definecolor{bluecite}{HTML}{0875b7}
  662. \ifthenelse{\equal{\@arttype}{Reprint} \OR \equal{\@arttype}{Book}}{
  663. \RequirePackage[unicode=true,
  664. bookmarksopen={true},
  665. pdffitwindow=true,
  666. colorlinks=true,
  667. linkcolor=black,
  668. citecolor=black,
  669. urlcolor=black,
  670. hyperfootnotes=false,
  671. pdfstartview={FitH},
  672. pdfpagemode=UseNone]{hyperref}
  673. }{
  674. \RequirePackage[unicode=true,
  675. bookmarksopen={true},
  676. pdffitwindow=true,
  677. colorlinks=true,
  678. linkcolor=bluecite,
  679. citecolor=bluecite,
  680. urlcolor=bluecite,
  681. hyperfootnotes=false,
  682. pdfstartview={FitH},
  683. pdfpagemode= UseNone]{hyperref}
  684. }
  685. %% To have the possibility to change the urlcolor
  686. \newcommand{\changeurlcolor}[1]{\hypersetup{urlcolor=#1}}
  687. %% Metadata
  688. \newcommand{\org@maketitle}{}% LATEX-Check
  689. \let\org@maketitle\maketitle
  690. \def\maketitle{%
  691. \hypersetup{
  692. pdftitle={\@Title},
  693. pdfsubject={\@abstract},
  694. pdfkeywords={\@keyword},
  695. pdfauthor={\@AuthorNames}
  696. }%
  697. \org@maketitle
  698. }
  699. %%%% Footnotes
  700. \RequirePackage[hang]{footmisc}
  701. \setlength{\skip\footins}{1.2cm}
  702. \setlength{\footnotemargin}{5mm}
  703. \def\footnoterule{\kern-14\p@
  704. \hrule \@width 2in \kern 11.6\p@}
  705. %%%% URL
  706. \RequirePackage{url}
  707. \urlstyle{same}
  708. \g@addto@macro{\UrlBreaks}{\UrlOrds}
  709. %%%% Widows & orphans
  710. \clubpenalty=10000
  711. \widowpenalty=10000
  712. \displaywidowpenalty=10000
  713. %%%% Front matter
  714. \newcommand{\firstargument}{}
  715. \newcommand{\Title}[1]{\gdef\@Title{#1}}%
  716. \newcommand{\Author}[1]{\gdef\@Author{#1}}%
  717. \def\@AuthorNames{}
  718. \newcommand{\AuthorNames}[1]{\gdef\@AuthorNames{#1}}%
  719. \newcommand{\firstpage}[1]{\gdef\@firstpage{#1}}
  720. \newcommand{\doinum}[1]{\gdef\@doinum{#1}}
  721. \newcommand{\pubvolume}[1]{\gdef\@pubvolume{#1}}
  722. \newcommand{\pubyear}[1]{\gdef\@pubyear{#1}}
  723. \newcommand{\copyrightyear}[1]{\gdef\@copyrightyear{#1}}
  724. \newcommand{\address}[2][]{\renewcommand{\firstargument}{#1}\gdef\@address{#2}}
  725. \newcommand{\corresfirstargument}{}
  726. \def\@corres{}
  727. \newcommand{\corres}[2][]{\renewcommand{\corresfirstargument}{#1}\gdef\@corres{#2}}
  728. \def\@conference{}
  729. \newcommand{\conference}[1]{\gdef\@conference{#1}}%
  730. \def\@abstract{}
  731. \renewcommand{\abstract}[1]{\gdef\@abstract{#1}}
  732. \def\@externaleditor{}
  733. \newcommand{\externaleditor}[1]{\gdef\@externaleditor{#1}}
  734. \newcommand{\history}[1]{\gdef\@history{#1}}
  735. \def\@pacs{}
  736. \newcommand{\PACS}[1]{\gdef\@pacs{#1}}
  737. \def\@msc{}
  738. \newcommand{\MSC}[1]{\gdef\@msc{#1}}
  739. \def\@jel{}
  740. \newcommand{\JEL}[1]{\gdef\@jel{#1}}
  741. \def\@keyword{}
  742. \newcommand{\keyword}[1]{\gdef\@keyword{#1}}
  743. \def\@dataset{}
  744. \newcommand{\dataset}[1]{\gdef\@dataset{#1}}
  745. \def\@datasetlicense{}
  746. \newcommand{\datasetlicense}[1]{\gdef\@datasetlicense{#1}}
  747. \def\@featuredapplication{}
  748. \newcommand{\featuredapplication}[1]{\gdef\@featuredapplication{#1}}
  749. \def\@keycontribution{}
  750. \newcommand{\keycontribution}[1]{\gdef\@keycontribution{#1}}
  751. \def\@firstnote{}
  752. \newcommand{\firstnote}[1]{\gdef\@firstnote{#1}}
  753. \def\@secondnote{}
  754. \newcommand{\secondnote}[1]{\gdef\@secondnote{#1}}%
  755. \def\@thirdnote{}
  756. \newcommand{\thirdnote}[1]{\gdef\@thirdnote{#1}}%
  757. \def\@fourthnote{}
  758. \newcommand{\fourthnote}[1]{\gdef\@fourthnote{#1}}%
  759. \def\@fifthnote{}
  760. \newcommand{\fifthnote}[1]{\gdef\@fifthnote{#1}}%
  761. \def\@sixthnote{}
  762. \newcommand{\sixthnote}[1]{\gdef\@sixthnote{#1}}%
  763. \def\@seventhnote{}
  764. \newcommand{\seventhnote}[1]{\gdef\@seventhnote{#1}}%
  765. \def\@eighthnote{}
  766. \newcommand{\eighthnote}[1]{\gdef\@eighthnote{#1}}%
  767. \def\@simplesumm{}
  768. \newcommand{\simplesumm}[1]{\gdef\@simplesumm{#1}}
  769. \newcommand{\articlenumber}[1]{\gdef\@articlenumber{#1}}
  770. \def\@externalbibliography{}
  771. \newcommand{\externalbibliography}[1]{\gdef\@externalbibliography{#1}}
  772. \def\@reftitle{}
  773. \newcommand{\reftitle}[1]{\gdef\@reftitle{#1}}
  774. %Reprint
  775. \def\@originalarttype{}
  776. \newcommand{\originalarttype}[1]{\gdef\@originalarttype{#1}}%
  777. %% ORCID
  778. % Make Orcid icon
  779. \definecolor{lime}{HTML}{A6CE39}
  780. \newcommand{\orcidicon}{%
  781. \begin{tikzpicture}
  782. \draw[lime, fill=lime] (0,0)
  783. circle [radius=0.16]
  784. node[white] {{\fontfamily{qag}\selectfont \tiny ID}};
  785. \draw[white, fill=white] (-0.0625,0.095)
  786. circle [radius=0.007];
  787. \end{tikzpicture}
  788. \hspace{-2mm}
  789. }
  790. % Define link and button for each author
  791. \foreach \x in {A, ..., Z}{%
  792. \expandafter\xdef\csname orcid\x\endcsname{\noexpand\href{https://orcid.org/\csname orcidauthor\x\endcsname}{\noexpand\orcidicon}}
  793. }
  794. %%%% Journal name for the header
  795. \newcommand{\journalname}{%
  796. \ifthenelse{\equal{\@journal}{test}}{Test}{}%
  797. \ifthenelse{\equal{\@journal}{notspecified}}{MDPI}{}%
  798. \ifthenelse{\equal{\@journal}{actuators}}{Actuators}{}%
  799. \ifthenelse{\equal{\@journal}{addictions}}{Addictions}{}%
  800. \ifthenelse{\equal{\@journal}{admsci}}{Adm. Sci.}{}%
  801. \ifthenelse{\equal{\@journal}{aerospace}}{Aerospace}{}%
  802. \ifthenelse{\equal{\@journal}{agriculture}}{Agriculture}{}%
  803. \ifthenelse{\equal{\@journal}{agronomy}}{Agronomy}{}%
  804. \ifthenelse{\equal{\@journal}{algorithms}}{Algorithms}{}%
  805. \ifthenelse{\equal{\@journal}{animals}}{Animals}{}%
  806. \ifthenelse{\equal{\@journal}{antibiotics}}{Antibiotics}{}%
  807. \ifthenelse{\equal{\@journal}{antibodies}}{Antibodies}{}%
  808. \ifthenelse{\equal{\@journal}{antioxidants}}{Antioxidants}{}%
  809. \ifthenelse{\equal{\@journal}{applsci}}{Appl. Sci.}{}%
  810. \ifthenelse{\equal{\@journal}{arts}}{Arts}{}%
  811. \ifthenelse{\equal{\@journal}{asi}}{Appl. Syst. Innov.}{}%
  812. \ifthenelse{\equal{\@journal}{atmosphere}}{Atmosphere}{}%
  813. \ifthenelse{\equal{\@journal}{atoms}}{Atoms}{}%
  814. \ifthenelse{\equal{\@journal}{axioms}}{Axioms}{}%
  815. \ifthenelse{\equal{\@journal}{batteries}}{Batteries}{}%
  816. \ifthenelse{\equal{\@journal}{bdcc}}{Big Data Cogn. Comput.}{}%
  817. \ifthenelse{\equal{\@journal}{behavsci}}{Behav. Sci.}{}%
  818. \ifthenelse{\equal{\@journal}{beverages}}{Beverages}{}%
  819. \ifthenelse{\equal{\@journal}{bioengineering}}{Bioengineering}{}%
  820. \ifthenelse{\equal{\@journal}{biology}}{Biology}{}%
  821. \ifthenelse{\equal{\@journal}{biomedicines}}{Biomedicines}{}%
  822. \ifthenelse{\equal{\@journal}{biomimetics}}{Biomimetics}{}%
  823. \ifthenelse{\equal{\@journal}{biomolecules}}{Biomolecules}{}%
  824. \ifthenelse{\equal{\@journal}{biosensors}}{Biosensors}{}%
  825. \ifthenelse{\equal{\@journal}{brainsci}}{Brain Sci.}{}%
  826. \ifthenelse{\equal{\@journal}{buildings}}{Buildings}{}%
  827. \ifthenelse{\equal{\@journal}{carbon}}{C}{}%
  828. \ifthenelse{\equal{\@journal}{cancers}}{Cancers}{}%
  829. \ifthenelse{\equal{\@journal}{catalysts}}{Catalysts}{}%
  830. \ifthenelse{\equal{\@journal}{cells}}{Cells}{}%
  831. \ifthenelse{\equal{\@journal}{ceramics}}{Ceramics}{}%
  832. \ifthenelse{\equal{\@journal}{challenges}}{Challenges}{}%
  833. \ifthenelse{\equal{\@journal}{chemengineering}}{ChemEngineering}{}%
  834. \ifthenelse{\equal{\@journal}{chemosensors}}{Chemosensors}{}%
  835. \ifthenelse{\equal{\@journal}{children}}{Children}{}%
  836. \ifthenelse{\equal{\@journal}{climate}}{Climate}{}%
  837. \ifthenelse{\equal{\@journal}{coatings}}{Coatings}{}%
  838. \ifthenelse{\equal{\@journal}{colloids}}{Colloids Interfaces}{}%
  839. \ifthenelse{\equal{\@journal}{computation}}{Computation}{}%
  840. \ifthenelse{\equal{\@journal}{computers}}{Computers}{}%
  841. \ifthenelse{\equal{\@journal}{condensedmatter}}{Condens. Matter}{}%
  842. \ifthenelse{\equal{\@journal}{cosmetics}}{Cosmetics}{}%
  843. \ifthenelse{\equal{\@journal}{cryptography}}{Cryptography}{}%
  844. \ifthenelse{\equal{\@journal}{crystals}}{Crystals}{}%
  845. \ifthenelse{\equal{\@journal}{cybersecurity}}{Cybersecurity}{}%
  846. \ifthenelse{\equal{\@journal}{data}}{Data}{}%
  847. \ifthenelse{\equal{\@journal}{dentistry}}{Dent. J.}{}%
  848. \ifthenelse{\equal{\@journal}{designs}}{Designs}{}%
  849. \ifthenelse{\equal{\@journal}{diagnostics}}{Diagnostics}{}%
  850. \ifthenelse{\equal{\@journal}{diseases}}{Diseases}{}%
  851. \ifthenelse{\equal{\@journal}{diversity}}{Diversity}{}%
  852. \ifthenelse{\equal{\@journal}{drones}}{Drones}{}%
  853. \ifthenelse{\equal{\@journal}{econometrics}}{Econometrics}{}%
  854. \ifthenelse{\equal{\@journal}{economies}}{Economies}{}%
  855. \ifthenelse{\equal{\@journal}{education}}{Educ. Sci.}{}%
  856. \ifthenelse{\equal{\@journal}{electrochemistry}}{Electrochemistry}{}%
  857. \ifthenelse{\equal{\@journal}{electronics}}{Electronics}{}%
  858. \ifthenelse{\equal{\@journal}{energies}}{Energies}{}%
  859. \ifthenelse{\equal{\@journal}{entropy}}{Entropy}{}%
  860. \ifthenelse{\equal{\@journal}{environments}}{Environments}{}%
  861. \ifthenelse{\equal{\@journal}{epigenomes}}{Epigenomes}{}%
  862. \ifthenelse{\equal{\@journal}{est}}{Electrochem. Sci. Technol.}{}%
  863. \ifthenelse{\equal{\@journal}{fermentation}}{Fermentation}{}%
  864. \ifthenelse{\equal{\@journal}{fibers}}{Fibers}{}%
  865. \ifthenelse{\equal{\@journal}{fire}}{Fire}{}%
  866. \ifthenelse{\equal{\@journal}{fishes}}{Fishes}{}%
  867. \ifthenelse{\equal{\@journal}{fluids}}{Fluids}{}%
  868. \ifthenelse{\equal{\@journal}{foods}}{Foods}{}%
  869. \ifthenelse{\equal{\@journal}{forests}}{Forests}{}%
  870. \ifthenelse{\equal{\@journal}{fractalfract}}{Fractal Fract.}{}%
  871. \ifthenelse{\equal{\@journal}{futureinternet}}{Future Internet}{}%
  872. \ifthenelse{\equal{\@journal}{galaxies}}{Galaxies}{}%
  873. \ifthenelse{\equal{\@journal}{games}}{Games}{}%
  874. \ifthenelse{\equal{\@journal}{gastrointestdisord}}{Gastrointest. Disord.}{}%
  875. \ifthenelse{\equal{\@journal}{gels}}{Gels}{}%
  876. \ifthenelse{\equal{\@journal}{genealogy}}{Genealogy}{}%
  877. \ifthenelse{\equal{\@journal}{genes}}{Genes}{}%
  878. \ifthenelse{\equal{\@journal}{geosciences}}{Geosciences}{}%
  879. \ifthenelse{\equal{\@journal}{geriatrics}}{Geriatrics}{}%
  880. \ifthenelse{\equal{\@journal}{hazardousmatters}}{Hazard. Matters}{}%
  881. \ifthenelse{\equal{\@journal}{healthcare}}{Healthcare}{}%
  882. \ifthenelse{\equal{\@journal}{heritage}}{Heritage}{}%
  883. \ifthenelse{\equal{\@journal}{highthroughput}}{High-Throughput}{}%
  884. \ifthenelse{\equal{\@journal}{horticulturae}}{Horticulturae}{}%
  885. \ifthenelse{\equal{\@journal}{humanities}}{Humanities}{}%
  886. \ifthenelse{\equal{\@journal}{hydrology}}{Hydrology}{}%
  887. \ifthenelse{\equal{\@journal}{informatics}}{Informatics}{}%
  888. \ifthenelse{\equal{\@journal}{information}}{Information}{}%
  889. \ifthenelse{\equal{\@journal}{infrastructures}}{Infrastructures}{}%
  890. \ifthenelse{\equal{\@journal}{inorganics}}{Inorganics}{}%
  891. \ifthenelse{\equal{\@journal}{insects}}{Insects}{}%
  892. \ifthenelse{\equal{\@journal}{instruments}}{Instruments}{}%
  893. \ifthenelse{\equal{\@journal}{ijerph}}{Int. J. Environ. Res. Public Health}{}%
  894. \ifthenelse{\equal{\@journal}{ijfs}}{Int. J. Financial Stud.}{}%
  895. \ifthenelse{\equal{\@journal}{ijms}}{Int. J. Mol. Sci.}{}%
  896. \ifthenelse{\equal{\@journal}{ijgi}}{ISPRS Int. J. Geo-Inf.}{}%
  897. \ifthenelse{\equal{\@journal}{ijtpp}}{Int. J. Turbomach. Propuls. Power}{}%
  898. \ifthenelse{\equal{\@journal}{inventions}}{Inventions}{}%
  899. \ifthenelse{\equal{\@journal}{jjournal}}{J}{}%
  900. \ifthenelse{\equal{\@journal}{jcdd}}{J. Cardiovasc. Dev. Dis.}{}%
  901. \ifthenelse{\equal{\@journal}{jcm}}{J. Clin. Med.}{}%
  902. \ifthenelse{\equal{\@journal}{jcs}}{J. Compos. Sci.}{}%
  903. \ifthenelse{\equal{\@journal}{jdb}}{J. Dev. Biol.}{}%
  904. \ifthenelse{\equal{\@journal}{jfb}}{J. Funct. Biomater.}{}%
  905. \ifthenelse{\equal{\@journal}{jfmk}}{J. Funct. Morphol. Kinesiol.}{}%
  906. \ifthenelse{\equal{\@journal}{jof}}{J. Fungi}{}%
  907. \ifthenelse{\equal{\@journal}{jimaging}}{J. Imaging}{}%
  908. \ifthenelse{\equal{\@journal}{jintelligence}}{J. Intell.}{}%
  909. \ifthenelse{\equal{\@journal}{jlpea}}{J. Low Power Electron. Appl.}{}%
  910. \ifthenelse{\equal{\@journal}{jmmp}}{J. Manuf. Mater. Process.}{}%
  911. \ifthenelse{\equal{\@journal}{jmse}}{J. Mar. Sci. Eng.}{}%
  912. \ifthenelse{\equal{\@journal}{jpm}}{J. Pers. Med.}{}%
  913. \ifthenelse{\equal{\@journal}{jrfm}}{J. Risk Financial Manag.}{}%
  914. \ifthenelse{\equal{\@journal}{jsan}}{J. Sens. Actuator Netw.}{}%
  915. \ifthenelse{\equal{\@journal}{land}}{Land}{}%
  916. \ifthenelse{\equal{\@journal}{languages}}{Languages}{}%
  917. \ifthenelse{\equal{\@journal}{laws}}{Laws}{}%
  918. \ifthenelse{\equal{\@journal}{life}}{Life}{}%
  919. \ifthenelse{\equal{\@journal}{literature}}{Literature}{}%
  920. \ifthenelse{\equal{\@journal}{logistics}}{Logistics}{}%
  921. \ifthenelse{\equal{\@journal}{lubricants}}{Lubricants}{}%
  922. \ifthenelse{\equal{\@journal}{machines}}{Machines}{}%
  923. \ifthenelse{\equal{\@journal}{magnetochemistry}}{Magnetochemistry}{}%
  924. \ifthenelse{\equal{\@journal}{make}}{Mach. Learn. Knowl. Extr.}{}%
  925. \ifthenelse{\equal{\@journal}{marinedrugs}}{Mar. Drugs}{}%
  926. \ifthenelse{\equal{\@journal}{materials}}{Materials}{}%
  927. \ifthenelse{\equal{\@journal}{mathematics}}{Mathematics}{}%
  928. \ifthenelse{\equal{\@journal}{mca}}{Math. Comput. Appl.}{}%
  929. \ifthenelse{\equal{\@journal}{medsci}}{Med. Sci.}{}%
  930. \ifthenelse{\equal{\@journal}{medicines}}{Medicines}{}%
  931. \ifthenelse{\equal{\@journal}{membranes}}{Membranes}{}%
  932. \ifthenelse{\equal{\@journal}{metabolites}}{Metabolites}{}%
  933. \ifthenelse{\equal{\@journal}{metals}}{Metals}{}%
  934. \ifthenelse{\equal{\@journal}{microarrays}}{Microarrays}{}%
  935. \ifthenelse{\equal{\@journal}{micromachines}}{Micromachines}{}%
  936. \ifthenelse{\equal{\@journal}{microorganisms}}{Microorganisms}{}%
  937. \ifthenelse{\equal{\@journal}{minerals}}{Minerals}{}%
  938. \ifthenelse{\equal{\@journal}{modelling}}{Modelling}{}
  939. \ifthenelse{\equal{\@journal}{molbank}}{Molbank}{}%
  940. \ifthenelse{\equal{\@journal}{molecules}}{Molecules}{}%
  941. \ifthenelse{\equal{\@journal}{mps}}{Methods and Protoc.}{}%
  942. \ifthenelse{\equal{\@journal}{mti}}{Multimodal Technologies and Interact.}{}%
  943. \ifthenelse{\equal{\@journal}{nanomaterials}}{Nanomaterials}{}%
  944. \ifthenelse{\equal{\@journal}{ncrna}}{Non-coding RNA}{}%
  945. \ifthenelse{\equal{\@journal}{neonatalscreening}}{Int. J. Neonatal Screen.}{}%
  946. \ifthenelse{\equal{\@journal}{neuroglia}}{Neuroglia}{}%
  947. \ifthenelse{\equal{\@journal}{nitrogen}}{Nitrogen}{}%
  948. \ifthenelse{\equal{\@journal}{nutrients}}{Nutrients}{}%
  949. \ifthenelse{\equal{\@journal}{ohbm}}{J. Otorhinolaryngol. Hear. Balance Med.}{}%
  950. \ifthenelse{\equal{\@journal}{particles}}{Particles}{}%
  951. \ifthenelse{\equal{\@journal}{pathogens}}{Pathogens}{}%
  952. \ifthenelse{\equal{\@journal}{pharmaceuticals}}{Pharmaceuticals}{}%
  953. \ifthenelse{\equal{\@journal}{pharmaceutics}}{Pharmaceutics}{}%
  954. \ifthenelse{\equal{\@journal}{pharmacy}}{Pharmacy}{}%
  955. \ifthenelse{\equal{\@journal}{philosophies}}{Philosophies}{}%
  956. \ifthenelse{\equal{\@journal}{photonics}}{Photonics}{}%
  957. \ifthenelse{\equal{\@journal}{plants}}{Plants}{}%
  958. \ifthenelse{\equal{\@journal}{plasma}}{Plasma}{}%
  959. \ifthenelse{\equal{\@journal}{polymers}}{Polymers}{}%
  960. \ifthenelse{\equal{\@journal}{polysaccharides}}{Polysaccharides}{}%
  961. \ifthenelse{\equal{\@journal}{proceedings}}{Proceedings}{}%
  962. \ifthenelse{\equal{\@journal}{processes}}{Processes}{}%
  963. \ifthenelse{\equal{\@journal}{proteomes}}{Proteomes}{}%
  964. \ifthenelse{\equal{\@journal}{publications}}{Publications}{}%
  965. \ifthenelse{\equal{\@journal}{quaternary}}{Quaternary}{}%
  966. \ifthenelse{\equal{\@journal}{qubs}}{Quantum Beam Sci.}{}%
  967. \ifthenelse{\equal{\@journal}{recycling}}{Recycling}{}%
  968. \ifthenelse{\equal{\@journal}{religions}}{Religions}{}%
  969. \ifthenelse{\equal{\@journal}{remotesensing}}{Remote Sens.}{}%
  970. \ifthenelse{\equal{\@journal}{reports}}{Reports}{}%
  971. \ifthenelse{\equal{\@journal}{resources}}{Resources}{}%
  972. \ifthenelse{\equal{\@journal}{risks}}{Risks}{}%
  973. \ifthenelse{\equal{\@journal}{robotics}}{Robotics}{}%
  974. \ifthenelse{\equal{\@journal}{safety}}{Safety}{}%
  975. \ifthenelse{\equal{\@journal}{scipharm}}{Sci. Pharm.}{}%
  976. \ifthenelse{\equal{\@journal}{sensors}}{Sensors}{}%
  977. \ifthenelse{\equal{\@journal}{separations}}{Separations}{}%
  978. \ifthenelse{\equal{\@journal}{sexes}}{Sexes}{}%
  979. \ifthenelse{\equal{\@journal}{sinusitis}}{Sinusitis}{}%
  980. \ifthenelse{\equal{\@journal}{socsci}}{Soc. Sci.}{}%
  981. \ifthenelse{\equal{\@journal}{societies}}{Societies}{}%
  982. \ifthenelse{\equal{\@journal}{soils}}{Soils}{}%
  983. \ifthenelse{\equal{\@journal}{sports}}{Sports}{}%
  984. \ifthenelse{\equal{\@journal}{standards}}{Standards}{}%
  985. \ifthenelse{\equal{\@journal}{stats}}{Stats}{}%
  986. \ifthenelse{\equal{\@journal}{surgeries}}{Surgeries}{}%
  987. \ifthenelse{\equal{\@journal}{sustainability}}{Sustainability}{}%
  988. \ifthenelse{\equal{\@journal}{symmetry}}{Symmetry}{}%
  989. \ifthenelse{\equal{\@journal}{systems}}{Systems}{}%
  990. \ifthenelse{\equal{\@journal}{technologies}}{Technologies}{}%
  991. \ifthenelse{\equal{\@journal}{toxics}}{Toxics}{}%
  992. \ifthenelse{\equal{\@journal}{toxins}}{Toxins}{}%
  993. \ifthenelse{\equal{\@journal}{tropicalmed}}{Trop. Med. Infect. Dis.}{}%
  994. \ifthenelse{\equal{\@journal}{universe}}{Universe}{}%
  995. \ifthenelse{\equal{\@journal}{urbansci}}{Urban Sci.}{}%
  996. \ifthenelse{\equal{\@journal}{vaccines}}{Vaccines}{}%
  997. \ifthenelse{\equal{\@journal}{vetsci}}{Vet. Sci.}{}%
  998. \ifthenelse{\equal{\@journal}{vibration}}{Vibration}{}%
  999. \ifthenelse{\equal{\@journal}{viruses}}{Viruses}{}%
  1000. \ifthenelse{\equal{\@journal}{vision}}{Vision}{}%
  1001. \ifthenelse{\equal{\@journal}{water}}{Water}{}%
  1002. \ifthenelse{\equal{\@journal}{wem}}{Wildl. Ecol. Manag.}{}%
  1003. }
  1004. %%%% Header and footer on first page
  1005. %% The plain page style needs to be redefined because with \maketitle in the article class, LaTeX applies the the plain page style automatically to the first page.
  1006. \ifthenelse{\equal{\@journal}{preprints} %
  1007. \OR \equal{\@arttype}{Reprint} %
  1008. \OR \equal{\@arttype}{Book}}{%
  1009. \fancypagestyle{plain}{%
  1010. \fancyhf{}
  1011. \ifthenelse{\equal{\@arttype}{Reprint} %
  1012. \OR \equal{\@arttype}{Book}}{
  1013. \fancyfoot[C]{%
  1014. \footnotesize%
  1015. \thepage}
  1016. \ifthenelse{\equal{\@arttype}{Book}}{}{%
  1017. \fancyfoot[L]{%
  1018. \footnotesize%
  1019. {\em \journalname}\ %
  1020. {\bfseries {\@pubyear}}, %
  1021. {\em \@pubvolume}, %
  1022. \ifthenelse{\equal{\@articlenumber}{\@empty}}{%
  1023. \@firstpage --\pageref*{LastPage}
  1024. }{\@articlenumber}%
  1025. }
  1026. \fancyfoot[R]{%
  1027. \footnotesize%
  1028. {\changeurlcolor{black}%
  1029. \href{http://www.mdpi.com/journal/\@journal}%
  1030. {www.mdpi.com/journal/\@journal}}%
  1031. }
  1032. }
  1033. }
  1034. }
  1035. }{%
  1036. \ifthenelse{\equal{\@arttype}{Supfile}}{
  1037. \fancypagestyle{plain}{
  1038. \fancyhf{}
  1039. \fancyhead[R]{
  1040. \footnotesize %
  1041. S\thepage{} of S\pageref*{LastPage}%
  1042. }%
  1043. \fancyhead[L]{
  1044. \footnotesize %
  1045. \ifthenelse{\equal{\@status}{submit}}{%
  1046. Version {\@ \today} submitted to {\em\journalname}%
  1047. }{%
  1048. {\em \journalname} %
  1049. {\bfseries \@pubyear}, %
  1050. {\em \@pubvolume}, %
  1051. \ifthenelse{\equal{\@articlenumber}{\@empty}}{%
  1052. \@firstpage --\pageref*{LastPage}%
  1053. }{%
  1054. \@articlenumber%
  1055. }%
  1056. ; doi:{\changeurlcolor{black}%
  1057. \href{https://doi.org/\@doinum}%
  1058. {\@doinum}}%
  1059. }%
  1060. }%
  1061. }%
  1062. }{
  1063. \fancypagestyle{plain}{
  1064. \fancyhf{}
  1065. \fancyfoot[L]{
  1066. \footnotesize%
  1067. \ifthenelse{\equal{\@status}{submit}}{%
  1068. Submitted to {\em\journalname}, %
  1069. pages \thepage \ -- \color{black}{\pageref*{LastPage}}%
  1070. }{
  1071. {\em \journalname}\ %
  1072. {\bfseries {\@pubyear}}, %
  1073. {\em \@pubvolume}, %
  1074. \ifthenelse{\equal{\@articlenumber}{\@empty}}{%
  1075. \@firstpage --\pageref*{LastPage}%
  1076. }{%
  1077. \@articlenumber%
  1078. }%
  1079. ; doi:{\changeurlcolor{black}%
  1080. \href{https://doi.org/\@doinum}%
  1081. {\@doinum}}%
  1082. }%
  1083. }%
  1084. \fancyfoot[R]{
  1085. \footnotesize%
  1086. {\changeurlcolor{black}%
  1087. \href{http://www.mdpi.com/journal/\@journal}%
  1088. {www.mdpi.com/journal/\@journal}}%
  1089. }%
  1090. \fancyhead{}
  1091. \renewcommand{\headrulewidth}{0.0pt}%
  1092. }
  1093. }%
  1094. }%
  1095. %%%% Maketitle part 1: Logo, Arttype, Title, Author
  1096. \renewcommand{\@maketitle}{
  1097. \begin{flushleft}
  1098. \ifthenelse{\equal{\@arttype}{Supfile}}{%
  1099. \fontsize{18}{18}\selectfont
  1100. \raggedright
  1101. \noindent\textbf{Supplementary Materials: \@Title}%
  1102. \par
  1103. \vspace{12pt}
  1104. \fontsize{10}{10}\selectfont
  1105. \noindent\boldmath\bfseries{\@Author}
  1106. }{%
  1107. \ifthenelse{\equal{\@arttype}{Book}}{}{%
  1108. \vspace*{-1.75cm}
  1109. }
  1110. {%0
  1111. \ifthenelse{\equal{\@journal}{preprints}
  1112. \OR \equal{\@arttype}{Book}}{}{%
  1113. \ifthenelse{\equal{\@status}{submit}}{%
  1114. \hfill \href{http://www.mdpi.com}{%
  1115. \includegraphics[height=1cm]{logo-mdpi}}\vspace{0.5cm}%
  1116. }{
  1117. \href{http://www.mdpi.com/journal/\@journal}{
  1118. \includegraphics[height=1.2cm]{\@journal-logo}}%
  1119. \hfill
  1120. \ifthenelse{\equal{\@journal}{proceedings}}{
  1121. \href{http://www.mdpi.com/journal/\@journal}{
  1122. \includegraphics[height=1.2cm]{logo-conference}
  1123. \hfill}
  1124. }{}
  1125. \ifthenelse{\equal{\@journal}{scipharm}}{%
  1126. \href{http://www.mdpi.com}{\includegraphics[height=1cm]{logo-mdpi-scipharm}}%
  1127. }{%
  1128. \href{http://www.mdpi.com}{\includegraphics[height=1cm]{logo-mdpi}}%
  1129. }%
  1130. }%
  1131. }%
  1132. \par
  1133. }%0
  1134. {%1
  1135. \vspace{14pt}
  1136. \fontsize{10}{10}\selectfont
  1137. \ifthenelse{\equal{\@arttype}{Book}}{}{
  1138. \ifthenelse{\equal{\@arttype}{Reprint}}{%
  1139. \textit{\ifthenelse{\equal{\@originalarttype}{\@empty}}{Article}{\@originalarttype}}%
  1140. }{%
  1141. \textit{\@arttype}%
  1142. }%
  1143. }%
  1144. \par%
  1145. }%1
  1146. {%2
  1147. \vspace{-1pt}
  1148. \fontsize{18}{18}\selectfont
  1149. \boldmath\bfseries{\@Title}
  1150. \par
  1151. \vspace{15pt}
  1152. }%2
  1153. {%3
  1154. \boldmath\bfseries{\@Author}
  1155. \par
  1156. \vspace{-4pt}
  1157. }%3
  1158. }
  1159. \end{flushleft}%
  1160. }
  1161. % Commands for hanging indent
  1162. \newcommand{\dist}{1.7em}
  1163. \newcommand{\hang}{\hangafter=1\hangindent=\dist\noindent}
  1164. %%%% Maketitle part 2
  1165. \newcommand{\maketitlen}{
  1166. \ifthenelse{\equal{\@arttype}{Book}}{\vspace{12pt}}{
  1167. \begin{flushleft}
  1168. \begin{spacing}{1.35}
  1169. \leftskip0.2cm
  1170. \fontsize{9}{9}\selectfont
  1171. {%
  1172. \ifthenelse{\equal{\firstargument}{1}}{}{%
  1173. \hang}\@address
  1174. \par
  1175. }%
  1176. {%
  1177. \ifthenelse{\equal{\@authornum}{author}}{}{%
  1178. \ifthenelse{\equal{\@corres}{\@empty}}{}{%
  1179. \hang\textbf{*} \tabto{\dist} \@corres}
  1180. \par
  1181. }
  1182. }%
  1183. {%
  1184. \ifthenelse{\equal{\@conference}{\@empty}}{}{%
  1185. \hang$\dagger$ \tabto{\dist} This paper is an extended version of our paper published in\space \@conference.}
  1186. \par
  1187. }%
  1188. {%
  1189. \ifthenelse{\equal{\@firstnote}{\@empty}}{}{%
  1190. \hang\ifthenelse{\equal{\@conference}{\@empty}}{$\dagger$}{$\ddagger$} \tabto{\dist} \@firstnote}
  1191. \par
  1192. }%
  1193. {%
  1194. \ifthenelse{\equal{\@secondnote}{\@empty}}{}{%
  1195. \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\ddagger$}{\S} \tabto{\dist} \@secondnote}
  1196. \par
  1197. }%
  1198. {%
  1199. \ifthenelse{\equal{\@thirdnote}{\@empty}}{}{%
  1200. \hang \ifthenelse{\equal{\@conference}{\@empty}}{\S}{$\|$} \tabto{\dist} \@thirdnote}
  1201. \par
  1202. }%
  1203. {%
  1204. \ifthenelse{\equal{\@fourthnote}{\@empty}}{}{%
  1205. \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\|$}{\P} \tabto{\dist} \@fourthnote}
  1206. \par
  1207. }%
  1208. {%
  1209. \ifthenelse{\equal{\@fifthnote}{\@empty}}{}{%
  1210. \hang \ifthenelse{\equal{\@conference}{\@empty}}{\P}{**} \tabto{\dist} \@fifthnote}
  1211. \par
  1212. }%
  1213. {%
  1214. \ifthenelse{\equal{\@sixthnote}{\@empty}}{}{%
  1215. \hang \ifthenelse{\equal{\@conference}{\@empty}}{**}{$\dagger\dagger$} \tabto{\dist} \@sixthnote}
  1216. \par
  1217. }%
  1218. {%
  1219. \ifthenelse{\equal{\@seventhnote}{\@empty}}{}{%
  1220. \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\dagger\dagger$}{$\ddagger\ddagger$} \tabto{\dist} \@seventhnote}
  1221. \par
  1222. }%
  1223. {%
  1224. \ifthenelse{\equal{\@eighthnote}{\@empty}}{}{%
  1225. \hang \ifthenelse{\equal{\@conference}{\@empty}}{$\ddagger\ddagger$}{***} \tabto{\dist} \@eighthnote}
  1226. \par
  1227. }%
  1228. {%
  1229. \vspace{6pt}
  1230. \ifthenelse{\equal{\@externaleditor}{\@empty}}{}{\@externaleditor}
  1231. \par
  1232. }%
  1233. {%
  1234. \ifthenelse{\equal{\@status}{submit}}{Version {\@ \today} submitted to \journalname}{\@history}
  1235. \par
  1236. \vspace{-4pt}
  1237. }%
  1238. \end{spacing}
  1239. \end{flushleft}
  1240. }
  1241. }
  1242. %%%% Abstract, keywords, journal data, PACS, MSC, JEL
  1243. \newcommand{\abstractkeywords}{
  1244. \vspace{-8pt}
  1245. {% For journal Applied Sciences:
  1246. \ifthenelse{\equal{\@featuredapplication}{\@empty}}{}{
  1247. \begingroup
  1248. \leftskip0.2cm
  1249. \noindent\textbf{Featured Application:\space\@featuredapplication}
  1250. \vspace{12pt}
  1251. \par
  1252. \endgroup}
  1253. }%
  1254. {%10
  1255. \begingroup
  1256. \leftskip0.2cm
  1257. \ifthenelse{\equal{\@simplesumm}{\@empty}}{}{
  1258. \noindent\textbf{Simple Summary:\space}\@simplesumm
  1259. \vspace{12pt}
  1260. \par
  1261. }
  1262. \ifthenelse{\equal{\@abstract}{\@empty}}{}{
  1263. \noindent\textbf{Abstract:\space}\@abstract
  1264. \vspace{12pt}
  1265. \par
  1266. }
  1267. \endgroup
  1268. }%10
  1269. {% For journal Data:
  1270. \ifthenelse{\equal{\@dataset}{\@empty}}{}{
  1271. \begingroup
  1272. \leftskip0.2cm
  1273. \noindent\textbf{Data Set:\space}\@dataset
  1274. \vspace{12pt}
  1275. \par
  1276. \endgroup}
  1277. }%
  1278. {%For journal Data:
  1279. \ifthenelse{\equal{\@datasetlicense}{\@empty}}{}{
  1280. \begingroup
  1281. \leftskip0.2cm
  1282. \noindent\textbf{Data Set License:\space}\@datasetlicense
  1283. \vspace{12pt}
  1284. \par
  1285. \endgroup}
  1286. }%
  1287. {%11
  1288. \begingroup
  1289. \leftskip0.2cm
  1290. \ifthenelse{\equal{\@keyword}{\@empty}}{}{
  1291. \noindent\textbf{Keywords:\space}\@keyword
  1292. \vspace{12pt}
  1293. \par
  1294. }
  1295. \endgroup
  1296. }%11
  1297. {%For journal Toxins:
  1298. \begingroup
  1299. \leftskip0.2cm
  1300. \ifthenelse{\equal{\@keycontribution}{\@empty}}{}{
  1301. \noindent\textbf{Key contribution:\space}\@keycontribution
  1302. \vspace{12pt}
  1303. \par
  1304. }
  1305. \endgroup
  1306. }%11
  1307. {%12
  1308. \ifthenelse{\equal{\@pacs}{\@empty}}{}{
  1309. \begingroup
  1310. \leftskip0.2cm
  1311. \noindent\textbf{PACS:\space}\@pacs
  1312. \vspace{12pt}
  1313. \par
  1314. \endgroup}
  1315. }%12
  1316. {%13
  1317. \ifthenelse{\equal{\@msc}{\@empty}}{}{
  1318. \begingroup
  1319. \leftskip0.2cm
  1320. \noindent\textbf{MSC:\space}\@msc
  1321. \vspace{12pt}
  1322. \par
  1323. \endgroup}
  1324. }%13
  1325. {%14
  1326. \ifthenelse{\equal{\@jel}{\@empty}}{}{
  1327. \begingroup
  1328. \leftskip0.2cm
  1329. \noindent\textbf{JEL Classification:\space}\@jel
  1330. \vspace{12pt}
  1331. \par
  1332. \endgroup}
  1333. }%14
  1334. \vspace{4pt}
  1335. \hrule
  1336. \vspace{12pt}
  1337. }
  1338. %%%% Print maketitle and abstractkeywords
  1339. \ifthenelse{\equal{\@arttype}{Supfile}}{
  1340. \AfterEndPreamble{
  1341. \maketitle
  1342. \let\maketitle\relax
  1343. \ifthenelse{\equal{\@status}{submit}}{\linenumbers}{}
  1344. }%
  1345. }{
  1346. \AfterEndPreamble{
  1347. \maketitle
  1348. \let\maketitle\relax
  1349. \maketitlen
  1350. \let\maketitlen\relax
  1351. \ifthenelse{\equal{\@status}{submit}}{\linenumbers}{}
  1352. \abstractkeywords
  1353. }%
  1354. }
  1355. \AtBeginDocument{
  1356. \DeclareSymbolFont{AMSb}{U}{msb}{m}{n}
  1357. \DeclareSymbolFontAlphabet{\mathbb}{AMSb}
  1358. }
  1359. %%%% Font size in Tables
  1360. \AtEndPreamble{
  1361. \def\@tablesize{}
  1362. \newcommand{\tablesize}[1]{\gdef\@tablesize{#1}}
  1363. \let\oldtabular\tabular
  1364. \renewcommand{\tabular}{\ifthenelse{\equal{\@tablesize}{\@empty}}{\small}{\@tablesize}\oldtabular}
  1365. }
  1366. %%%% Section headings
  1367. \setcounter{secnumdepth}{4} %i.e., section numbering depth, which defaults to 3 in the article class. To get paragraphs numbered and counted, increase the default value of secnumdepth to 4
  1368. \titleformat {\section} [block] {\raggedright \fontsize{10}{10}\selectfont\bfseries} {\thesection.\space} {0pt} {}
  1369. \titlespacing {\section} {0pt} {12pt} {6pt}
  1370. \titleformat {\subsection} [block] {\raggedright \fontsize{10}{10}\selectfont\itshape} {\thesubsection.\space} {0pt} {}
  1371. \titlespacing {\subsection} {0pt} {12pt} {6pt}
  1372. \titleformat {\subsubsection} [block] {\raggedright \fontsize{10}{10}\selectfont} {\thesubsubsection.\space} {0pt} {}
  1373. \titlespacing {\subsubsection} {0pt} {12pt} {6pt}
  1374. \titleformat {\paragraph} [block] {\raggedright \fontsize{10}{10}\selectfont} {} {0pt} {}
  1375. \titlespacing {\paragraph} {0pt} {12pt} {6pt}
  1376. %%%% Special section title style for back matter
  1377. \newcommand{\supplementary}[1]{
  1378. \par\vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Supplementary Materials:} {#1}\par}}
  1379. \newcommand{\acknowledgments}[1]{
  1380. \vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Acknowledgments:} {#1}\par}}
  1381. \newcommand{\authorcontributions}[1]{%
  1382. \vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Author Contributions:} {#1}\par}}
  1383. \newcommand{\conflictsofinterest}[1]{%
  1384. \vspace{6pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Conflicts of Interest:} {#1}\par}}
  1385. \newcommand{\sampleavailability}[1]{%
  1386. \vspace{12pt}\noindent{\fontsize{9}{9}\selectfont\textbf{Sample Availability:} {#1}\par}}
  1387. \newcommand{\abbreviations}[1]{%
  1388. \vspace{12pt}\noindent{\selectfont\textbf{Abbreviations}\par\vspace{6pt}\noindent {\fontsize{9}{9}\selectfont #1}\par}}
  1389. %%%%% Defines the appendix
  1390. \def\@appendixtitles{}
  1391. \newcommand{\appendixtitles}[1]{\gdef\@appendixtitles{#1}}
  1392. \def\@appendixsections{}
  1393. \newcommand{\appendixsections}[1]{\gdef\@appendixsections{#1}}
  1394. \renewcommand{\appendix}{%
  1395. \setcounter{section}{0}%
  1396. \setcounter{subsection}{0}%
  1397. \setcounter{subsubsection}{0}%
  1398. %
  1399. \gdef\thesection{\@Alph\c@section}%
  1400. \gdef\thesubsection{\@Alph\c@section.\@arabic\c@subsection}%
  1401. %
  1402. \titleformat {\section} [block] {\raggedright \fontsize{10}{10}\selectfont\bfseries} {%
  1403. \ifthenelse{\equal{\@appendixtitles}{yes}}{%
  1404. \ifthenelse{\equal{\@appendixsections}{multiple}}{%
  1405. \appendixname~\thesection.%
  1406. }{%
  1407. \appendixname.}
  1408. }{%
  1409. \ifthenelse{\equal{\@appendixsections}{multiple}}{%
  1410. \appendixname~\thesection~%
  1411. }{%
  1412. \appendixname~}
  1413. }
  1414. } {0pt} {}
  1415. \titlespacing {\section} {0pt} {12pt} {6pt}
  1416. %
  1417. \titleformat {\subsection} [block] {\raggedright \fontsize{10}{10}\selectfont\itshape} {%
  1418. \ifthenelse{\equal{\@appendixtitles}{yes}}{%
  1419. \appendixname~\thesubsection.%
  1420. }{%
  1421. \appendixname~\thesubsection%
  1422. }
  1423. } {0pt} {}
  1424. \titlespacing {\subsection} {0pt} {12pt} {6pt}
  1425. %
  1426. \titleformat {\subsubsection} [block] {\raggedright \fontsize{10}{10}\selectfont} {%
  1427. \ifthenelse{\equal{\@appendixtitles}{yes}}{%
  1428. \appendixname~\thesubsubsection.%
  1429. }{%
  1430. \appendixname~\thesubsubsection%
  1431. }
  1432. } {0pt} {}
  1433. \titlespacing {\subsubsection} {0pt} {12pt} {6pt}
  1434. %
  1435. \gdef\theHsection{\@Alph\c@section.}% for hyperref
  1436. \gdef\theHsubsection{\@Alph\c@section.\@arabic\c@subsection}% for hyperref
  1437. \csname appendixmore\endcsname
  1438. \renewcommand{\thefigure}{A\arabic{figure}}
  1439. \setcounter{figure}{0}
  1440. \renewcommand{\thetable}{A\arabic{table}}
  1441. \setcounter{table}{0}
  1442. \renewcommand{\thescheme}{A\arabic{scheme}}
  1443. \setcounter{scheme}{0}
  1444. \renewcommand{\thechart}{A\arabic{chart}}
  1445. \setcounter{chart}{0}
  1446. \renewcommand{\theboxenv}{A\arabic{boxenv}}
  1447. \setcounter{boxenv}{0}
  1448. \renewcommand{\theequation}{A\arabic{equation}}
  1449. \setcounter{equation}{0}
  1450. \renewcommand{\thetheorem}{A\arabic{theorem}}
  1451. \setcounter{theorem}{0}
  1452. \renewcommand{\thelemma}{A\arabic{lemma}}
  1453. \setcounter{lemma}{0}
  1454. \renewcommand{\thecorollary}{A\arabic{corollary}}
  1455. \setcounter{corollary}{0}
  1456. \renewcommand{\theproposition}{A\arabic{proposition}}
  1457. \setcounter{proposition}{0}
  1458. \renewcommand{\thecharacterization}{A\arabic{characterization}}
  1459. \setcounter{characterization}{0}
  1460. \renewcommand{\theproperty}{A\arabic{property}}
  1461. \setcounter{property}{0}
  1462. \renewcommand{\theproblem}{A\arabic{problem}}
  1463. \setcounter{problem}{0}
  1464. \renewcommand{\theexample}{A\arabic{example}}
  1465. \setcounter{example}{0}
  1466. \renewcommand{\theexamplesanddefinitions}{A\arabic{examplesanddefinitions}}
  1467. \setcounter{examplesanddefinitions}{0}
  1468. \renewcommand{\theremark}{A\arabic{remark}}
  1469. \setcounter{remark}{0}
  1470. \renewcommand{\thedefinition}{A\arabic{definition}}
  1471. \setcounter{definition}{0}
  1472. \renewcommand{\thehypothesis}{A\arabic{hypothesis}}
  1473. \setcounter{hypothesis}{0}
  1474. \renewcommand{\thenotation}{A\arabic{notation}}
  1475. \setcounter{notation}{0}
  1476. }
  1477. %%%% Layout
  1478. \ifthenelse{\equal{\@arttype}{Book}}{%%
  1479. \RequirePackage[left=2.05cm,
  1480. right=2.05cm,
  1481. top=2.05cm,
  1482. bottom=2.05cm,
  1483. paperwidth=170mm,
  1484. paperheight=244mm,
  1485. includefoot]{geometry}
  1486. }{
  1487. \RequirePackage[left=2.7cm,
  1488. right=2.7cm,
  1489. top=1.8cm,
  1490. bottom=1.5cm,
  1491. includehead,
  1492. includefoot]{geometry}
  1493. }
  1494. \linespread{1.13}
  1495. \setlength{\parindent}{0.75cm}
  1496. %%%% Figures and tables
  1497. \newfloat{boxenv}{H}{lop}
  1498. \floatname{boxenv}{Box}
  1499. \newfloat{chart}{H}{lop}
  1500. \floatname{chart}{Chart}
  1501. \newfloat{scheme}{H}{lop}
  1502. \floatname{scheme}{Scheme}
  1503. \floatstyle{plain}
  1504. \restylefloat{figure}
  1505. \floatstyle{plaintop}
  1506. \restylefloat{table}
  1507. \floatstyle{plaintop}
  1508. \restylefloat{boxenv}
  1509. \floatstyle{plain}
  1510. \restylefloat{scheme}
  1511. \RequirePackage{caption}
  1512. \captionsetup[figure]{position=bottom, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=12pt, justification=justified}
  1513. \captionsetup[scheme]{position=bottom, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=12pt, justification=justified}
  1514. \captionsetup[chart]{position=bottom, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=12pt, justification=justified}
  1515. \captionsetup[table]{position=top, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=12pt, justification=justified}
  1516. \captionsetup[boxenv]{position=top, margin=0.75cm, labelfont={bf, small, stretch=1.17}, labelsep=period, textfont={small, stretch=1.17}, aboveskip=6pt, belowskip=12pt, justification=justified}
  1517. %% For table footnotes
  1518. \newsavebox{\@justcentbox}
  1519. \newcommand{\justifyorcenter}[1]{
  1520. \sbox \@justcentbox{#1}
  1521. \ifdim \wd \@justcentbox >\hsize #1
  1522. \else \centerline{#1} \fi
  1523. }
  1524. %%%% Bullet lists
  1525. \newlength{\wideitemsep}
  1526. \setlength{\wideitemsep}{.5\itemsep}
  1527. \addtolength{\wideitemsep}{-7pt}
  1528. \let\olditem\item
  1529. \renewcommand{\item}{\setlength{\itemsep}{\wideitemsep}\olditem}
  1530. %%%% Supplementary file
  1531. \ifthenelse{\equal{\@arttype}{Supfile}}{
  1532. \renewcommand{\thefigure}{S\arabic{figure}}%
  1533. \renewcommand{\thetable}{S\arabic{table}}%
  1534. }{}%
  1535. %%%% Header and footer (all pages except the first)
  1536. \renewcommand\headrule{} %% set line (from fancyhdr) in header to nothing
  1537. \pagestyle{fancy}
  1538. \lhead{
  1539. \ifthenelse{\equal{\@journal}{preprints}%
  1540. \OR \equal{\@arttype}{Book}}{%
  1541. }{%
  1542. \fontsize{8}{8}\selectfont%
  1543. \ifthenelse{\equal{\@status}{submit}}{%
  1544. Version {\@ \today} submitted to {\em \journalname}%
  1545. }{%
  1546. \ifthenelse{\equal{\@arttype}{Supfile}}{%
  1547. {\em \journalname} {\bfseries \@pubyear}, {\em \@pubvolume}, %
  1548. \ifthenelse{\equal{\@articlenumber}{}}{%
  1549. \@firstpage --\pageref*{LastPage}%
  1550. }{\@articlenumber}%
  1551. ; doi:{\changeurlcolor{black}%
  1552. \href{https://doi.org/\@doinum}%
  1553. {\@doinum}}%
  1554. }{%
  1555. {\em \journalname} {\bfseries \@pubyear}, {\em \@pubvolume}, %
  1556. \ifthenelse{\equal{\@articlenumber}{}}{%
  1557. \@firstpage --\pageref*{LastPage}%
  1558. }{%
  1559. \@articlenumber}%
  1560. }%
  1561. }%
  1562. }%
  1563. }
  1564. \rhead{
  1565. \ifthenelse{\equal{\@arttype}{Reprint} \OR \equal{\@arttype}{Book}}{}{
  1566. % \ifthenelse{\equal{\@journal}{recycling}
  1567. % \OR \equal{\@journal}{philosophies}
  1568. % \OR \equal{\@journal}{sinusitis}
  1569. % \OR \equal{\@journal}{fishes}
  1570. % \OR \equal{\@journal}{scipharm}
  1571. % \OR \equal{\@journal}{jfmk}}{
  1572. % \ifthenelse{\equal{\@arttype}{Supfile}}{
  1573. % \fontsize{8}{8}\selectfont S\thepage{}
  1574. % }{
  1575. % \ifthenelse{\equal{\@status}{submit}}{
  1576. % \fontsize{8}{8}\selectfont\thepage
  1577. % }{
  1578. % \fontsize{8}{8}\selectfont\thepage{}%
  1579. % }%
  1580. % }%
  1581. % }{
  1582. \ifthenelse{\equal{\@arttype}{Supfile}}{
  1583. \fontsize{8}{8}\selectfont S\thepage{} of S\pageref*{LastPage}%
  1584. }{
  1585. \fontsize{8}{8}\selectfont\thepage{} of \pageref*{LastPage}%
  1586. }%
  1587. % }%
  1588. }%
  1589. }
  1590. \cfoot{
  1591. \ifthenelse{\equal{\@arttype}{Reprint}
  1592. \OR \equal{\@arttype}{Book}}{%
  1593. \fontsize{8}{8}\selectfont\thepage
  1594. }{}
  1595. }
  1596. %%%% Bibliography
  1597. \renewcommand\@biblabel[1]{#1.\hfill}
  1598. \def\thebibliography#1{
  1599. \linespread{1.44}
  1600. \section*{\@reftitle}
  1601. \addcontentsline{toc}{section}{References}
  1602. \fontsize{9}{9}\selectfont
  1603. \list{{\arabic{enumi}}}{\def\makelabel##1{\hss{##1}}
  1604. \topsep=0\p@
  1605. \parsep=5\p@
  1606. \partopsep=0\p@
  1607. \itemsep=0\p@
  1608. \labelsep=1.5mm
  1609. \ifthenelse{\equal{\@journal}{admsci}
  1610. \OR \equal{\@journal}{arts}
  1611. \OR \equal{\@journal}{econometrics}
  1612. \OR \equal{\@journal}{economies}
  1613. \OR \equal{\@journal}{genealogy}
  1614. \OR \equal{\@journal}{humanities}
  1615. \OR \equal{\@journal}{ijfs}
  1616. \OR \equal{\@journal}{jrfm}
  1617. \OR \equal{\@journal}{laws}
  1618. \OR \equal{\@journal}{religions}
  1619. \OR \equal{\@journal}{risks}
  1620. \OR \equal{\@journal}{socsci}}{%
  1621. \ifthenelse{\equal{\@externalbibliography}{\@empty}}{%
  1622. \itemindent=-7.7mm
  1623. }{%
  1624. \itemindent=-3.3mm}%
  1625. }{%
  1626. \itemindent=0\p@}
  1627. \settowidth\labelwidth{\footnotesize[#1]}%
  1628. \leftmargin\labelwidth
  1629. \advance\leftmargin\labelsep
  1630. %\advance\leftmargin -\itemindent
  1631. \usecounter{enumi}}
  1632. %\def\newblock{\ }
  1633. %\sloppy\clubpenalty4000\widowpenalty4000
  1634. %\sfcode`\.=1000\relax
  1635. }
  1636. \let\endthebibliography=\endlist
  1637. %%%% Copyright info
  1638. \newcommand{\cright}{%
  1639. \ifthenelse{\equal{\@arttype}{Supfile} \OR \equal{\@journal}{preprints}}{%
  1640. }{%
  1641. \vspace{12pt}
  1642. \noindent
  1643. \linespread{1.44}
  1644. \fontsize{9}{9}\selectfont
  1645. \ifthenelse{\equal{\@status}{submit}}{
  1646. \noindent \copyright{} {\@ \the\year} by the \@authornum. %
  1647. Submitted to {\em \journalname} for %
  1648. possible open access publication %
  1649. under the terms and conditions of the Creative Commons Attribution %
  1650. \ifthenelse{\equal{\@journal}{ijtpp}}{NonCommercial NoDerivatives (CC BY-NC-ND)}{(CC BY)} %
  1651. license %
  1652. \ifthenelse{\equal{\@journal}{ijtpp}}{
  1653. (\changeurlcolor{black}%
  1654. \href{https://creativecommons.org/licenses/by-nc-nd/4.0/.}%
  1655. {https://creativecommons.org/licenses/by-nc-nd/4.0/}).%
  1656. }{%
  1657. (\changeurlcolor{black}%
  1658. \href{http://creativecommons.org/licenses/by/4.0/.}%
  1659. {http://creativecommons.org/licenses/by/4.0/}).}
  1660. }{
  1661. \begin{minipage}{.2\textwidth}
  1662. \hspace{-1.2mm}%
  1663. \vspace{2mm}%
  1664. \href{http://creativecommons.org/}{%
  1665. \ifthenelse{\equal{\@journal}{ijtpp}}{%
  1666. \includegraphics[width=0.94\textwidth]{logo-ccby-nc-nd}%
  1667. }{%
  1668. \includegraphics[width=0.94\textwidth]{logo-ccby}
  1669. }
  1670. }
  1671. \end{minipage}%
  1672. \begin{minipage}{.79\textwidth}
  1673. \copyright \ {\@copyrightyear} by the \@authornum. %
  1674. Licensee MDPI, Basel, Switzerland. %
  1675. This article is an open access article %
  1676. distributed under the terms and conditions %
  1677. of the Creative Commons Attribution %
  1678. \ifthenelse{\equal{\@journal}{ijtpp}}{NonCommercial NoDerivatives (CC BY-NC-ND)}{(CC BY)} %
  1679. license %
  1680. \ifthenelse{\equal{\@journal}{ijtpp}}{
  1681. (\changeurlcolor{black}%
  1682. \href{https://creativecommons.org/licenses/by-nc-nd/4.0/.}%
  1683. {https://creativecommons.org/licenses/by-nc-nd/4.0/}).%
  1684. }{%
  1685. (\changeurlcolor{black}%
  1686. \href{http://creativecommons.org/licenses/by/4.0/.}%
  1687. {http://creativecommons.org/licenses/by/4.0/}).}
  1688. \end{minipage}
  1689. }
  1690. }
  1691. }
  1692. %BOOK%
  1693. \newcommand{\Authorbox}[1]{\gdef\@Authorbox{#1}} %
  1694. \newcommand{\Titlebox}[1]{\gdef\@Titlebox{#1}}%
  1695. \newcommand{\Seriestitlebox}[1]{\gdef\@Seriestitlebox{#1}}%
  1696. \newcommand{\Editorbox}[1]{\gdef\@Editorbox{#1}} %
  1697. \newcommand{\Seriesnamebox}[1]{\gdef\@Seriesnamebox{#1}}%
  1698. \newcommand{\Serienumberbox}[1]{\gdef\@Seriesnumberbox{#1}}%
  1699. \newcommand{\Volumeumberbox}[1]{\gdef\@Volumenumberbox{#1}}%
  1700. \newcommand{\firstpagebox}[1]{\gdef\@firstpagebox{#1}}
  1701. \newcommand{\lastpagebox}[1]{\gdef\@lastpagebox{#1}} %
  1702. \newcommand{\citebox}{
  1703. \ifthenelse{\equal{\@arttype}{Book}}{
  1704. \centerline{
  1705. \fbox{
  1706. \begin{minipage}[t][][t]{1.001\linewidth}
  1707. \@Authorbox{} \@Titlebox. In \textit{\@Seriestitlebox}; \@Editorbox; \@Seriesnamebox{} \@Seriesnumberbox; MDPI: Basel, Switzerland, 2017; Vol. \@Volumenumberbox, pp. \@firstpagebox{} -- \@lastpagebox.
  1708. \end{minipage}
  1709. }
  1710. }
  1711. }}{}
  1712. \endinput