Tag Info

Hot answers tagged


The LaTeX core defines \@ifclassloaded{classname}{true branch}{false branch} which is basically the same as \@ifpackageloaded for checking whether a certain package is loaded. The class name has to be specified without the usual .cls extension. Since @ occurs in the macro name, \makeatletter...\makeatother is needed in the document preamble, if the check ...


Something like this? mypackage.sty: \ProvidesPackage{mypackage} \RequirePackage[utf8]{inputenc} \RequirePackage{setspace} %Set the dimensions of the document \RequirePackage[a4paper,margin=1in]{geometry} \RequirePackage{graphicx, pgfplots, textcomp,lscape} %Bibliography style and source % \RequirePackage{achemso}% or comment out biblatex % ...


The troublesome parts in iiufrgs.cls are the lines 142 to 146. \vfuzz=30pt % prevent overfull \vbox while \output is active % prevent underfull \vbox while \output is active: \edef\orig@output{\the\output} \output{\setbox\@cclv\vbox{\unvbox\@cclv\vspace{0pt plus 50pt}}\orig@output} The first line, as David Carlisle pointed out in his comments, does not ...


The clv2 class already defines an algorithm environment as a regular list similar to that of description (see section 7.1 Other List Types in the COLI manual or p 3-4 of the COLI template): \newenvironment{algorithm}{\par\list{}{\leftmargin\z@\labelwidth\z@\labelsep\z@\itemsep6pt\topsep12pt plus2pt ...


You can use algorithm2e and algorithmic with the clv2 class, provided you smooth out some issues: the class defines an algorithm environment (a very primitive one) the class defines \TRUE the class defines a numdef environment, that makes it incompatible with etoolbox Here's a way to use algorithm2e and algorithmic with the class. \documentclass{clv2} ...


You could try with \corref{label} within \author command, this will generate the corresponding output of \cortext[label]. So the respective \author may be coded as: \author[a]{ Author c name\corref{cor1}}


The template does not use package vmargin in its current form. It uses package geometry and you can change the margins using \geometry{margin=1in}.

Only top voted, non community-wiki answers of a minimum length are eligible