-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
2,999 additions
and
10,051 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,325 @@ | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
%% | ||
%% RBGf Class for LaTeX files | ||
%% August 2021 | ||
%% | ||
%% This file is for the exclusive use of the editorial board of the Brazilian Journal of Geophysics | ||
%% | ||
%% Initial Class Provide by: | ||
%% | ||
%% Thiago R Almeida | ||
%% | ||
%% Modified by: Cicero Regis | ||
%% | ||
%% Revised by: | ||
%% | ||
%% Versions: | ||
%% | ||
%% v.02 in August, 2021 | ||
%% | ||
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | ||
%% ------------------------------------------------------------------- | ||
%% | ||
%% ------------------------------------------------------------------- | ||
\NeedsTeXFormat{LaTeX2e} | ||
\ProvidesClass{BrJG_submit} | ||
\DeclareOption{P}{\newcommand\tipo{P}} | ||
\DeclareOption{M}{\newcommand\tipo{M}} | ||
|
||
% USAR AS CONFIGURACOES DA CLASSE article % | ||
\DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}} | ||
\ProcessOptions\relax | ||
\LoadClass[twoside,a4paper,twocolumn,11pt]{article} | ||
|
||
%% Page style | ||
\setlength{\textheight}{25cm} | ||
\setlength{\textwidth}{17cm} | ||
\setlength{\oddsidemargin}{-0.5cm} | ||
\setlength{\evensidemargin}{-0.5cm} | ||
\setlength{\topmargin}{-1.5cm} | ||
\setlength{\headheight}{0.5cm} | ||
\setlength{\headsep}{1cm} | ||
%\setlength{\columnsep}{0.75cm} | ||
|
||
%\linespread{1} | ||
|
||
%% ------------------------------------------------------------------- | ||
%% Text configuration: | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage{ifthen} | ||
\RequirePackage{etoolbox} | ||
|
||
\RequirePackage[english]{babel} | ||
\RequirePackage[utf8]{inputenc} | ||
\RequirePackage[T1]{fontenc} | ||
|
||
\hyphenpenalty1 | ||
|
||
%% ------------------------------------------------------------------- | ||
%% Main document font: | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage[scaled]{helvet} | ||
\renewcommand{\familydefault}{\sfdefault} | ||
|
||
%% ------------------------------------------------------------------- | ||
%% Math, units and science packages: | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage{amsmath,amsfonts,dsfont,amssymb} | ||
\RequirePackage{mathtools} | ||
|
||
%% ------------------------------------------------------------------- | ||
%% To control the floating elements position (graphics, tables, figures, etc): | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage{graphicx} | ||
\RequirePackage[labelsep=period]{caption} | ||
\RequirePackage{subcaption} | ||
\RequirePackage{float} | ||
\RequirePackage{setspace} | ||
\RequirePackage{array} | ||
\renewcommand{\arraystretch}{1.5} | ||
|
||
%% ------------------------------------------------------------------- | ||
%% To merge rows and columns into tables: | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage{multirow} | ||
\RequirePackage{multicol} | ||
\setlength{\columnsep}{0.75cm} | ||
|
||
%%------------------------------------------------------------------- | ||
%% Configuration of hyperlinks: | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage[colorlinks=true,linkcolor=black,urlcolor=blue,citecolor=blue]{hyperref} | ||
%% To have the possibility to change the urlcolor | ||
\newcommand{\changeurlcolor}[1]{\hypersetup{urlcolor=#1}} | ||
|
||
\RequirePackage{cleveref} | ||
|
||
|
||
%% ------------------------------------------------------------------- | ||
%% Article numbers: | ||
%% ------------------------------------------------------------------- | ||
|
||
\makeatletter | ||
|
||
\DeclareRobustCommand{\ano}[1]{\newcommand{\yr}{#1}} | ||
\DeclareRobustCommand{\correspondent}[1]{\newcommand{\correspond}{#1}} | ||
|
||
%%------------------------------------------------------------------- | ||
%% Commands for title and authors. | ||
%% ------------------------------------------------------------------- | ||
\DeclareRobustCommand{\shorttitle}[1]{\newcommand{\titulocurto}{#1}} | ||
\DeclareRobustCommand{\shortauthors}[1]{\newcommand{\autorescurto}{#1}} | ||
|
||
%%------------------------------------------------------------------- | ||
%% First page layout: | ||
%% ------------------------------------------------------------------- | ||
|
||
%% ------------------------------------------------------------------- | ||
%% Set the start pages numbering: | ||
%% ------------------------------------------------------------------ | ||
%\usepackage{lastpage} | ||
%\newcommand{\@lastpg}{\pageref{LastPage}} | ||
|
||
%%------------------------------------------------------------------- | ||
%% Document header and footer (except first page): | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage{fancyhdr} | ||
\pagestyle{fancy} | ||
\fancyhead[EL]{ {\Large \thepage} \hspace{1mm} {\small \MakeUppercase{\text{\titulocurto}}} } | ||
\fancyhead[ER]{} | ||
\ifthenelse{\equal{\tipo}{P}}{ | ||
\fancyhead[OR]{ {\small \text{\autorescurto}} \hspace{1mm} {\Large \thepage} } }{ | ||
\fancyhead[OR]{ {\Large \thepage} } | ||
} | ||
\fancyhead[OL]{} | ||
\fancyfoot[ER,OL]{\small Braz. J. Geophys., \yr} | ||
\cfoot{} | ||
|
||
\DeclareRobustCommand\blfootnote[1]{% | ||
\begingroup | ||
\renewcommand\thefootnote{}\footnote{#1}% | ||
\addtocounter{footnote}{-1}% | ||
\endgroup | ||
} | ||
%\newcounter{filiacao} | ||
%\DeclareRobustCommand{\affiliation}[1]{\stepcounter{filiacao} \blfootnote{$^{\arabic{filiacao}}$#1} } | ||
|
||
\DeclareRobustCommand{\affiliation}[2]{ \ifthenelse{\equal{\tipo}{P}}{ \blfootnote{$^{#1}$#2} }{\relax} } | ||
\DeclareRobustCommand{\affil}[1]{ $^{#1}$ } | ||
|
||
%\forcsvlist{\listadd\filiacao}{\@affil} | ||
|
||
%\forcsvlist{\listadd\mylist}{item1, item2, item3} | ||
|
||
%\renewcommand*{\do}[1]{\footnote{#1}} | ||
|
||
|
||
%%------------------------------------------------------------------- | ||
%% Section and subsection configuration: | ||
%% ------------------------------------------------------------------- | ||
|
||
\setcounter{secnumdepth}{4} | ||
% Section titles: Uppercase, boldface. | ||
\renewcommand{\section}{\@startsection | ||
{section}% % the name | ||
{1}% % the level | ||
{0mm}% % the indent {-10\p@} | ||
{-\baselineskip}% % the before skip | ||
{0.5\baselineskip}% % the after skip | ||
{\bfseries\MakeUppercase}} % the style | ||
|
||
|
||
% Subsection titles: Normalfont, boldface. | ||
\renewcommand{\subsection}{\@startsection | ||
{subsection}% % the name | ||
{2}% % the level | ||
{0mm}% % the indent | ||
{-\baselineskip}% % the before skip | ||
{0.5\baselineskip}% % the after skip | ||
{\bfseries}} % the style | ||
|
||
% Sub-subsection titles: Normalfont, italics, boldface. | ||
\renewcommand{\subsubsection}{\@startsection | ||
{subsubsection}% % the name | ||
{2}% % the level | ||
{0mm}% % the indent | ||
{-\baselineskip}% % the before skip | ||
{0.5\baselineskip}% % the after skip | ||
{\it\bfseries}} % the style | ||
|
||
% Configurations for appendices. | ||
\let\oldappendix\appendix% Store \appendix | ||
\renewcommand{\appendix}{% Update \appendix | ||
\oldappendix% Default \appendix | ||
\setcounter{equation}{0} | ||
\setcounter{figure}{0} | ||
\setcounter{table}{0} | ||
\renewcommand*{\@seccntformat}[1]{{\bf APPENDIX} \thesection. \quad} | ||
\renewcommand{\theequation}{\thesection\arabic{equation}} | ||
\renewcommand{\thefigure}{\thesection\arabic{figure}} | ||
\renewcommand{\thetable}{\thesection\arabic{table}} | ||
% \renewcommand{\theequation}{\thesection\arabic{equation}} | ||
% \renewcommand*{\@seccntformat}[1]{{\bf APPENDIX} \quad \csname \endcsname} | ||
} | ||
|
||
%%------------------------------------------------------------------- | ||
%% Commands to configure the first page: | ||
%% ------------------------------------------------------------------- | ||
|
||
%\renewcommand*{\do}[1]{\footnote{#1}} | ||
%\renewcommand{\abstract}[1]{\newcommand{\@abst}{#1}} | ||
|
||
\renewcommand{\footnoterule}{% | ||
\kern -3pt | ||
\hrule width \textwidth height 0.5pt | ||
\kern 2pt | ||
} | ||
\renewcommand{\headrulewidth}{1pt} | ||
|
||
\DeclareRobustCommand{\cover}{ | ||
% \makeatletter | ||
\setcounter{page}{0} | ||
% | ||
\setstretch{0.75} | ||
{\scriptsize | ||
\begin{tabular}{ll} | ||
\multirow{4}{*}{\includegraphics[scale=0.05]{Logo_BrJG.png}} & Brazilian Journal of Geophysics (\yr) \\ % | ||
& Brazilian Geophysical Society \\%& \\ | ||
& \\ %& \\ | ||
& | ||
\end{tabular} } | ||
\vspace{1cm}\\ | ||
\setstretch{1.5} | ||
\begin{center} | ||
\begin{minipage}{0.9\textwidth} | ||
\centering | ||
{\Large\bfseries\MakeUppercase \@title}\\ | ||
\ifthenelse{\equal{\tipo}{P}}{ | ||
\vspace{0.5cm} | ||
{\large \@author} | ||
\vspace{1cm} }{ | ||
\vspace{1cm} } | ||
\end{minipage} | ||
\end{center} | ||
} | ||
|
||
%%------------------------------------------------------------------- | ||
%% Abstract configuration: | ||
%% ------------------------------------------------------------------- | ||
%\makeatletter | ||
\DeclareRobustCommand{\keywords}[1]{\newcommand{\@keys}{#1}} | ||
\renewenvironment{abstract} | ||
{ | ||
\thispagestyle{empty} | ||
\noindent\setstretch{1} | ||
\begin{minipage}{\textwidth} | ||
\textbf{ABSTRACT.} | ||
} | ||
{ | ||
\ifthenelse{ \isundefined{\@keys} }{}{\vskip 10\p@ \noindent{\bf Keywords:} \ \@keys } | ||
\end{minipage} | ||
\vspace{1cm} | ||
} | ||
|
||
\DeclareRobustCommand{\chaves}[1]{\newcommand{\@chaves}{#1}} | ||
\newenvironment{resumo} | ||
{ | ||
\thispagestyle{empty} | ||
\noindent\setstretch{1} | ||
\begin{minipage}{\textwidth} | ||
\textbf{RESUMO.} | ||
} | ||
{ | ||
\ifthenelse{ \isundefined{\@chaves} }{}{\vskip 10\p@ \noindent{\bf Palavras-chave:} \ \@chaves } | ||
\end{minipage} | ||
\ifthenelse{\equal{\tipo}{P}}{ | ||
\vfill | ||
{\footnotesize Corresponding author: \correspond} }{\relax} | ||
\newpage | ||
% \vskip 20\p@ | ||
\ifthenelse{\equal{\tipo}{P}}{\twocolumn}{\onecolumn} | ||
} | ||
|
||
%\makeatother | ||
|
||
%\makeatletter | ||
%\DeclareRobustCommand{\keywords}[1]{\newcommand{\@keys}{#1}} | ||
%{ | ||
% \newsavebox{\@abstr} | ||
% \setlength{\fboxsep}{10pt} | ||
% \renewenvironment{abstract}{ | ||
%% \onecolumn | ||
% \begin{lrbox}{\@abstr}\begin{minipage}{0.95\columnwidth}% | ||
% \noindent\setstretch{1}\textbf{ABSTRACT.}\medskip}{% | ||
% \medskip\end{minipage}\end{lrbox}% | ||
% \noindent\fbox{\usebox{\@abstr}} | ||
% \ifthenelse{ \isundefined{\@keys} }{}{\vskip 10\p@ \noindent{\bf Keywords:} \ \@keys } } | ||
% \twocolumn | ||
%} | ||
%\makeatother | ||
|
||
%%------------------------------------------------------------------- | ||
%% References configuration: | ||
%% ------------------------------------------------------------------- | ||
\RequirePackage[round]{natbib} % Para fazer bibliografia no estilo autor-ano. | ||
\setlength{\bibsep}{0cm} | ||
% | ||
|
||
|
||
\AtBeginDocument{ | ||
\onecolumn | ||
\cover | ||
\ifthenelse{\equal{\tipo}{P}}{\setstretch{1}}{\setstretch{2}} | ||
} | ||
|
||
%\AtEndDocument{ | ||
% {\scriptsize | ||
% \vspace{1.5cm} | ||
% \noindent | ||
% Recebido em \recebido. / Aceito em \aceito.\\ | ||
% Received on \received / Accepted em \accepted. | ||
% } | ||
%} | ||
|
||
\makeatother | ||
|
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.