Esamigift.sty

De WikiLICC
Ir para: navegação, pesquisa

Salve o texto abaixo com codificacão uft-8

%%%
\NeedsTeXFormat{LaTeX2e} \ProvidesPackage{esamigift}
    [2016/07/26 v0.1 Pacote simplista de construcao de provas]

\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{ifthen}

%
% DIMENSIONS (We want the page full of text)
%
\setlength\topmargin{-2cm}
\setlength\textheight\paperheight
\addtolength\textheight{-6cm}
\setlength\textwidth\paperwidth
\addtolength\textwidth{-2cm}
\setlength\oddsidemargin{-1cm}
\setlength\footskip{1cm}
%==============================================================%
%  Redefinicao de comandos para aproveitar o formato do esami  %
%==============================================================%

\newcommand{\newproblem}[1]{#1}
%\newcommand{\newproblem}[1]{\begin{verbatim}#1 \end{verbatim}}


\newcommand{\PTs}[1]{(#1 ponto)~}

\newenvironment{answers}[1]{}{}

\def\bChoices[#1]{\\ }

\newcommand\eChoices{}

\newcommand\Ans[1]{\ifthenelse{\equal{#1}{0}}{~\\(~~~)}{~\\($\times$)}}
\newcommand{\eAns}{\\}

%----------------
\newcommand{\verificacao}[1]{
\noindent
%N.o: \begin{huge}\textbf{#2}\end{huge}
\textbf{#1}

\noindent
\textbf{Nome:} \underline{\hspace{8cm}}
\textbf{Cartão:} \underline{\hspace{2.5cm}}
\textbf{Turma:} \underline{\hspace{.5cm}}
}