"Fossies" - the Fresh Open Source Software Archive

Member "hevea-2.35/bugs/006/livro.tex" (16 Jan 2021, 4003 Bytes) of package /linux/www/hevea-2.35.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) TeX and LaTeX source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 \documentclass[a4paper,10pt]{book}
    2 
    3 \usepackage{fancyheadings}
    4 \usepackage{amsmath}
    5 \usepackage{amssymb}
    6 \usepackage{amsthm}
    7 \usepackage{psfig}
    8 \usepackage{fancybox}
    9 \usepackage{makeidx}
   10 \usepackage{subfigure}
   11 \usepackage{psboxit}
   12 \usepackage{color}
   13 \usepackage[latin1]{inputenc}
   14 %\usepackage[portuguese]{babel}
   15 
   16 % \selectlanguage{portuguese}
   17 
   18 %\usepackage[T1]{fontenc}
   19 \usepackage{hevea-epsfbox-def} 
   20 \usepackage{epsfig} 
   21 \usepackage{indentfirst}
   22 
   23 \htmlhead{\sffamily\bfseries{Programa\c{c}\~ao de Computadores em C}}
   24 
   25 \newcommand{\eqdef}{\overset{\text{def}}{=}}
   26 \newcommand{\und}{\textbf}
   27 
   28 \newcommand{\graybox}[1]{\begin{minipage}{\textwidth}\psboxit{box 0.95 setgray fill}{
   29   {\spbox{#1}}}\end{minipage}}
   30 
   31 \makeindex
   32 
   33 \setcounter{tocdepth}{3}
   34 
   35 %----- text format parameters -----
   36 \setlength\textwidth{150mm}
   37 \setlength\textheight{241mm}
   38 \setlength\oddsidemargin{5.4mm}
   39 \setlength\evensidemargin{5.4mm}
   40 %\setlength\marginparsep{5mm}
   41 %\setlength\marginparwidth{15mm}
   42 \addtolength\voffset{-5mm}
   43 \addtolength\topmargin{-3mm}
   44 \addtolength\headsep{2mm}
   45 \setlength\footskip{10mm}
   46 
   47 %---------------- pagestyle ----------
   48 \pagestyle{fancyplain}
   49 \addtolength\headwidth{\marginparsep}
   50 \renewcommand{\chaptermark}[1]
   51              {\markboth{#1}{}}
   52 \renewcommand{\sectionmark}[1]
   53              {\markright{\thesection\ #1}}
   54 \lhead[\fancyplain{}{\bfseries\thepage}]
   55       {\fancyplain{}{\bfseries\rightmark}}
   56 \rhead[\fancyplain{}{\bfseries\leftmark}]
   57       {\fancyplain{}{\bfseries\thepage}}
   58 
   59 \cfoot{}
   60 
   61 %----- lista de exercicios ---------------
   62 %\newenvironment{exerc}
   63 %   {\renewcommand{\labelenumi}{\textbf{\theenumi.}}
   64 %    \begin{enumerate}
   65 %   }
   66 %   {\end{enumerate}}                    
   67 
   68 \begin{document}
   69 
   70 \pagestyle{empty}
   71 \begin{center}
   72 \begin{tabular}{c}
   73 \Huge{\sffamily\bfseries{Programa\c{c}\~ao de Computadores}}\\
   74 \Huge{\sffamily\bfseries{em {\tt C}}}\\ \\
   75 \end{tabular}
   76 \end{center}
   77 
   78 %\begin{figure}[!b]
   79 %\centering \begin{minipage}{3cm} \psfig{file=LOGO.ps} \end{minipage}
   80 %\end{figure}
   81 %\newpage
   82 
   83 %\pagebreak
   84 
   85 %\vfill
   86 
   87 %\begin{center}
   88 %\begin{tabular}{c}
   89 %\Huge{\sffamily\bfseries{Programa\c{c}\~ao de Computadores }}\\
   90 %\Huge{\sffamily\bfseries{em C}}\\ 
   91 %\huge{\sffamily\bfseries{Primeira edi\c{c}\~ao}}
   92 %\end{tabular}
   93 %\end{center}
   94 
   95 %\vfill
   96 
   97 \begin{tabular}{l}
   98 {\Large{\sffamily\bfseries{Carlos Camarão}}} \\
   99 {\small Universidade Federal de Minas Gerais}\\
  100 {\small Doutor em Ci\^encia da Computa\c{c}\~ao pela Universidade de Manchester, Inglaterra} \\ \\
  101 {\Large{\sffamily\bfseries{Anolan Milanés}}}\\
  102 {\small Universidade Federal de Minas Gerais}\\
  103 {\small Doutora em Ci\^encia da Computa\c{c}\~ao pela PUC-Rio}\\ \\
  104 {\Large{\sffamily\bfseries{Lucília Figueiredo}}}\\
  105 {\small Universidade Federal de Ouro Preto}\\
  106 {\small Doutora em Ci\^encia da Computa\c{c}\~ao pela UFMG}
  107 \end{tabular}
  108 
  109 \begin{tabular}{l}
  110 Direitos exclusivos\\
  111 Copyright \copyright\ 2009 by Carlos Camar\~ao, Anolan Milan\'es e Luc\'{\i}lia Figueiredo
  112 \end{tabular}
  113 
  114 \'E permitida a duplica\c{c}\~ao ou reprodu\c{c}\~ao, no todo ou em
  115 parte, sob quaisquer formas ou por quaisquer meios (eletr\^onico,
  116 mec\^anico, grava\c{c}\~ao, fotoc\'opia, distribui\c{c}\~ao na Web ou
  117 outros), desde que seja para fins n\~ao comerciais.
  118 
  119 \pagestyle{fancy}
  120 \pagenumbering{roman}
  121 %\setcounter{page}{5}
  122 
  123 %\renewcommand{\chaptername}{Capítulo}
  124 %\renewcommand{\tablename}{Tabela}
  125 %\renewcommand{\figurename}{Figura}
  126 %\renewcommand{\contentsname}{Sumário}
  127 
  128 \tableofcontents
  129 
  130 \chapter{Let us have a try}
  131 
  132 \setcounter{secnumdepth}{-2}
  133 \input{prefacioA}
  134 
  135 \input{meta.keys}
  136 
  137 \pagestyle{fancy}
  138 \setcounter{secnumdepth}{10}
  139 \pagenumbering{arabic}
  140 
  141 \chapter{Let us have a try}
  142 
  143 \input{introA}
  144     
  145 \input{visao-geral-parteI}
  146 
  147 \input{conceitos-basicos}
  148 
  149 \input{recursao-e-iteracao}
  150 
  151 \input{valores-compostos-parteI}
  152 
  153 \input{Exercicios}
  154 
  155 \input{ES-arquivos}
  156 
  157 \pagebreak
  158 \thispagestyle{empty}
  159 \pagebreak
  160 \pagestyle{fancyplain}
  161 
  162 \bibliographystyle{plain}
  163 \bibliography{livro,formal,plang,math,ml,haskell,logic}
  164 \input{porqueC}
  165 
  166 \printindex
  167 
  168 \end{document}