Retour

doc.tex

Télécharger le fichier Fichier PDF
\documentclass[12pt]{book}
 
%by JCC +CP pour le lien lors d'une compilation avec pdflatex :)
\makeatletter
\newenvironment{figurefixe}{%
\begingroup
\parskip=0pt
% rôle de \caption
\def\caption##1{\refstepcounter{figure}
  \protected@write\@auxout{}%
   {\string\@writefile{lof}{\string\contentsline%
    {figure}{\string\numberline {\thefigure}{\ignorespaces%
##1}}{\thepage}{figure.\thefigure}}}%
  \par\bigskip
  \hbox to \hsize{\hss \figurename~\thefigure\CaptionSeparator
##1\hss}}%
  \par\bigskip
% rôle de \label
\def\label##1{\protected@write\@auxout{}%
  {\string\newlabel {##1}{{\thefigure}{\thepage}}}}%
% préparation contenu
\par\vspace{-6pt}\hbox\bgroup\vbox\bgroup}{\egroup\egroup\par\null\endgroup} 
\makeatother
%endJCC
 
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[frenchb]{babel}
\parindent0pt
\usepackage[a4paper,margin=1.25cm,includeheadfoot]{geometry}
\usepackage{graphicx}
\usepackage{lmodern}
\usepackage{mflogo}
\usepackage[colorlinks=true]{hyperref}
\usepackage{url,calc,subfigure,tabularx,amsmath,multicol}
\usepackage{listings}
\lstset{language=metapost,breaklines=true,numbers=left,numberfirstline=true,stepnumber=5,numbersep=1pt,numberstyle=\tiny,firstnumber=1,basicstyle=\footnotesize,commentstyle=\itshape\color{red}}%numéroter les listings
 
\newcommand{\macro}[1]{%
\colorbox{yellow}{#1}%
}
 
\newcommand{\param}[1]{%
\colorbox{cyan}{#1}%
}
 
\usepackage{tikz}
\usetikzlibrary{shapes}
\usetikzlibrary{topaths}
\newsavebox{\dangerbox}
\newlength{\marge}\setlength{\marge}{7.5mm}
 
\newenvironment{Danger}{%
  \begin{lrbox}{\dangerbox}
    \begin{minipage}{\linewidth-\marge}
}
{%
\end{minipage}%
  \end{lrbox}
\tikzstyle{mybox} = [draw=blue!20, fill=red!20, very thick,
    rectangle, rounded corners, inner sep=10pt]
\par\noindent
\begin{tikzpicture}
\node [mybox] (box) {%
    \begin{minipage}[t!]{\linewidth-\marge}
        \usebox{\dangerbox}
    \end{minipage}
    };
\end{tikzpicture}
\par
}
 
\newcommand\abstractname{Résumé}
 
\makeatletter
  \newenvironment{abstract}{%
      %\titlepage
      \null\vfil
      \@beginparpenalty\@lowpenalty
      \begin{center}%
        \bfseries \abstractname
        \@endparpenalty\@M
      \end{center}}%
     {\par\vfil\null}%\endtitlepage}
\makeatother
 
\input{christ5}
\title{\texttt{mp-solid}\[\includegraphics[scale=0.8]{figures/npresentation1.pdf}\]}
\author{Christophe Poulain}
\date{Version 1 -- \today%\par
\begin{abstract}
Package permettant de construire des solides, des courbes de
  l'espace avec de nombreux apports dus à
  \texttt{pst-solides3d}.\footnote{Remercions de suite Jean-Paul {\sc
      Vignault} et Manuel {\sc Luque} pour ce magnifique (et le mot
    est {\em faible}) package \texttt{pstricks}.}
\end{abstract}
}
 
\begin{document}
\maketitle
\tableofcontents
\input{Presentation}
\input{Dessinons}
\input{Fusion}
\input{Hommage}
\input{Historique}
\listoffigures
\end{document}