From: Christophe Poulain Date: Wed, 23 Nov 2011 23:06:23 +0000 (+0100) Subject: Oubli... X-Git-Url: https://melusine.eu.org/syracuse/G/git/?a=commitdiff_plain;h=208cdda76cc9d99253e89b2187a611a9f8546557;p=mp-solid.git Oubli... --- diff --git a/doc.tex b/doc.tex new file mode 100644 index 0000000..f76a448 --- /dev/null +++ b/doc.tex @@ -0,0 +1,198 @@ +\documentclass[11pt]{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[utf8]{inputenc} +\usepackage[T1]{fontenc} +\usepackage[frenchb]{babel} +\parindent0pt +\usepackage[a4paper,margin=2.5cm,includeheadfoot]{geometry} +\usepackage{graphicx} +\DeclareGraphicsRule{*}{mps}{*}{} +\usepackage{fourier} +\usepackage[scaled=0.875]{helvet} +\usepackage{mflogo} +\usepackage[colorlinks=true]{hyperref} +\usepackage{url,calc,subfigure,tabularx,amsmath,multicol} +\usepackage[svgnames]{xcolor} + +\definecolor{hellgelb}{rgb}{1,1,0.85} +\definecolor{colKeys}{rgb}{0,0,1} +\definecolor{colIdentifier}{rgb}{0,0,0} +\definecolor{colComments}{rgb}{1,0,0} +\definecolor{colString}{rgb}{0,0.5,0} + +\usepackage{listings} +\usepackage{showexpl} % examples +%\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 + +\lstset{% + language=metapost,% + float=hbp,% + basicstyle=\ttfamily\small, % + identifierstyle=\color{DarkSlateGrey}, % + keywordstyle=\color{DarkBlue}\itshape, % + stringstyle=\color{Green}, % + commentstyle=\color{colComments}, % + columns=flexible, % + tabsize=4, % + frame=single, % + extendedchars=true, % + showspaces=false, % + showstringspaces=false, % + numbers=left, + numbersep=0.8em, + numberstyle=\tiny, % + breaklines=true, % + breakautoindent=true, + captionpos=b, + xleftmargin=1em, + sensitive=true, + morekeywords=[7]{figureespace,finespace}, + keywordstyle=[7]\color{FireBrick}, + %morekeywords=[8]{gddO,gddA,gddB,gddC,gddT}, + %keywordstyle=[8]\color{Sienna}, + %morekeywords=[9]{PointImp}, + %keywordstyle=[9]\color{Olive} +} +\lstset{explpreset={pos=t,wide=false,rframe={},preset=\centering}} +\lstdefinestyle{syntax}{backgroundcolor=\color{blue!15},numbers=none,xleftmargin=0pt,xrightmargin=0pt, + frame=single} +\lstdefinestyle{code}{backgroundcolor=\color{red!15},%numbers=left, + xleftmargin=0pt,xrightmargin=0pt, + frame=single} + + +\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.01 -- \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} +} + +%\includeonly{Dessinons} + +\begin{document} +%% === Page de garde =================================================== +\thispagestyle{empty} +\begin{tikzpicture}[remember picture, overlay]% + \node[below right, shift={(-4pt,4pt)}] at (current page.north west) {% + \includegraphics{fond.pdf}% + }; +\end{tikzpicture}% + +\noindent +\includegraphics{mp-solid}\\ +{\large Paquet \MP{} pour la représentation de solides}\\[2cm] +\parbox{0.6\textwidth}{ + \includegraphics[width=8cm]{figures/fusionphan1.pdf} +}\hfill +\parbox{0.4\textwidth}{\Large\raggedleft + \textbf{Auteur}\\ + Christophe \textsc{Poulain}\\ + \par\bigskip\par + \textbf{Documentation}\\ + Christophe \textsc{Poulain}\\ + Alex \textsc{Aguado} +} +\vfill +\begin{center} + Version 1.01 du 23 Novembre 2011\\ + \url{http://melusine.eu.org/syracuse/G/mp-solid/}\\ + \includegraphics[width=6cm]{syracuse-crop} +\end{center} +%% == Page de garde ==================================================== +\newpage +\thispagestyle{empty} +\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} +\newpage +%\maketitle +\tableofcontents +\include{Presentation} +\include{Dessinons} +\include{Fusion} +\include{Hommage} +\include{Historique} +\listoffigures +\end{document} \ No newline at end of file