-
Notifications
You must be signed in to change notification settings - Fork 0
/
inpi.sty
134 lines (86 loc) · 2.33 KB
/
inpi.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
%%% -*-LaTeX-*-
%%% inpi.sty -- pacote com definições e pacotes usados para a
%%% elaboração de uma patente brasileira.
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{inpi}
%\RequirePackage{a4paper}
%\RequirePackage{srcltx}
\RequirePackage{isolatin1}
\RequirePackage{itemsep}
%% \RequirePackage{chappg}
\RequirePackage[latin1]{inputenc}
\RequirePackage[brazil]{babel}
\RequirePackage{geometry}
%
\geometry{lmargin=3cm,rmargin=3cm,top=1.5cm,bottom=2.5cm}
\renewcommand{\baselinestretch}{1.5}
\@addtoreset{page}{chapter}
% The next magic makes the page counter be reset to one rather than zero
\renewcommand\@stpelt[1]{%
\global\csname c@#1\endcsname
\expandafter\ifx \csname c@#1\endcsname \c@page
\@ne
\else
\z@
\fi
}
%% \def\thesection{%
%% \ifnum\c@section=0
%% \expandafter\@gobble
%% \else
%% \thesection
%% \fi
%% }
% Para usar fonte helvetica
\RequirePackage{helvet}
\renewcommand\familydefault{\sfdefault}
\setlength{\headsep}{2cm}
%\setlength{\headheight}{1cm}
% \setlength{\rmargin}{3cm}
% \setlength{\lmargin}{3cm}
\RequirePackage{fancyheadings}
\pagestyle{fancy}
\setlength\headrulewidth{0cm}
%\setlength{\marginparsep}{3cm}
%\setlength{\itemsep}{0cm}
\chead{\rm\hfil\thepage\ / \pageref{fimdescr}\hfil}
\cfoot{}
% \RequirePackage{nofm} % para ter as opcoes 1/2 1/3 etc
% \def \@oddhead{\rm\hfil\thepage\ / \pageref{@reivindicacoes}\hfil}
% \def \@evenhead{\@oddhead}
% \def \@oddfoot{}
% \def \@evenfoot{\@oddfoot}
% \def\section{\@startsection {section}{1}{\z@}{-3.5ex plus -1ex minus
% -.2ex}{2.3ex plus .2ex}{\centering\normalsize\bf}}
%% \def\nomepatente#1{ #1
%% }
\newcommand{\nomepatente}[1][dispositivo]{#1}
\def\chapter#1{
\large #1 \normalsize
}
\def\chapter*#1{
\large #1 \normalsize
}
\def\section#1{ #1
% \large #1 \normalsize
}
\def\subsection#1{
% \textbf{#1}
}
\RequirePackage{graphicx}
% \addtolength{\headwidth}{\marginparwidth}
% \addtolength{\headwidth}{\marginparsep}
\RequirePackage{indentfirst}
%\RequirePackage{danielPortugues}
\RequirePackage[brazil]{babel}
% \RequirePackage{numline}
\RequirePackage[pagewise,modulo]{lineno}
%%% Abreviaturas que uso muito frequentemente
\def\ie{{\em i.e.\/~}}
\def\eg{{\em e.g.\/~}}
\noitemsep
%%% Used by GNU Emacs and AUC TeX.
%%% Local Variables:
%%% TeX-master: "inpy.sty"
%%% TeX-auto-save: t
%%% End: