Ajout des fichiers restants
This commit is contained in:
55
S51/TP1/TP1/CptRendu/cptrendu.aux
Normal file
55
S51/TP1/TP1/CptRendu/cptrendu.aux
Normal file
@ -0,0 +1,55 @@
|
||||
\relax
|
||||
\catcode`:\active
|
||||
\catcode`;\active
|
||||
\catcode`!\active
|
||||
\catcode`?\active
|
||||
\ifx\hyper@anchor\@undefined
|
||||
\global \let \oldcontentsline\contentsline
|
||||
\gdef \contentsline#1#2#3#4{\oldcontentsline{#1}{#2}{#3}}
|
||||
\global \let \oldnewlabel\newlabel
|
||||
\gdef \newlabel#1#2{\newlabelxx{#1}#2}
|
||||
\gdef \newlabelxx#1#2#3#4#5#6{\oldnewlabel{#1}{{#2}{#3}}}
|
||||
\AtEndDocument{\let \contentsline\oldcontentsline
|
||||
\let \newlabel\oldnewlabel}
|
||||
\else
|
||||
\global \let \hyper@last\relax
|
||||
\fi
|
||||
|
||||
\select@language{french}
|
||||
\@writefile{toc}{\select@language{french}}
|
||||
\@writefile{lof}{\select@language{french}}
|
||||
\@writefile{lot}{\select@language{french}}
|
||||
\@writefile{lof}{\contentsline {xsect}{Avant le TP1 \dots }{1}{section*.1}}
|
||||
\@writefile{lot}{\contentsline {xsect}{Avant le TP1 \dots }{1}{section*.1}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {1}Avant le TP1 \dots }{1}{section.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {1.1}R<EFBFBD>sum<EFBFBD> rapide}{1}{subsection.1.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {1.2}Conclusion}{2}{subsection.1.2}}
|
||||
\@writefile{lof}{\contentsline {xsect}{Introduction <20> la messagerie s<>curis<69>e}{3}{subsection.1.2}}
|
||||
\@writefile{lot}{\contentsline {xsect}{Introduction <20> la messagerie s<>curis<69>e}{3}{subsection.1.2}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {2}Introduction <20> la messagerie s<>curis<69>e}{3}{section.2}}
|
||||
\@writefile{lof}{\contentsline {xsect}{Le client de messagerie courriel}{4}{section.2}}
|
||||
\@writefile{lot}{\contentsline {xsect}{Le client de messagerie courriel}{4}{section.2}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {3}Le client de messagerie courriel}{4}{section.3}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {3.1}Installation}{4}{subsection.3.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {3.2}Configuration}{4}{subsection.3.2}}
|
||||
\@writefile{lof}{\contentsline {xsect}{Les certificats}{5}{subsection.3.2}}
|
||||
\@writefile{lot}{\contentsline {xsect}{Les certificats}{5}{subsection.3.2}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {4}Les certificats}{5}{section.4}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.1}Obtention d'un certificat}{5}{subsection.4.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.2}Installation du certificat dans Outlook Express 5 sur Win2K}{6}{subsection.4.2}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.3}Caract<EFBFBD>ristiques du certificat}{7}{subsection.4.3}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {4.4}Les certificats et l'environnement bureautique}{8}{subsection.4.4}}
|
||||
\@writefile{lof}{\contentsline {xsect}{Utilisation des certificats sous le client courriel}{9}{subsection.4.4}}
|
||||
\@writefile{lot}{\contentsline {xsect}{Utilisation des certificats sous le client courriel}{9}{subsection.4.4}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {5}Utilisation des certificats sous le client courriel}{9}{section.5}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {5.1}Envoi de messages sign<67>s}{9}{subsection.5.1}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {5.2}R<EFBFBD>c<EFBFBD>ption de messages sign<67>s}{9}{subsection.5.2}}
|
||||
\@writefile{toc}{\contentsline {subsection}{\numberline {5.3}Enregistrement du certificat <20>tranger}{9}{subsection.5.3}}
|
||||
\@writefile{lof}{\contentsline {xsect}{Observation}{11}{subsection.5.3}}
|
||||
\@writefile{lot}{\contentsline {xsect}{Observation}{11}{subsection.5.3}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {6}Observation}{11}{section.6}}
|
||||
\@writefile{lof}{\contentsline {xsect}{Cryptage}{12}{section.6}}
|
||||
\@writefile{lot}{\contentsline {xsect}{Cryptage}{12}{section.6}}
|
||||
\@writefile{toc}{\contentsline {section}{\numberline {7}Cryptage}{12}{section.7}}
|
||||
\newlabel{LastPage}{{}{12}{}{page.12}{}}
|
||||
\global\mtcsecondpartfalse
|
562
S51/TP1/TP1/CptRendu/cptrendu.log
Normal file
562
S51/TP1/TP1/CptRendu/cptrendu.log
Normal file
@ -0,0 +1,562 @@
|
||||
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=pdflatex 2007.12.11) 13 DEC 2007 18:50
|
||||
entering extended mode
|
||||
%&-line parsing enabled.
|
||||
**cptrendu.tex
|
||||
(./cptrendu.tex
|
||||
LaTeX2e <2005/12/01>
|
||||
Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, noh
|
||||
yphenation, croatian, bulgarian, russian, ukrainian, czech, slovak, danish, dut
|
||||
ch, finnish, finnish, french, basque, french, german, ngerman, german, ngerman,
|
||||
greek, monogreek, ancientgreek, ibycus, hungarian, hungarian, italian, italian
|
||||
, latin, latin, mongolian, mongolian, norsk, norsk, coptic, esperanto, estonian
|
||||
, icelandic, indonesian, interlingua, romanian, serbian, slovenian, turkish, up
|
||||
persorbian, welsh, polish, polish, portuguese, portuguese, spanish, catalan, ga
|
||||
lician, spanish, catalan, galician, swedish, swedish, loaded.
|
||||
(/usr/share/texmf-texlive/tex/latex/base/article.cls
|
||||
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
|
||||
(/usr/share/texmf-texlive/tex/latex/base/size10.clo
|
||||
File: size10.clo 2005/09/16 v1.4f Standard LaTeX file (size option)
|
||||
)
|
||||
\c@part=\count79
|
||||
\c@section=\count80
|
||||
\c@subsection=\count81
|
||||
\c@subsubsection=\count82
|
||||
\c@paragraph=\count83
|
||||
\c@subparagraph=\count84
|
||||
\c@figure=\count85
|
||||
\c@table=\count86
|
||||
\abovecaptionskip=\skip41
|
||||
\belowcaptionskip=\skip42
|
||||
\bibindent=\dimen102
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/generic/babel/babel.sty
|
||||
Package: babel 2005/11/23 v3.8h The Babel package
|
||||
|
||||
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.ldf
|
||||
Language: french 2005/02/06 v1.6g French support from the babel system
|
||||
|
||||
(/usr/share/texmf-texlive/tex/generic/babel/babel.def
|
||||
File: babel.def 2005/11/23 v3.8h Babel common definitions
|
||||
\babel@savecnt=\count87
|
||||
\U@D=\dimen103
|
||||
)
|
||||
Package babel Info: Making : an active character on input line 219.
|
||||
Package babel Info: Making ; an active character on input line 220.
|
||||
Package babel Info: Making ! an active character on input line 221.
|
||||
Package babel Info: Making ? an active character on input line 222.
|
||||
\parindentFFN=\dimen104
|
||||
\std@mcc=\count88
|
||||
\dec@mcc=\count89
|
||||
|
||||
*************************************
|
||||
* Local config file frenchb.cfg used
|
||||
*
|
||||
(/usr/share/texmf-texlive/tex/generic/babel/frenchb.cfg)))
|
||||
(/usr/share/texmf-texlive/tex/latex/base/fontenc.sty
|
||||
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/base/t1enc.def
|
||||
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
|
||||
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
|
||||
))
|
||||
(/usr/share/texmf-texlive/tex/latex/base/makeidx.sty
|
||||
Package: makeidx 2000/03/29 v1.0m Standard LaTeX package
|
||||
)
|
||||
\@indexfile=\write3
|
||||
\openout3 = `cptrendu.idx'.
|
||||
|
||||
|
||||
Writing index file cptrendu.idx
|
||||
(./fncychap.sty
|
||||
Package: fncychap 2007/07/30 v1.34 LaTeX package (Revised chapters)
|
||||
\RW=\skip43
|
||||
\mylen=\skip44
|
||||
\myhi=\skip45
|
||||
\px=\skip46
|
||||
\py=\skip47
|
||||
\pyy=\skip48
|
||||
\pxx=\skip49
|
||||
) (/usr/share/texmf-texlive/tex/latex/fancyhdr/fancyhdr.sty
|
||||
\fancy@headwidth=\skip50
|
||||
\f@ncyO@elh=\skip51
|
||||
\f@ncyO@erh=\skip52
|
||||
\f@ncyO@olh=\skip53
|
||||
\f@ncyO@orh=\skip54
|
||||
\f@ncyO@elf=\skip55
|
||||
\f@ncyO@erf=\skip56
|
||||
\f@ncyO@olf=\skip57
|
||||
\f@ncyO@orf=\skip58
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/eurosym/eurosym.sty
|
||||
Package: eurosym 1998/08/06 v1.1 European currency symbol ``Euro''
|
||||
\@eurobox=\box26
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/lastpage/lastpage.sty
|
||||
Package: lastpage 1994/06/25 v0.1b LaTeX2e package for refs to last page number
|
||||
(JPG)
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/ltxmisc/a4wide.sty
|
||||
Package: a4wide 1994/08/30
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/ntgclass/a4.sty
|
||||
Package: a4 2004/04/15 v1.2g A4 based page layout
|
||||
))
|
||||
(/usr/share/texmf-texlive/tex/latex/minitoc/minitoc.sty
|
||||
Package: minitoc 2007/01/09 v51 Package minitoc (JPFD)
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/minitoc/mtcmess.sty
|
||||
Package: mtcmess 2006/03/14
|
||||
)
|
||||
Package minitoc Info: <I0001>
|
||||
(minitoc) *** minitoc package, version 51 ***.
|
||||
\tf@mtc=\write4
|
||||
\mtcindent=\skip59
|
||||
\mtcskipamount=\skip60
|
||||
Package minitoc Info: <I0005>
|
||||
(minitoc) compatible with hyperref.
|
||||
Package minitoc Info: <I0023>
|
||||
(minitoc) part level macros available.
|
||||
Package minitoc Info: <I0004>
|
||||
(minitoc) chapter level macros NOT available.
|
||||
Package minitoc Info: <I0028>
|
||||
(minitoc) section level macros available.
|
||||
\mtc@toks=\toks14
|
||||
\mtc@strutbox=\box27
|
||||
\mtc@hstrutbox=\box28
|
||||
Package minitoc Info: <I0002>
|
||||
(minitoc) Autoconfiguration of extensions.
|
||||
\openout4 = `cptrendu.mtc1'.
|
||||
|
||||
\openout4 = `cptrendu.mtc'.
|
||||
|
||||
(./cptrendu.mtc1)
|
||||
Package minitoc Info: <I0012>
|
||||
(minitoc) Long extensions (Unix-like) will be used.
|
||||
Package minitoc Info: <I0031>
|
||||
(minitoc) ==> this version is configured for UNIX-like
|
||||
(minitoc) (long extensions) file names.
|
||||
\openout4 = `cptrendu.mtc'.
|
||||
|
||||
\openout4 = `cptrendu.mtc1'.
|
||||
|
||||
\c@ptc=\count90
|
||||
\c@parttocdepth=\count91
|
||||
\ptcindent=\skip61
|
||||
\c@stc=\count92
|
||||
\c@secttocdepth=\count93
|
||||
\stcindent=\skip62
|
||||
Package minitoc Info: <I0010>
|
||||
(minitoc) The english language is selected.
|
||||
(minitoc) on input line 4684.
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/minitoc/english.mld
|
||||
File: english.mld 2006/01/13
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/minitoc/english.mld
|
||||
File: english.mld 2006/01/13
|
||||
)
|
||||
Package minitoc Info: <I0010>
|
||||
(minitoc) The french language is selected.
|
||||
(minitoc) on input line 4685.
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/minitoc/french.mld
|
||||
File: french.mld 2006/03/21
|
||||
))
|
||||
(/usr/share/texmf-texlive/tex/latex/geometry/geometry.sty
|
||||
Package: geometry 2002/07/08 v3.2 Page Geometry
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/graphics/keyval.sty
|
||||
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
|
||||
\KV@toks@=\toks15
|
||||
)
|
||||
\Gm@cnth=\count94
|
||||
\Gm@cntv=\count95
|
||||
\c@Gm@tempcnt=\count96
|
||||
\Gm@bindingoffset=\dimen105
|
||||
\Gm@wd@mp=\dimen106
|
||||
\Gm@odd@mp=\dimen107
|
||||
\Gm@even@mp=\dimen108
|
||||
\Gm@dimlist=\toks16
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/graphics/graphicx.sty
|
||||
Package: graphicx 1999/02/16 v1.0f Enhanced LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/graphics/graphics.sty
|
||||
Package: graphics 2006/02/20 v1.0o Standard LaTeX Graphics (DPC,SPQR)
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/graphics/trig.sty
|
||||
Package: trig 1999/03/16 v1.09 sin cos tan (DPC)
|
||||
)
|
||||
(/etc/texmf/tex/latex/config/graphics.cfg
|
||||
File: graphics.cfg 2007/01/18 v1.5 graphics configuration of teTeX/TeXLive
|
||||
)
|
||||
Package graphics Info: Driver file: pdftex.def on input line 90.
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/pdftex-def/pdftex.def
|
||||
File: pdftex.def 2007/01/08 v0.04d Graphics/color for pdfTeX
|
||||
\Gread@gobject=\count97
|
||||
))
|
||||
\Gin@req@height=\dimen109
|
||||
\Gin@req@width=\dimen110
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/graphics/color.sty
|
||||
Package: color 2005/11/14 v1.0j Standard LaTeX Color (DPC)
|
||||
|
||||
(/etc/texmf/tex/latex/config/color.cfg
|
||||
File: color.cfg 2007/01/18 v1.5 color configuration of teTeX/TeXLive
|
||||
)
|
||||
Package color Info: Driver file: pdftex.def on input line 130.
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/pslatex/pslatex.sty
|
||||
Package: pslatex 1996/07/24 v1.2 pslatex emulation (DPC)
|
||||
LaTeX Font Info: Redeclaring symbol font `operators' on input line 65.
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `normal'
|
||||
(Font) OT1/cmr/m/n --> OT1/ptmcm/m/n on input line 65.
|
||||
LaTeX Font Info: Overwriting symbol font `operators' in version `bold'
|
||||
(Font) OT1/cmr/bx/n --> OT1/ptmcm/m/n on input line 65.
|
||||
LaTeX Font Info: Redeclaring symbol font `letters' on input line 66.
|
||||
LaTeX Font Info: Overwriting symbol font `letters' in version `normal'
|
||||
(Font) OML/cmm/m/it --> OML/ptmcm/m/it on input line 66.
|
||||
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
|
||||
(Font) OML/cmm/b/it --> OML/ptmcm/m/it on input line 66.
|
||||
LaTeX Font Info: Redeclaring symbol font `symbols' on input line 67.
|
||||
LaTeX Font Info: Overwriting symbol font `symbols' in version `normal'
|
||||
(Font) OMS/cmsy/m/n --> OMS/pzccm/m/n on input line 67.
|
||||
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
|
||||
(Font) OMS/cmsy/b/n --> OMS/pzccm/m/n on input line 67.
|
||||
LaTeX Font Info: Redeclaring symbol font `largesymbols' on input line 68.
|
||||
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `normal'
|
||||
(Font) OMX/cmex/m/n --> OMX/psycm/m/n on input line 68.
|
||||
LaTeX Font Info: Overwriting symbol font `largesymbols' in version `bold'
|
||||
(Font) OMX/cmex/m/n --> OMX/psycm/m/n on input line 68.
|
||||
\symbold=\mathgroup4
|
||||
\symitalic=\mathgroup5
|
||||
LaTeX Font Info: Redeclaring math alphabet \mathbf on input line 74.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `normal'
|
||||
(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 74.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version `bold'
|
||||
(Font) OT1/cmr/bx/n --> OT1/ptm/bx/n on input line 74.
|
||||
LaTeX Font Info: Redeclaring math alphabet \mathit on input line 75.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `normal'
|
||||
(Font) OT1/cmr/m/it --> OT1/ptm/m/it on input line 75.
|
||||
LaTeX Font Info: Overwriting math alphabet `\mathit' in version `bold'
|
||||
(Font) OT1/cmr/bx/it --> OT1/ptm/m/it on input line 75.
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
|
||||
Package: hyperref 2007/02/07 v6.75r Hypertext links for LaTeX
|
||||
\@linkdim=\dimen111
|
||||
\Hy@linkcounter=\count98
|
||||
\Hy@pagecounter=\count99
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/hyperref/pd1enc.def
|
||||
File: pd1enc.def 2007/02/07 v6.75r Hyperref: PDFDocEncoding definition (HO)
|
||||
)
|
||||
(/etc/texmf/tex/latex/config/hyperref.cfg
|
||||
File: hyperref.cfg 2002/06/06 v1.2 hyperref configuration of TeXLive
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/oberdiek/kvoptions.sty
|
||||
Package: kvoptions 2006/08/22 v2.4 Connects package keyval with LaTeX options (
|
||||
HO)
|
||||
)
|
||||
Package hyperref Info: Option `bookmarks' set `true' on input line 2238.
|
||||
Package hyperref Info: Option `bookmarksnumbered' set `true' on input line 2238
|
||||
.
|
||||
|
||||
|
||||
Package hyperref Warning: Values of option `pdfpagemode':
|
||||
(hyperref) * `UseNone'
|
||||
(hyperref) * `UseOutlines'
|
||||
(hyperref) * `UseThumbs'
|
||||
(hyperref) * `FullScreen'
|
||||
(hyperref) * `UseOC' (PDF 1.5)
|
||||
(hyperref) * `UseAttachments' (PDF 1.6)
|
||||
(hyperref) * An empty value disables the option.
|
||||
(hyperref) Unknown value `None' on input line 2238.
|
||||
|
||||
Package hyperref Info: Option `colorlinks' set `false' on input line 2238.
|
||||
Package hyperref Info: Hyper figures OFF on input line 2288.
|
||||
Package hyperref Info: Link nesting OFF on input line 2293.
|
||||
Package hyperref Info: Hyper index ON on input line 2296.
|
||||
Package hyperref Info: Plain pages OFF on input line 2303.
|
||||
Package hyperref Info: Backreferencing OFF on input line 2308.
|
||||
Implicit mode ON; LaTeX internals redefined
|
||||
Package hyperref Info: Bookmarks ON on input line 2444.
|
||||
(/usr/share/texmf-texlive/tex/latex/ltxmisc/url.sty
|
||||
\Urlmuskip=\muskip10
|
||||
Package: url 2005/06/27 ver 3.2 Verb mode for urls, etc.
|
||||
)
|
||||
LaTeX Info: Redefining \url on input line 2599.
|
||||
\Fld@menulength=\count100
|
||||
\Field@Width=\dimen112
|
||||
\Fld@charsize=\dimen113
|
||||
\Choice@toks=\toks17
|
||||
\Field@toks=\toks18
|
||||
Package hyperref Info: Hyper figures OFF on input line 3102.
|
||||
Package hyperref Info: Link nesting OFF on input line 3107.
|
||||
Package hyperref Info: Hyper index ON on input line 3110.
|
||||
Package hyperref Info: backreferencing OFF on input line 3117.
|
||||
Package hyperref Info: Link coloring OFF on input line 3122.
|
||||
\Hy@abspage=\count101
|
||||
\c@Item=\count102
|
||||
\c@Hfootnote=\count103
|
||||
)
|
||||
*hyperref using driver hpdftex*
|
||||
(/usr/share/texmf-texlive/tex/latex/hyperref/hpdftex.def
|
||||
File: hpdftex.def 2007/02/07 v6.75r Hyperref driver for pdfTeX
|
||||
\Fld@listcount=\count104
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/pdfpages/pdfpages.sty
|
||||
Package: pdfpages 2006/08/12 v0.4a Insert pages of external PDF documents (AM)
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/base/ifthen.sty
|
||||
Package: ifthen 2001/05/26 v1.1c Standard LaTeX ifthen package (DPC)
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/tools/calc.sty
|
||||
Package: calc 2005/08/06 v4.2 Infix arithmetic (KKT,FJ)
|
||||
\calc@Acount=\count105
|
||||
\calc@Bcount=\count106
|
||||
\calc@Adimen=\dimen114
|
||||
\calc@Bdimen=\dimen115
|
||||
\calc@Askip=\skip63
|
||||
\calc@Bskip=\skip64
|
||||
LaTeX Info: Redefining \setlength on input line 75.
|
||||
LaTeX Info: Redefining \addtolength on input line 76.
|
||||
\calc@Ccount=\count107
|
||||
\calc@Cskip=\skip65
|
||||
)
|
||||
(/usr/share/texmf-texlive/tex/latex/eso-pic/eso-pic.sty
|
||||
Package: eso-pic 2006/07/14 v1.1d eso-pic (RN)
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/everyshi/everyshi.sty
|
||||
Package: everyshi 2001/05/15 v3.00 EveryShipout Package (MS)
|
||||
))
|
||||
(/usr/share/texmf-texlive/tex/latex/pdfpages/pppdftex.def
|
||||
File: pppdftex.def 2006/08/12 v0.4a Pdfpages driver for pdfTeX (AM)
|
||||
)
|
||||
\AM@pagebox=\box29
|
||||
\AM@toc@title=\toks19
|
||||
\c@AM@survey=\count108
|
||||
) (./cptrendu.aux)
|
||||
\openout1 = `cptrendu.aux'.
|
||||
|
||||
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 98.
|
||||
LaTeX Font Info: ... okay on input line 98.
|
||||
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 98.
|
||||
LaTeX Font Info: ... okay on input line 98.
|
||||
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 98.
|
||||
LaTeX Font Info: ... okay on input line 98.
|
||||
LaTeX Font Info: Checking defaults for OMS/pzccm/m/n on input line 98.
|
||||
LaTeX Font Info: Try loading font information for OMS+pzccm on input line 98
|
||||
.
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/psnfss/omspzccm.fd
|
||||
File: omspzccm.fd 2000/01/03 Fontinst v1.801 font definitions for OMS/pzccm.
|
||||
)
|
||||
LaTeX Font Info: ... okay on input line 98.
|
||||
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 98.
|
||||
LaTeX Font Info: ... okay on input line 98.
|
||||
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 98.
|
||||
LaTeX Font Info: ... okay on input line 98.
|
||||
LaTeX Font Info: Checking defaults for PD1/pdf/m/n on input line 98.
|
||||
LaTeX Font Info: ... okay on input line 98.
|
||||
LaTeX Info: Redefining \dots on input line 98.
|
||||
Package minitoc(hints) Info: <I0049>
|
||||
(minitoc(hints)) ==> You requested the hints option
|
||||
(minitoc(hints)) Some hints are eventually given below.
|
||||
|
||||
|
||||
Package minitoc(hints) Warning: <W0030>
|
||||
(minitoc(hints)) --- The \part command is altered
|
||||
(minitoc(hints)) after minitoc.
|
||||
|
||||
|
||||
Package minitoc(hints) Warning: <W0023>
|
||||
(minitoc(hints)) --- It may be the consequence
|
||||
(minitoc(hints)) of loading the ``hyperref'' package.
|
||||
|
||||
|
||||
Package minitoc(hints) Warning: <W0039>
|
||||
(minitoc(hints)) --- The \section command is altered
|
||||
(minitoc(hints)) after minitoc.
|
||||
|
||||
|
||||
Package minitoc(hints) Warning: <W0023>
|
||||
(minitoc(hints)) --- It may be the consequence
|
||||
(minitoc(hints)) of loading the ``hyperref'' package.
|
||||
|
||||
-------------------- Geometry parameters
|
||||
paper: a4paper
|
||||
landscape: --
|
||||
twocolumn: --
|
||||
twoside: --
|
||||
asymmetric: --
|
||||
h-parts: 28.45274pt, 540.60239pt, 28.45274pt
|
||||
v-parts: 56.9055pt, 731.23584pt, 56.9055pt
|
||||
hmarginratio: --
|
||||
vmarginratio: --
|
||||
lines: --
|
||||
heightrounded: --
|
||||
bindingoffset: 0.0pt
|
||||
truedimen: --
|
||||
includehead: --
|
||||
includefoot: --
|
||||
includemp: --
|
||||
driver: pdftex
|
||||
-------------------- Page layout dimensions and switches
|
||||
\paperwidth 597.50787pt
|
||||
\paperheight 845.04684pt
|
||||
\textwidth 540.60239pt
|
||||
\textheight 731.23584pt
|
||||
\oddsidemargin -43.81725pt
|
||||
\evensidemargin -43.81725pt
|
||||
\topmargin -52.36449pt
|
||||
\headheight 12.0pt
|
||||
\headsep 25.0pt
|
||||
\footskip 30.0pt
|
||||
\marginparwidth 54.2025pt
|
||||
\marginparsep 11.0pt
|
||||
\columnsep 10.0pt
|
||||
\skip\footins 9.0pt plus 4.0pt minus 2.0pt
|
||||
\hoffset 0.0pt
|
||||
\voffset 0.0pt
|
||||
\mag 1000
|
||||
|
||||
(1in=72.27pt, 1cm=28.45pt)
|
||||
-----------------------
|
||||
Package hyperref Info: Link coloring OFF on input line 98.
|
||||
(/usr/share/texmf-texlive/tex/latex/hyperref/nameref.sty
|
||||
Package: nameref 2006/12/27 v2.28 Cross-referencing by name of section
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/oberdiek/refcount.sty
|
||||
Package: refcount 2006/02/20 v3.0 Data extraction from references (HO)
|
||||
)
|
||||
\c@section@level=\count109
|
||||
)
|
||||
LaTeX Info: Redefining \ref on input line 98.
|
||||
LaTeX Info: Redefining \pageref on input line 98.
|
||||
(./cptrendu.out)
|
||||
(./cptrendu.out)
|
||||
\@outlinefile=\write5
|
||||
\openout5 = `cptrendu.out'.
|
||||
|
||||
ABD: EveryShipout initializing macros
|
||||
LaTeX Font Info: Try loading font information for OT1+ptmcm on input line 10
|
||||
0.
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/psnfss/ot1ptmcm.fd
|
||||
File: ot1ptmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OT1/ptmcm.
|
||||
)
|
||||
LaTeX Font Info: Try loading font information for OML+ptmcm on input line 10
|
||||
0.
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/psnfss/omlptmcm.fd
|
||||
File: omlptmcm.fd 2000/01/03 Fontinst v1.801 font definitions for OML/ptmcm.
|
||||
)
|
||||
LaTeX Font Info: Try loading font information for OMX+psycm on input line 10
|
||||
0.
|
||||
|
||||
(/usr/share/texmf-texlive/tex/latex/psnfss/omxpsycm.fd
|
||||
File: omxpsycm.fd 2000/01/03 Fontinst v1.801 font definitions for OMX/psycm.
|
||||
)
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <12> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 100.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <9> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 100.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 100.
|
||||
LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <14.4> not available
|
||||
(Font) Font shape `T1/ptm/b/n' tried instead on input line 103.
|
||||
(./cptrendu.toc
|
||||
LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <10> not available
|
||||
(Font) Font shape `T1/ptm/b/n' tried instead on input line 2.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <10> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 3.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <7.4> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 3.
|
||||
LaTeX Font Info: Font shape `OT1/ptm/bx/n' in size <6> not available
|
||||
(Font) Font shape `OT1/ptm/b/n' tried instead on input line 3.
|
||||
)
|
||||
\tf@toc=\write6
|
||||
\openout6 = `cptrendu.toc'.
|
||||
|
||||
LaTeX Font Info: Font shape `T1/ptm/bx/n' in size <12> not available
|
||||
(Font) Font shape `T1/ptm/b/n' tried instead on input line 132.
|
||||
|
||||
|
||||
Package Fancyhdr Warning: \headheight is too small (12.0pt):
|
||||
Make it at least 12.58502pt.
|
||||
We now make it that large for the rest of the document.
|
||||
This may cause the page layout to be inconsistent, however.
|
||||
|
||||
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}
|
||||
|
||||
] [2]
|
||||
|
||||
Package Fancyhdr Warning: \headheight is too small (12.0pt):
|
||||
Make it at least 12.58502pt.
|
||||
We now make it that large for the rest of the document.
|
||||
This may cause the page layout to be inconsistent, however.
|
||||
|
||||
[3]
|
||||
Overfull \hbox (5.30168pt too wide) in paragraph at lines 164--164
|
||||
[]\T1/ptm/m/n/10 Sous Out-look Ex-press, la pre-mi<6D>re uti-li-sa-tion en-tra<72>ne
|
||||
le lan-ce-ment d'un as-sis-tant per-met-tant la confi-gu-ra-tion d'un compte PO
|
||||
P/IMAP.
|
||||
[]
|
||||
|
||||
[4]
|
||||
Underfull \hbox (badness 10000) in paragraph at lines 184--186
|
||||
|
||||
[]
|
||||
|
||||
<01.jpg, id=119, 801.99625pt x 599.23875pt>
|
||||
File: 01.jpg Graphic file (type jpg)
|
||||
<use 01.jpg>
|
||||
<02.jpg, id=120, 800.9925pt x 602.25pt>
|
||||
File: 02.jpg Graphic file (type jpg)
|
||||
<use 02.jpg> [5 <./01.jpg>]
|
||||
<03.jpg, id=125, 420.57124pt x 203.76125pt>
|
||||
File: 03.jpg Graphic file (type jpg)
|
||||
<use 03.jpg>
|
||||
<04.jpg, id=126, 436.63126pt x 443.6575pt>
|
||||
File: 04.jpg Graphic file (type jpg)
|
||||
<use 04.jpg> [6 <./02.jpg> <./03.jpg>] <05.jpg, id=131, 798.985pt x 602.25pt>
|
||||
File: 05.jpg Graphic file (type jpg)
|
||||
<use 05.jpg> [7 <./04.jpg> <./05.jpg>] [8] <06.jpg, id=141, 1024.82875pt x 651
|
||||
.43375pt>
|
||||
File: 06.jpg Graphic file (type jpg)
|
||||
<use 06.jpg>
|
||||
<07.jpg, id=142, 1023.825pt x 656.4525pt>
|
||||
File: 07.jpg Graphic file (type jpg)
|
||||
<use 07.jpg> [9 <./06.jpg>] [10 <./07.jpg>] [11] AED: lastpage setting LastPag
|
||||
e [12]
|
||||
Package minitoc Info: <I0009>
|
||||
(minitoc) Listing minitoc auxiliary files.
|
||||
(minitoc) Creating the cptrendu.maf file.
|
||||
\openout4 = `cptrendu.maf'.
|
||||
|
||||
|
||||
|
||||
Package minitoc(hints) Warning: <W0024>
|
||||
(minitoc(hints)) Some hints have been written
|
||||
(minitoc(hints)) in the cptrendu.log file.
|
||||
|
||||
(./cptrendu.aux) )
|
||||
Here is how much of TeX's memory you used:
|
||||
6304 strings out of 93945
|
||||
85521 string characters out of 1162042
|
||||
173098 words of memory out of 1500000
|
||||
9249 multiletter control sequences out of 10000+50000
|
||||
44301 words of font info for 68 fonts, out of 1200000 for 2000
|
||||
743 hyphenation exceptions out of 8191
|
||||
29i,11n,43p,746b,397s stack positions out of 5000i,500n,6000p,200000b,5000s
|
||||
{/usr/share/texmf-texlive/fonts/enc/dvips/base/8r.enc}</usr/s
|
||||
hare/texmf-texlive/fonts/type1/urw/times/utmb8a.pfb></usr/share/texmf-texlive/f
|
||||
onts/type1/urw/times/utmr8a.pfb></usr/share/texmf-texlive/fonts/type1/urw/times
|
||||
/utmr8a.pfb></usr/share/texmf-texlive/fonts/type1/urw/times/utmri8a.pfb>
|
||||
Output written on cptrendu.pdf (12 pages, 699711 bytes).
|
||||
PDF statistics:
|
||||
183 PDF objects out of 1000 (max. 8388607)
|
||||
32 named destinations out of 1000 (max. 131072)
|
||||
196 words of extra memory for PDF output out of 10000 (max. 10000000)
|
||||
|
277
S51/TP1/TP1/CptRendu/cptrendu.tex
Normal file
277
S51/TP1/TP1/CptRendu/cptrendu.tex
Normal file
File diff suppressed because one or more lines are too long
169
S51/TP1/TP1/CptRendu/cptrendu.tex.backup
Normal file
169
S51/TP1/TP1/CptRendu/cptrendu.tex.backup
Normal file
@ -0,0 +1,169 @@
|
||||
%---DOCUMENT-------------------------------------------------------------------
|
||||
|
||||
\documentclass[a4paper,10pt]{article}
|
||||
\usepackage[french]{babel}
|
||||
\usepackage[T1]{fontenc}
|
||||
|
||||
%---PACKAGES-------------------------------------------------------------------
|
||||
|
||||
\usepackage{makeidx} \makeindex
|
||||
\usepackage[Lenny]{fncychap} % Lenny, Conny ,Bjarne, Rejne, Glenn, Sonny
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{eurosym}
|
||||
\usepackage{lastpage}
|
||||
\usepackage{a4wide}
|
||||
\usepackage[french]{minitoc}
|
||||
\usepackage[hmargin=1cm,vmargin=2cm]{geometry}
|
||||
|
||||
%---SORTIES--------------------------------------------------------------------
|
||||
|
||||
\newif\ifpdf
|
||||
|
||||
\ifx\pdfoutput\undefined
|
||||
\pdffalse
|
||||
\else
|
||||
\ifnum\pdfoutput=0
|
||||
\pdffalse
|
||||
\else
|
||||
\pdfoutput=1 \pdftrue
|
||||
\fi
|
||||
\fi
|
||||
|
||||
|
||||
%---PDF------------------------------------------------------------------------
|
||||
|
||||
\ifpdf
|
||||
\usepackage[pdftex]{graphicx, color}
|
||||
\graphicspath{{images/}}
|
||||
\DeclareGraphicsExtensions{.jpg,.png}
|
||||
\pdfcompresslevel=9
|
||||
\usepackage{pslatex}
|
||||
|
||||
\usepackage[pdftex, % Param<61>trage de la navigation
|
||||
bookmarks = true, % Signets
|
||||
bookmarksnumbered = true, % Signets num<75>rot<6F>s
|
||||
pdfpagemode = None, % None, UseThumbs, UseOutlines, Fullscreen
|
||||
pdfstartview = FitH, % FitH, FitV, FitR, FitB, FitBH, FitBV, Fit
|
||||
pdfpagelayout = OneColumn, % SinglePage, OneColumn, TwoColumnLeft, TwoColumnRight
|
||||
colorlinks = false, % Liens en couleur
|
||||
urlcolor = black, % Couleur des liens externes
|
||||
pdfborder = {0 0 0} % Style de bordure : ici, rien
|
||||
]{hyperref}
|
||||
|
||||
\hypersetup{
|
||||
pdfauthor = {Olivier DOSSMANN}, % Auteurs
|
||||
pdftitle = {TP1 : La messagerie s<>curis<69>e}, % Titre du document
|
||||
pdfsubject = {Obtenir et utiliser un certificat lors d'<27>changes de messagerie s<>curis<69>e}, % Sujet
|
||||
pdfkeywords = {latex,pdf}, % Mots-clefs
|
||||
pdfcreator = {vim, kile, pdflatex}, % Logiciel qui a cr<63>e le document
|
||||
pdfproducer = {*} % Soci<63>t<EFBFBD> avec produit le logiciel
|
||||
plainpages = false}
|
||||
\usepackage{pdfpages}
|
||||
|
||||
%---DVI------------------------------------------------------------------------
|
||||
|
||||
\else
|
||||
\usepackage{graphicx}
|
||||
\graphicspath{{eps/}}
|
||||
\newcommand{\url}[1]{\emph{#1}}
|
||||
\newcommand{\href}[2]{\emph{#2}[1]}
|
||||
\fi
|
||||
|
||||
%---EN-TETE-ET-PIED-DE-PAGE----------------------------------------------------
|
||||
|
||||
\renewcommand{\headrulewidth}{0.5pt}
|
||||
\renewcommand{\footrulewidth}{0.5pt}
|
||||
\pagestyle{fancy}
|
||||
|
||||
%\lhead{}
|
||||
%\chead{}
|
||||
%\rhead{}
|
||||
%\lfoot{}
|
||||
%\cfoot{}
|
||||
%\rfoot{}
|
||||
|
||||
%---PAGE-DE-GARDE--------------------------------------------------------------
|
||||
|
||||
\title{TP1 : La messagerie s<>curis<69>e}
|
||||
\author{Olivier DOSSMANN}
|
||||
\date{2007-12-10}
|
||||
|
||||
%---COLOR---------------------------------------------------------------------
|
||||
|
||||
%\pagecolor{}
|
||||
%\color{}
|
||||
|
||||
%---DEBUT-DU-DOCUMENT----------------------------------------------------------
|
||||
|
||||
\begin{document}
|
||||
\maketitle
|
||||
\thispagestyle{fancy}
|
||||
|
||||
%---EXEMPLE-DE-SECTION/SOUS-SECTION--------------------------------------------
|
||||
%\section{Introduction}
|
||||
%\section{Titre 1}
|
||||
%\subsection{Sous-section 1}
|
||||
|
||||
%---EXEMPLE-DE-LISTE-NUMEROTEE-------------------------------------------------
|
||||
%\begin{enumerate}
|
||||
%\item Choix 1
|
||||
%\item Choix 2
|
||||
%\end{enumerate}
|
||||
|
||||
%---EXEMPLE-DE-LISTE-NON-NUMEROTEE---------------------------------------------
|
||||
%\begin{itemize}
|
||||
%\item Objet 1
|
||||
%\item Objet 2
|
||||
%\end{itemize}
|
||||
|
||||
%---IMAGE----------------------------------------------------------------------
|
||||
%\begin{figure}[!htbp] %h = here, t = top, b = bottom et p = page (special)
|
||||
% \centering
|
||||
% \includegraphics[width=8cm]{gconfs.jpg}
|
||||
% \caption{Logo de l <20>Association GCONFS}
|
||||
%\end{figure}
|
||||
|
||||
\section{Introduction}
|
||||
La messagerie instantan<61>e est aujourd'hui un facteur pr<70>dominant dans l'<27>change d'informations au sein des entreprises.\\
|
||||
A cet effet, et sachant que la vie de l'entreprise passe aussi par des secrets et des techniques de fabrication, de d<>ploiement, de d<>veloppement ou m<>me par simple mesure de vie priv<69>e, il est utile de pouvoir ``cacher'' les donn<6E>es confidentielles, de peur qu'elles soient vues par une tierce personne. Une personne non habilit<69>e <20> lire ce genre document.\par
|
||||
Ainsi nous verrons <20>tapes par <20>tapes, les probl<62>mes et les solutions qui r<>sultent de l'utilisation d'un logiciel de messagerie courriel.
|
||||
|
||||
|
||||
\section{Le client de messagerie courriel}
|
||||
|
||||
\subsection{Installation}
|
||||
Nous <20>tions sur des machines virtuelles Windows 2000 (Win2K), ainsi l'utilisation d'Outlook Express 5 semblait tout <20> fait appropri<72>e pour ce genre d'exercice. Nul besoin, donc, d'installer un client de messagerie.
|
||||
|
||||
\subsection{Configuration}
|
||||
Sous Outlook Express, la premi<6D>re utilisation entra<72>ne le lancement d'un assistant permettant la configuration d'un compte POP/IMAP. Ce sont des comptes qui permettent la r<>cup<75>ration d'une bo<62>te courriel aupr<70>s d'un serveur courriel, par exemple le serveur de notre Fournisseur d'Acc<63>s Internet (FAI).\par
|
||||
Nous utiliserons le serveur courriel de l'IUT pour la r<>cup<75>ration des courriers, et le serveur courriel d'un FAI pour l'envoi du courrier (le TP ayant <20>t<EFBFBD> effectu<74> <20> l'ext<78>rieur de l'enceinte du b<>timent informatique).\\
|
||||
Pour ce faire nous avons les caract<63>ristiques suivantes :
|
||||
\begin{itemize}
|
||||
\item Nom du compte: \textit{Compte Personnel}
|
||||
\item Adresse courriel: \textit{Olivier.Dossmann@eturs.u-strasbg.fr}
|
||||
\item utiliateur: \textit{3dossmanno}
|
||||
\item mot de passe (utilis<69> seulement pour le TP): \textit{blankoworld}
|
||||
\item serveur pop: \textit{mailserver.u-strasbg.fr}
|
||||
\end{itemize}
|
||||
Est <20> ajouter qu'il faut configurer le client courriel pour laisser les messages sur le serveur (en somme faire une copie de ces derniers). Ceci <20>vite de perdre ses courriel simplement par mise en route d'un TP.
|
||||
|
||||
|
||||
\section{Les certificats}
|
||||
Parmi les solutions possibles (quoique restreintes), l'une des plus commode est l'utilisation de certificats.\par
|
||||
Un certificat est un document num<75>rique que nous obtenons sur Internet, ou bien <20> des agences sp<73>cialis<69>es. Nous ne reprendrons pas le cours qui explique cela bien mieux que nous. Cependant nous nous att<74>lerons <20> l'obtention et l'installation d'un certificat dans un client courriel afin de tester la certification.
|
||||
\subsection{Obtention d'un certificat}
|
||||
L<EFBFBD> encore, plusieurs sites permettent d'obtenir un certificat, nous avons choisi le site Thawte.com qui propose des certificats personnels gratuits.\par
|
||||
La premi<6D>re <20>tape consiste <20> s'enregistrer sur le site et <20> r<>pondre <20> tout un tas de questions ; apr<70>s quoi nous re<72>evons un courriel nous confirmant l'acceptation de notre demande.\\
|
||||
Ce courriel contient un lien qui redirige vers la page permettant l'obtention r<>elle du certificat.\\
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{01.jpg}
|
||||
\end{center}
|
||||
Nous r<>cup<75>rons donc le certificat <20> l'aide du navigateur Web (ici Mozilla/Firefox), puis nous l'exportons.
|
||||
\begin{center}
|
||||
\includegraphics[width=15cm]{02.jpg}
|
||||
\end{center}
|
||||
|
||||
|
||||
\end{document}
|
||||
|
||||
%---FIN-DE-DOCUMENT------------------------------------------------------------
|
683
S51/TP1/TP1/CptRendu/fncychap.sty
Normal file
683
S51/TP1/TP1/CptRendu/fncychap.sty
Normal file
@ -0,0 +1,683 @@
|
||||
%%% Copyright Ulf A. Lindgren
|
||||
%%%
|
||||
%%% Note Premission is granted to modify this file under
|
||||
%%% the condition that it is saved using another
|
||||
%%% file and package name.
|
||||
%%%
|
||||
%%% Revision 1.1 (1997)
|
||||
%%%
|
||||
%%% Jan. 8th Modified package name base date option
|
||||
%%% Jan. 22th Modified FmN and FmTi for error in book.cls
|
||||
%%% \MakeUppercase{#}->{\MakeUppercase#}
|
||||
%%% Apr. 6th Modified Lenny option to prevent undesired
|
||||
%%% skip of line.
|
||||
%%% Nov. 8th Fixed \@chapapp for AMS
|
||||
%%%
|
||||
%%% Revision 1.2 (1998)
|
||||
%%%
|
||||
%%% Feb. 11th Fixed appendix problem related to Bjarne
|
||||
%%% Aug. 11th Fixed problem related to 11pt and 12pt
|
||||
%%% suggested by Tomas Lundberg. THANKS!
|
||||
%%%
|
||||
%%% Revision 1.3 (2004)
|
||||
%%% Sep. 20th problem with frontmatter, mainmatter and
|
||||
%%% backmatter, pointed out by Lapo Mori
|
||||
%%%
|
||||
%%% Revision 1.31 (2004)
|
||||
%%% Sep. 21th problem with the Rejne definition streched text
|
||||
%%% caused ugly gaps in the vrule aligned with the title
|
||||
%%% text. Kindly pointed out to me by Hendri Adriaens
|
||||
%%%
|
||||
%%% Revision 1.32 (2005)
|
||||
%%% Jun. 23th compatibility problem with the KOMA class 'scrbook.cls'
|
||||
%%% a remedy is a redefinition of '\@schapter' in
|
||||
%%% line with that used in KOMA. The problem was pointed
|
||||
%%% out to me by Mikkel Holm Olsen
|
||||
%%%
|
||||
%%% Revision 1.33 (2005)
|
||||
%%% Aug. 9th misspelled ``TWELV'' corrected, the error was pointed
|
||||
%%% out to me by George Pearson
|
||||
%%%
|
||||
%%% Revision 1.34 (2007)
|
||||
%%% Added an alternative to Lenny provided by Peter
|
||||
%%% Osborne (2005-11-28)
|
||||
%%% Corrected front, main and back matter, based on input
|
||||
%%% from Bas van Gils (2006-04-24)
|
||||
%%% Jul. 30th Added Bjornstrup option provided by Jean-Marc
|
||||
%%% Francois (2007-01-05).
|
||||
%%% Reverted to \MakeUppercase{#} see rev 1.1, solved
|
||||
%%% problem with MakeUppercase and MakeLowercase pointed
|
||||
%%% out by Marco Feuerstein (2007-06-06)
|
||||
|
||||
|
||||
%%% Last modified Jul. 2007
|
||||
|
||||
\NeedsTeXFormat{LaTeX2e}[1995/12/01]
|
||||
\ProvidesPackage{fncychap}
|
||||
[2007/07/30 v1.34
|
||||
LaTeX package (Revised chapters)]
|
||||
|
||||
%%%% For conditional inclusion of color
|
||||
\newif\ifusecolor
|
||||
\usecolorfalse
|
||||
|
||||
|
||||
|
||||
%%%% DEFINITION OF Chapapp variables
|
||||
\newcommand{\CNV}{\huge\bfseries}
|
||||
\newcommand{\ChNameVar}[1]{\renewcommand{\CNV}{#1}}
|
||||
|
||||
|
||||
%%%% DEFINITION OF TheChapter variables
|
||||
\newcommand{\CNoV}{\huge\bfseries}
|
||||
\newcommand{\ChNumVar}[1]{\renewcommand{\CNoV}{#1}}
|
||||
|
||||
\newif\ifUCN
|
||||
\UCNfalse
|
||||
\newif\ifLCN
|
||||
\LCNfalse
|
||||
\def\ChNameLowerCase{\LCNtrue\UCNfalse}
|
||||
\def\ChNameUpperCase{\UCNtrue\LCNfalse}
|
||||
\def\ChNameAsIs{\UCNfalse\LCNfalse}
|
||||
|
||||
%%%%% Fix for AMSBook 971008
|
||||
|
||||
\@ifundefined{@chapapp}{\let\@chapapp\chaptername}{}
|
||||
|
||||
|
||||
%%%%% Fix for Bjarne and appendix 980211
|
||||
|
||||
\newif\ifinapp
|
||||
\inappfalse
|
||||
\renewcommand\appendix{\par
|
||||
\setcounter{chapter}{0}%
|
||||
\setcounter{section}{0}%
|
||||
\inapptrue%
|
||||
\renewcommand\@chapapp{\appendixname}%
|
||||
\renewcommand\thechapter{\@Alph\c@chapter}}
|
||||
|
||||
%%%%% Fix for frontmatter, mainmatter, and backmatter 040920
|
||||
|
||||
\@ifundefined{@mainmatter}{\newif\if@mainmatter \@mainmattertrue}{}
|
||||
|
||||
%%%%%
|
||||
|
||||
|
||||
|
||||
\newcommand{\FmN}[1]{%
|
||||
\ifUCN
|
||||
{\MakeUppercase{#1}}\LCNfalse
|
||||
\else
|
||||
\ifLCN
|
||||
{\MakeLowercase{#1}}\UCNfalse
|
||||
\else #1
|
||||
\fi
|
||||
\fi}
|
||||
|
||||
|
||||
%%%% DEFINITION OF Title variables
|
||||
\newcommand{\CTV}{\Huge\bfseries}
|
||||
\newcommand{\ChTitleVar}[1]{\renewcommand{\CTV}{#1}}
|
||||
|
||||
%%%% DEFINITION OF the basic rule width
|
||||
\newlength{\RW}
|
||||
\setlength{\RW}{1pt}
|
||||
\newcommand{\ChRuleWidth}[1]{\setlength{\RW}{#1}}
|
||||
|
||||
\newif\ifUCT
|
||||
\UCTfalse
|
||||
\newif\ifLCT
|
||||
\LCTfalse
|
||||
\def\ChTitleLowerCase{\LCTtrue\UCTfalse}
|
||||
\def\ChTitleUpperCase{\UCTtrue\LCTfalse}
|
||||
\def\ChTitleAsIs{\UCTfalse\LCTfalse}
|
||||
\newcommand{\FmTi}[1]{%
|
||||
\ifUCT
|
||||
{\MakeUppercase{#1}}\LCTfalse
|
||||
\else
|
||||
\ifLCT
|
||||
{\MakeLowercase{#1}}\UCTfalse
|
||||
\else {#1}
|
||||
\fi
|
||||
\fi}
|
||||
|
||||
|
||||
|
||||
\newlength{\mylen}
|
||||
\newlength{\myhi}
|
||||
\newlength{\px}
|
||||
\newlength{\py}
|
||||
\newlength{\pyy}
|
||||
\newlength{\pxx}
|
||||
|
||||
|
||||
\def\mghrulefill#1{\leavevmode\leaders\hrule\@height #1\hfill\kern\z@}
|
||||
|
||||
\newcommand{\DOCH}{%
|
||||
\CNV\FmN{\@chapapp}\space \CNoV\thechapter
|
||||
\par\nobreak
|
||||
\vskip 20\p@
|
||||
}
|
||||
\newcommand{\DOTI}[1]{%
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@
|
||||
}
|
||||
\newcommand{\DOTIS}[1]{%
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@
|
||||
}
|
||||
|
||||
%%%%%% SONNY DEF
|
||||
|
||||
\DeclareOption{Sonny}{%
|
||||
\ChNameVar{\Large\sf}
|
||||
\ChNumVar{\Huge}
|
||||
\ChTitleVar{\Large\sf}
|
||||
\ChRuleWidth{0.5pt}
|
||||
\ChNameUpperCase
|
||||
\renewcommand{\DOCH}{%
|
||||
\raggedleft
|
||||
\CNV\FmN{\@chapapp}\space \CNoV\thechapter
|
||||
\par\nobreak
|
||||
\vskip 40\p@}
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\CTV\raggedleft\mghrulefill{\RW}\par\nobreak
|
||||
\vskip 5\p@
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\mghrulefill{\RW}\par\nobreak
|
||||
\vskip 40\p@}
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
\CTV\raggedleft\mghrulefill{\RW}\par\nobreak
|
||||
\vskip 5\p@
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\mghrulefill{\RW}\par\nobreak
|
||||
\vskip 40\p@}
|
||||
}
|
||||
|
||||
%%%%%% LENNY DEF
|
||||
|
||||
\DeclareOption{Lenny}{%
|
||||
|
||||
\ChNameVar{\fontsize{14}{16}\usefont{OT1}{phv}{m}{n}\selectfont}
|
||||
\ChNumVar{\fontsize{60}{62}\usefont{OT1}{ptm}{m}{n}\selectfont}
|
||||
\ChTitleVar{\Huge\bfseries\rm}
|
||||
\ChRuleWidth{1pt}
|
||||
\renewcommand{\DOCH}{%
|
||||
\settowidth{\px}{\CNV\FmN{\@chapapp}}
|
||||
\addtolength{\px}{2pt}
|
||||
\settoheight{\py}{\CNV\FmN{\@chapapp}}
|
||||
\addtolength{\py}{1pt}
|
||||
|
||||
\settowidth{\mylen}{\CNV\FmN{\@chapapp}\space\CNoV\thechapter}
|
||||
\addtolength{\mylen}{1pt}
|
||||
\settowidth{\pxx}{\CNoV\thechapter}
|
||||
\addtolength{\pxx}{-1pt}
|
||||
|
||||
\settoheight{\pyy}{\CNoV\thechapter}
|
||||
\addtolength{\pyy}{-2pt}
|
||||
\setlength{\myhi}{\pyy}
|
||||
\addtolength{\myhi}{-1\py}
|
||||
\par
|
||||
\parbox[b]{\textwidth}{%
|
||||
\rule[\py]{\RW}{\myhi}%
|
||||
\hskip -\RW%
|
||||
\rule[\pyy]{\px}{\RW}%
|
||||
\hskip -\px%
|
||||
\raggedright%
|
||||
\CNV\FmN{\@chapapp}\space\CNoV\thechapter%
|
||||
\hskip1pt%
|
||||
\mghrulefill{\RW}%
|
||||
\rule{\RW}{\pyy}\par\nobreak%
|
||||
\vskip -\baselineskip%
|
||||
\vskip -\pyy%
|
||||
\hskip \mylen%
|
||||
\mghrulefill{\RW}\par\nobreak%
|
||||
\vskip \pyy}%
|
||||
\vskip 20\p@}
|
||||
|
||||
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\raggedright
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@}
|
||||
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
\raggedright
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@}
|
||||
}
|
||||
|
||||
%%%%%% Peter Osbornes' version of LENNY DEF
|
||||
|
||||
\DeclareOption{PetersLenny}{%
|
||||
|
||||
% five new lengths
|
||||
\newlength{\bl} % bottom left : orig \space
|
||||
\setlength{\bl}{6pt}
|
||||
\newcommand{\BL}[1]{\setlength{\bl}{#1}}
|
||||
\newlength{\br} % bottom right : orig 1pt
|
||||
\setlength{\br}{1pt}
|
||||
\newcommand{\BR}[1]{\setlength{\br}{#1}}
|
||||
\newlength{\tl} % top left : orig 2pt
|
||||
\setlength{\tl}{2pt}
|
||||
\newcommand{\TL}[1]{\setlength{\tl}{#1}}
|
||||
\newlength{\trr} % top right :orig 1pt
|
||||
\setlength{\trr}{1pt}
|
||||
\newcommand{\TR}[1]{\setlength{\trr}{#1}}
|
||||
\newlength{\blrule} % top right :orig 1pt
|
||||
\setlength{\trr}{0pt}
|
||||
\newcommand{\BLrule}[1]{\setlength{\blrule}{#1}}
|
||||
|
||||
|
||||
\ChNameVar{\fontsize{14}{16}\usefont{OT1}{phv}{m}{n}\selectfont}
|
||||
\ChNumVar{\fontsize{60}{62}\usefont{OT1}{ptm}{m}{n}\selectfont}
|
||||
\ChTitleVar{\Huge\bfseries\rm}
|
||||
\ChRuleWidth{1pt}
|
||||
\renewcommand{\DOCH}{%
|
||||
|
||||
|
||||
%%%%%%% tweaks for 1--9 and A--Z
|
||||
\ifcase\c@chapter\relax%
|
||||
\or\BL{-3pt}\TL{-4pt}\BR{0pt}\TR{-6pt}%1
|
||||
\or\BL{0pt}\TL{-4pt}\BR{2pt}\TR{-4pt}%2
|
||||
\or\BL{0pt}\TL{-4pt}\BR{2pt}\TR{-4pt}%3
|
||||
\or\BL{0pt}\TL{5pt}\BR{2pt}\TR{-4pt}%4
|
||||
\or\BL{0pt}\TL{3pt}\BR{2pt}\TR{-4pt}%5
|
||||
\or\BL{-1pt}\TL{0pt}\BR{2pt}\TR{-2pt}%6
|
||||
\or\BL{0pt}\TL{-3pt}\BR{2pt}\TR{-2pt}%7
|
||||
\or\BL{0pt}\TL{-3pt}\BR{2pt}\TR{-2pt}%8
|
||||
\or\BL{0pt}\TL{-3pt}\BR{-4pt}\TR{-2pt}%9
|
||||
\or\BL{-3pt}\TL{-3pt}\BR{2pt}\TR{-7pt}%10
|
||||
\or\BL{-6pt}\TL{-6pt}\BR{0pt}\TR{-9pt}%11
|
||||
\or\BL{-6pt}\TL{-6pt}\BR{2pt}\TR{-7pt}%12
|
||||
\or\BL{-5pt}\TL{-5pt}\BR{0pt}\TR{-9pt}%13
|
||||
\or\BL{-6pt}\TL{-6pt}\BR{0pt}\TR{-9pt}%14
|
||||
\or\BL{-3pt}\TL{-3pt}\BR{3pt}\TR{-6pt}%15
|
||||
\or\BL{-3pt}\TL{-3pt}\BR{3pt}\TR{-6pt}%16
|
||||
\or\BL{-5pt}\TL{-3pt}\BR{-8pt}\TR{-6pt}%17
|
||||
\or\BL{-5pt}\TL{-5pt}\BR{0pt}\TR{-9pt}%18
|
||||
\or\BL{-3pt}\TL{-3pt}\BR{-6pt}\TR{-9pt}%19
|
||||
\or\BL{0pt}\TL{0pt}\BR{0pt}\TR{-5pt}%20
|
||||
\fi
|
||||
|
||||
\ifinapp\ifcase\c@chapter\relax%
|
||||
\or\BL{0pt}\TL{14pt}\BR{5pt}\TR{-19pt}%A
|
||||
\or\BL{0pt}\TL{-5pt}\BR{-3pt}\TR{-8pt}%B
|
||||
\or\BL{-3pt}\TL{-2pt}\BR{1pt}\TR{-6pt}\BLrule{0pt}%C
|
||||
\or\BL{0pt}\TL{-5pt}\BR{-3pt}\TR{-8pt}\BLrule{0pt}%D
|
||||
\or\BL{0pt}\TL{-5pt}\BR{2pt}\TR{-3pt}%E
|
||||
\or\BL{0pt}\TL{-5pt}\BR{-10pt}\TR{-1pt}%F
|
||||
\or\BL{-3pt}\TL{0pt}\BR{0pt}\TR{-7pt}%G
|
||||
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%H
|
||||
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%I
|
||||
\or\BL{2pt}\TL{0pt}\BR{-3pt}\TR{1pt}%J
|
||||
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%K
|
||||
\or\BL{0pt}\TL{-5pt}\BR{2pt}\TR{-19pt}%L
|
||||
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}%M
|
||||
\or\BL{0pt}\TL{-5pt}\BR{-2pt}\TR{-1pt}%N
|
||||
\or\BL{-3pt}\TL{-2pt}\BR{-3pt}\TR{-11pt}%O
|
||||
\or\BL{0pt}\TL{-5pt}\BR{-9pt}\TR{-3pt}%P
|
||||
\or\BL{-3pt}\TL{-2pt}\BR{-3pt}\TR{-11pt}%Q
|
||||
\or\BL{0pt}\TL{-5pt}\BR{4pt}\TR{-8pt}%R
|
||||
\or\BL{-2pt}\TL{-2pt}\BR{-2pt}\TR{-7pt}%S
|
||||
\or\BL{-3pt}\TL{0pt}\BR{-5pt}\TR{4pt}\BLrule{8pt}%T
|
||||
\or\BL{-7pt}\TL{-11pt}\BR{-5pt}\TR{-7pt}\BLrule{0pt}%U
|
||||
\or\BL{-14pt}\TL{-5pt}\BR{-14pt}\TR{-1pt}\BLrule{14pt}%V
|
||||
\or\BL{-10pt}\TL{-9pt}\BR{-13pt}\TR{-3pt}\BLrule{7pt}%W
|
||||
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}\BLrule{0pt}%X
|
||||
\or\BL{-6pt}\TL{-4pt}\BR{-7pt}\TR{1pt}\BLrule{7pt}%Y
|
||||
\or\BL{0pt}\TL{-5pt}\BR{3pt}\TR{-1pt}\BLrule{0pt}%Z
|
||||
\fi\fi
|
||||
%%%%%%%
|
||||
\settowidth{\px}{\CNV\FmN{\@chapapp}}
|
||||
\addtolength{\px}{\tl} %MOD change 2pt to \tl
|
||||
\settoheight{\py}{\CNV\FmN{\@chapapp}}
|
||||
\addtolength{\py}{1pt}
|
||||
|
||||
\settowidth{\mylen}{\CNV\FmN{\@chapapp}\space\CNoV\thechapter}
|
||||
\addtolength{\mylen}{\trr}% MOD change 1pt to \tr
|
||||
\settowidth{\pxx}{\CNoV\thechapter}
|
||||
\addtolength{\pxx}{-1pt}
|
||||
|
||||
\settoheight{\pyy}{\CNoV\thechapter}
|
||||
\addtolength{\pyy}{-2pt}
|
||||
\setlength{\myhi}{\pyy}
|
||||
\addtolength{\myhi}{-1\py}
|
||||
\par
|
||||
\parbox[b]{\textwidth}{%
|
||||
\rule[\py]{\RW}{\myhi}%
|
||||
\hskip -\RW%
|
||||
\rule[\pyy]{\px}{\RW}%
|
||||
\hskip -\px%
|
||||
\raggedright%
|
||||
\CNV\FmN{\@chapapp}\rule{\blrule}{\RW}\hskip\bl\CNoV\thechapter%MOD
|
||||
% \CNV\FmN{\@chapapp}\space\CNoV\thechapter %ORIGINAL
|
||||
\hskip\br% %MOD 1pt to \br
|
||||
\mghrulefill{\RW}%
|
||||
\rule{\RW}{\pyy}\par\nobreak%
|
||||
\vskip -\baselineskip%
|
||||
\vskip -\pyy%
|
||||
\hskip \mylen%
|
||||
\mghrulefill{\RW}\par\nobreak%
|
||||
\vskip \pyy}%
|
||||
\vskip 20\p@}
|
||||
|
||||
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\raggedright
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@}
|
||||
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
\raggedright
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@}
|
||||
}
|
||||
|
||||
|
||||
%
|
||||
|
||||
|
||||
%%%%%% BJORNSTRUP DEF
|
||||
|
||||
\DeclareOption{Bjornstrup}{%
|
||||
\usecolortrue
|
||||
% pzc (Zapf Chancelery) is nice. ppl (Palatino) is cool too.
|
||||
\ChNumVar{\fontsize{76}{80}\usefont{OT1}{pzc}{m}{n}\selectfont}
|
||||
\ChTitleVar{\raggedleft\Large\sffamily\bfseries}
|
||||
|
||||
\setlength{\myhi}{10pt} % Space between grey box border and text
|
||||
\setlength{\mylen}{\textwidth}
|
||||
\addtolength{\mylen}{-2\myhi}
|
||||
\renewcommand{\DOCH}{%
|
||||
\settowidth{\py}{\CNoV\thechapter}
|
||||
\addtolength{\py}{-10pt} % Amount of space by which the
|
||||
% % number is shifted right
|
||||
\fboxsep=0pt%
|
||||
\colorbox[gray]{.85}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}%
|
||||
\kern-\py\raise20pt%
|
||||
\hbox{\color[gray]{.5}\CNoV\thechapter}\\%
|
||||
}
|
||||
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\nointerlineskip\raggedright%
|
||||
\fboxsep=\myhi%
|
||||
\vskip-1ex%
|
||||
\colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%
|
||||
\vskip 40\p@%
|
||||
}
|
||||
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
\fboxsep=0pt
|
||||
\colorbox[gray]{.85}{\rule{0pt}{40pt}\parbox[b]{\textwidth}{\hfill}}\\%
|
||||
\nointerlineskip\raggedright%
|
||||
\fboxsep=\myhi%
|
||||
\colorbox[gray]{.85}{\parbox[t]{\mylen}{\CTV\FmTi{#1}}}\par\nobreak%
|
||||
\vskip 40\p@%
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
%%%%%%% GLENN DEF
|
||||
|
||||
|
||||
\DeclareOption{Glenn}{%
|
||||
\ChNameVar{\bfseries\Large\sf}
|
||||
\ChNumVar{\Huge}
|
||||
\ChTitleVar{\bfseries\Large\rm}
|
||||
\ChRuleWidth{1pt}
|
||||
\ChNameUpperCase
|
||||
\ChTitleUpperCase
|
||||
\renewcommand{\DOCH}{%
|
||||
\settoheight{\myhi}{\CTV\FmTi{Test}}
|
||||
\setlength{\py}{\baselineskip}
|
||||
\addtolength{\py}{\RW}
|
||||
\addtolength{\py}{\myhi}
|
||||
\setlength{\pyy}{\py}
|
||||
\addtolength{\pyy}{-1\RW}
|
||||
|
||||
\raggedright
|
||||
\CNV\FmN{\@chapapp}\space\CNoV\thechapter
|
||||
\hskip 3pt\mghrulefill{\RW}\rule[-1\pyy]{2\RW}{\py}\par\nobreak}
|
||||
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\addtolength{\pyy}{-4pt}
|
||||
\settoheight{\myhi}{\CTV\FmTi{#1}}
|
||||
\addtolength{\myhi}{\py}
|
||||
\addtolength{\myhi}{-1\RW}
|
||||
\vskip -1\pyy
|
||||
\rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 2pt
|
||||
\raggedleft\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 80\p@}
|
||||
|
||||
\newlength{\backskip}
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
% \setlength{\py}{10pt}
|
||||
% \setlength{\pyy}{\py}
|
||||
% \addtolength{\pyy}{\RW}
|
||||
% \setlength{\myhi}{\baselineskip}
|
||||
% \addtolength{\myhi}{\pyy}
|
||||
% \mghrulefill{\RW}\rule[-1\py]{2\RW}{\pyy}\par\nobreak
|
||||
% \addtolength{}{}
|
||||
%\vskip -1\baselineskip
|
||||
% \rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 2pt
|
||||
% \raggedleft\CTV\FmTi{#1}\par\nobreak
|
||||
% \vskip 60\p@}
|
||||
%% Fix suggested by Tomas Lundberg
|
||||
\setlength{\py}{25pt} % eller vad man vill
|
||||
\setlength{\pyy}{\py}
|
||||
\setlength{\backskip}{\py}
|
||||
\addtolength{\backskip}{2pt}
|
||||
\addtolength{\pyy}{\RW}
|
||||
\setlength{\myhi}{\baselineskip}
|
||||
\addtolength{\myhi}{\pyy}
|
||||
\mghrulefill{\RW}\rule[-1\py]{2\RW}{\pyy}\par\nobreak
|
||||
\vskip -1\backskip
|
||||
\rule{2\RW}{\myhi}\mghrulefill{\RW}\hskip 3pt %
|
||||
\raggedleft\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@}
|
||||
}
|
||||
|
||||
%%%%%%% CONNY DEF
|
||||
|
||||
\DeclareOption{Conny}{%
|
||||
\ChNameUpperCase
|
||||
\ChTitleUpperCase
|
||||
\ChNameVar{\centering\Huge\rm\bfseries}
|
||||
\ChNumVar{\Huge}
|
||||
\ChTitleVar{\centering\Huge\rm}
|
||||
\ChRuleWidth{2pt}
|
||||
|
||||
\renewcommand{\DOCH}{%
|
||||
\mghrulefill{3\RW}\par\nobreak
|
||||
\vskip -0.5\baselineskip
|
||||
\mghrulefill{\RW}\par\nobreak
|
||||
\CNV\FmN{\@chapapp}\space \CNoV\thechapter
|
||||
\par\nobreak
|
||||
\vskip -0.5\baselineskip
|
||||
}
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\mghrulefill{\RW}\par\nobreak
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 60\p@
|
||||
}
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
\mghrulefill{\RW}\par\nobreak
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 60\p@
|
||||
}
|
||||
}
|
||||
|
||||
%%%%%%% REJNE DEF
|
||||
|
||||
\DeclareOption{Rejne}{%
|
||||
|
||||
\ChNameUpperCase
|
||||
\ChTitleUpperCase
|
||||
\ChNameVar{\centering\Large\rm}
|
||||
\ChNumVar{\Huge}
|
||||
\ChTitleVar{\centering\Huge\rm}
|
||||
\ChRuleWidth{1pt}
|
||||
\renewcommand{\DOCH}{%
|
||||
\settoheight{\py}{\CNoV\thechapter}
|
||||
\parskip=0pt plus 1pt % Set parskip to default, just in case v1.31
|
||||
\addtolength{\py}{-1pt}
|
||||
\CNV\FmN{\@chapapp}\par\nobreak
|
||||
\vskip 20\p@
|
||||
\setlength{\myhi}{2\baselineskip}
|
||||
\setlength{\px}{\myhi}
|
||||
\addtolength{\px}{-1\RW}
|
||||
\rule[-1\px]{\RW}{\myhi}\mghrulefill{\RW}\hskip
|
||||
10pt\raisebox{-0.5\py}{\CNoV\thechapter}\hskip 10pt\mghrulefill{\RW}\rule[-1\px]{\RW}{\myhi}\par\nobreak
|
||||
\vskip -3\p@% Added -2pt vskip to correct for streched text v1.31
|
||||
}
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\setlength{\mylen}{\textwidth}
|
||||
\parskip=0pt plus 1pt % Set parskip to default, just in case v1.31
|
||||
\addtolength{\mylen}{-2\RW}
|
||||
{\vrule width\RW}\parbox{\mylen}{\CTV\FmTi{#1}}{\vrule width\RW}\par\nobreak%
|
||||
\vskip -3pt\rule{\RW}{2\baselineskip}\mghrulefill{\RW}\rule{\RW}{2\baselineskip}%
|
||||
\vskip 60\p@% Added -2pt in vskip to correct for streched text v1.31
|
||||
}
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
\setlength{\py}{\fboxrule}
|
||||
\setlength{\fboxrule}{\RW}
|
||||
\setlength{\mylen}{\textwidth}
|
||||
\addtolength{\mylen}{-2\RW}
|
||||
\fbox{\parbox{\mylen}{\vskip 2\baselineskip\CTV\FmTi{#1}\par\nobreak\vskip \baselineskip}}
|
||||
\setlength{\fboxrule}{\py}
|
||||
\vskip 60\p@
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
%%%%%%% BJARNE DEF
|
||||
|
||||
\DeclareOption{Bjarne}{%
|
||||
\ChNameUpperCase
|
||||
\ChTitleUpperCase
|
||||
\ChNameVar{\raggedleft\normalsize\rm}
|
||||
\ChNumVar{\raggedleft \bfseries\Large}
|
||||
\ChTitleVar{\raggedleft \Large\rm}
|
||||
\ChRuleWidth{1pt}
|
||||
|
||||
|
||||
%% Note thechapter -> c@chapter fix appendix bug
|
||||
%% Fixed misspelled 12
|
||||
|
||||
\newcounter{AlphaCnt}
|
||||
\newcounter{AlphaDecCnt}
|
||||
\newcommand{\AlphaNo}{%
|
||||
\ifcase\number\theAlphaCnt
|
||||
\ifnum\c@chapter=0
|
||||
ZERO\else{}\fi
|
||||
\or ONE\or TWO\or THREE\or FOUR\or FIVE
|
||||
\or SIX\or SEVEN\or EIGHT\or NINE\or TEN
|
||||
\or ELEVEN\or TWELVE\or THIRTEEN\or FOURTEEN\or FIFTEEN
|
||||
\or SIXTEEN\or SEVENTEEN\or EIGHTEEN\or NINETEEN\fi
|
||||
}
|
||||
|
||||
\newcommand{\AlphaDecNo}{%
|
||||
\setcounter{AlphaDecCnt}{0}
|
||||
\@whilenum\number\theAlphaCnt>0\do
|
||||
{\addtocounter{AlphaCnt}{-10}
|
||||
\addtocounter{AlphaDecCnt}{1}}
|
||||
\ifnum\number\theAlphaCnt=0
|
||||
\else
|
||||
\addtocounter{AlphaDecCnt}{-1}
|
||||
\addtocounter{AlphaCnt}{10}
|
||||
\fi
|
||||
|
||||
|
||||
\ifcase\number\theAlphaDecCnt\or TEN\or TWENTY\or THIRTY\or
|
||||
FORTY\or FIFTY\or SIXTY\or SEVENTY\or EIGHTY\or NINETY\fi
|
||||
}
|
||||
\newcommand{\TheAlphaChapter}{%
|
||||
|
||||
\ifinapp
|
||||
\thechapter
|
||||
\else
|
||||
\setcounter{AlphaCnt}{\c@chapter}
|
||||
\ifnum\c@chapter<20
|
||||
\AlphaNo
|
||||
\else
|
||||
\AlphaDecNo\AlphaNo
|
||||
\fi
|
||||
\fi
|
||||
}
|
||||
\renewcommand{\DOCH}{%
|
||||
\mghrulefill{\RW}\par\nobreak
|
||||
\CNV\FmN{\@chapapp}\par\nobreak
|
||||
\CNoV\TheAlphaChapter\par\nobreak
|
||||
\vskip -1\baselineskip\vskip 5pt\mghrulefill{\RW}\par\nobreak
|
||||
\vskip 20\p@
|
||||
}
|
||||
\renewcommand{\DOTI}[1]{%
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@
|
||||
}
|
||||
\renewcommand{\DOTIS}[1]{%
|
||||
\CTV\FmTi{#1}\par\nobreak
|
||||
\vskip 40\p@
|
||||
}
|
||||
}
|
||||
|
||||
\DeclareOption*{%
|
||||
\PackageWarning{fancychapter}{unknown style option}
|
||||
}
|
||||
|
||||
\ProcessOptions* \relax
|
||||
|
||||
\ifusecolor
|
||||
\RequirePackage{color}
|
||||
\fi
|
||||
\def\@makechapterhead#1{%
|
||||
\vspace*{50\p@}%
|
||||
{\parindent \z@ \raggedright \normalfont
|
||||
\ifnum \c@secnumdepth >\m@ne
|
||||
\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 040920
|
||||
\DOCH
|
||||
\fi
|
||||
\fi
|
||||
\interlinepenalty\@M
|
||||
\if@mainmatter%%%%% Fix for frontmatter, mainmatter, and backmatter 060424
|
||||
\DOTI{#1}%
|
||||
\else%
|
||||
\DOTIS{#1}%
|
||||
\fi
|
||||
}}
|
||||
|
||||
|
||||
%%% Begin: To avoid problem with scrbook.cls (fncychap version 1.32)
|
||||
|
||||
%%OUT:
|
||||
%\def\@schapter#1{\if@twocolumn
|
||||
% \@topnewpage[\@makeschapterhead{#1}]%
|
||||
% \else
|
||||
% \@makeschapterhead{#1}%
|
||||
% \@afterheading
|
||||
% \fi}
|
||||
|
||||
%%IN:
|
||||
\def\@schapter#1{%
|
||||
\if@twocolumn%
|
||||
\@makeschapterhead{#1}%
|
||||
\else%
|
||||
\@makeschapterhead{#1}%
|
||||
\@afterheading%
|
||||
\fi}
|
||||
|
||||
%%% End: To avoid problem with scrbook.cls (fncychap version 1.32)
|
||||
|
||||
\def\@makeschapterhead#1{%
|
||||
\vspace*{50\p@}%
|
||||
{\parindent \z@ \raggedright
|
||||
\normalfont
|
||||
\interlinepenalty\@M
|
||||
\DOTIS{#1}
|
||||
\vskip 40\p@
|
||||
}}
|
||||
|
||||
\endinput
|
||||
|
||||
|
Reference in New Issue
Block a user