[PDF] Documentation for fancybox.sty: Box tips and tricks for LATEX





Previous PDF Next PDF



Documentation for fancybox.sty: Box tips and tricks for LATEX

15 mai 2010 The distance between the box and the frame is boxsep as with LATEX's. box command. The commands use other parameters as well: shadowbox ...



Documentation for fancybox.sty: Box tips and tricks for LATEX

19 sept. 2000 The distance between the box and the frame is boxsep as with LATEX's. box command. The commands use other parameters as well: shadowbox ...



Documentation for fancybox.sty: Box tips and tricks for LATEX

19 sept. 2000 The distance between the box and the frame is boxsep as with LATEX's. box command. The commands use other parameters as well: shadowbox ...



Bienvenue à PSTricks

Pour installer PSTricks suivez les instructions du fichier read-me.pst in- inclure le fichier comme une option de style du document LATEX.



Verbatim Revisited--the fancyvrb Package

This talk introduces Timothy van Zandt's 'fancyvrb' [3] LATEX package [2] Timothy van Zandt



34 Special coordinates

LaTEX users should see fancybox.sty and its documentation fancybox.doc



PSTricks: Users Guide

12 mars 1993 Help. 82. A Boxes. 82. B Tips and More Tricks ... See the documentation of fancybox.sty for tips on rotating a LaTEX table.



PSTricks: Users Guide

12 mars 1993 Help. 82. A Boxes. 82. B Tips and More Tricks ... See the documentation of fancybox.sty for tips on rotating a LaTEX table.



PSTricks: Users Guide

10 déc. 2007 LATEX users should see fancybox.sty and its documentation fancybox.doc



Hieroglf: The Poor Mans Hieroglyphic Font

29 juil. 2015 This manual is typeset according to the conventions of the LATEX doc- ... Documentation for fancybox.sty — Box tips and tricks for LATEX.

Documentationforfancybox.sty:

BoxtipsandtricksforLATEX

TimothyVanZandt

tvz@Princeton.EDU

Version1.3

September19,2000

shadow,doubleandovalframes.

Contents

1Fancyframes1

2Ashortcourseonboxes2

3DeningLR-boxenvironments3

4Math5

5Floats7

6Center,

ushleftand ushright10

7Lists12

8Superimposingboxes13

9Framingawholepage15

10Switchingtolandscapemodemidstream17

11Verbatim18

12Changes27

fancybox.sty,Version1.31

1Fancyframes

\Ovalbox(with\thicklines).

Hereareexamples:1

\shadowbox{\large\bfNewGlarusBirdwatch}

NewGlarusBirdwatch

\doublebox{\large\bfNewGlarusBirdwatch}

NewGlarusBirdwatch

\ovalbox{\large\bfNewGlarusBirdwatch}

NewGlarusBirdwatch

\Ovalbox{\large\bfNewGlarusBirdwatch}

NewGlarusBirdwatch

is1.5\fboxruleplus.5pt. 6pt. fancybox.sty,Version1.32 \cornersize{num} widthandheightofthebox. \cornersize*{dim} defaultis \cornersize{.5} the\thicklinesdeclaration. \makebox. thediameter.

2Ashortcourseonboxes

fancybox.sty,Version1.33 mand, command. meansthatthisisn'treallyarestriction. minipage.

3DeningLR-boxenvironments

Toframeaminipage,youhavetowrite

\fbox{% \begin{minipage}{3in} blah \end{minipage}} butyoucan'tuse \newenvironment{fminipage}% {\fbox{\begin{minipage}}% {\end{minipage}}} changedinthisdocumentationfrom3ptto6pt. fancybox.sty,Version1.34 page: \begin{Sbox} \begin{minipage}{3in} blah \end{minipage} \end{Sbox} \fbox{\TheSbox} \newenvironment{fminipage}% {\begin{Sbox}\begin{minipage}}%

Let'sseethatitreallyworks:

\begin{fminipage}{2in}

Sincetheformerdoesn'tusebracestodelimit

thecontentsofthebox,$\ldots$ \end{fminipage}

Sincetheformerdoesn'tuse

bracestodelimitthecon- tentsofthebox,:::

3Thedierencebetween

\begin{Sbox} blah \end{Sbox} \TheSbox and \newsavebox{\mybox} \sbox{\mybox}{blah} \usebox{\mybox} fancybox.sty,Version1.35 4Math $x+y=\fbox{$\Omega$}$ x+y=

Youalsohavetoexplicitlywrite

anequation,butnottheequationnumber: \begin{equation} \fbox{$\displaystyle \int_{\Omega_0}\zeta(\omega)d\omega \geq\bar{r}$} \end{equation} Z

0(!)d!r

(1) orminipage.E.g., \newlength{\mylength} \setlength{\fboxsep}{15pt} \setlength{\mylength}{\linewidth} \addtolength{\mylength}{-2\fboxsep} fancybox.sty,Version1.36 \addtolength{\mylength}{-2\fboxrule} \fbox{% \parbox{\mylength}{ \setlength{\abovedisplayskip}{0pt} \setlength{\belowdisplayskip}{0pt} \begin{equation} x+y=z \end{equation}}} x+y=z(2) frame. \newenvironment{FramedEqn}% {\setlength{\fboxsep}{15pt} \setlength{\mylength}{\linewidth}% \addtolength{\mylength}{-2\fboxsep}% \addtolength{\mylength}{-2\fboxrule}% \Sbox \minipage{\mylength}% \setlength{\abovedisplayskip}{0pt}% \setlength{\belowdisplayskip}{0pt}% \equation}% {\endequation\endminipage\endSbox \[\fbox{\TheSbox}\]} reuseratherthancreatinganewoneeachtime. environment. fancybox.sty,Version1.37 \begin{FramedEqn} \end{FramedEqn} )P(P )13(3) \fbox{% \begin{Beqnarray*} x&=&y\\ y&>&x\\ \int_4^5f(x)dx&=&\sum_{i\inF}x_i \end{Beqnarray*}} x=y y>xZ5

4f(x)dx=X

i2Fx i specialequationnumberingmacros.

5Floats

oatenviron- fancybox.sty,Version1.38 theLR-boxcommand.

Forexample:

\begin{table}[h] \begin{center} \fbox{% \begin{minipage}{.8\textwidth} \begin{center} \begin{tabular}{rl} foo&bar \end{tabular} \end{center} \caption{Atableoffooandbar.} \end{minipage}} \end{center} \end{table} foobar

Table1:Atableoffooandbar.

againtocenterthestuinsidethebox. time): \newenvironment{FramedTable}% {\begin{table}[h] \begin{Sbox}% \setlength{\mylength}{\textwidth}% \addtolength{\mylength}{-2\fboxsep}% \addtolength{\mylength}{-2\fboxrule}% \begin{minipage}{\mylength}}% fancybox.sty,Version1.39

Nowlet'sseeifitworks:

\begin{FramedTable} \begin{center} \begin{tabular}{rl} foo&bar \end{tabular} \end{center} \caption{Atableoffooandbar.} \end{FramedTable} foobar

Table2:Atableoffooandbar.

oat,captionandall, ofthepage),andusethe anenvironment, \begin{landfloat}{ oat}{rotationcommand} \end{landfloat} oatingenvi- \begin{landfloat}{table}{\rotateleft} \end{landfloat} portrait-mode mode. fancybox.sty,Version1.310

Ifyoudon'taddacaptiontoa

oat,itdoesn'tmattermuchwhat oating anythinginalandscape oat.Forexample,supposeIhaveaverywide equation.ThenIcanwrite: \begin{landfloat}{table}{\rotateleft} \begin{equation} \end{equation} \end{landfloat} fectthenumberingof oats,doesn'tmakeanentryinalistof oats,and wantedtoaddacaptiontothepreviousexample.

6Center,

ushleftand ushright

Bcenter,BflushleftorBflushright

environmentinstead. [b]toaligntheboxwiththebottomline.

Forexample:

thana\parbox. fancybox.sty,Version1.311 \setlength{\fboxsep}{10pt}% \fbox{% \begin{Bcenter}

Loveoflife\\

andothershortstories\\ byPolicarpaSalabarrieta \end{Bcenter}}

Loveoflife

andothershortstories byPolicarpaSalabarrieta

Comparethiswith:

\setlength{\fboxsep}{10pt}% \fbox{% \begin{minipage}{6cm} \begin{center}

Loveoflifeandothershortstories

byPolicarpaSalabarrieta \end{center} \end{minipage}}

Loveoflifeandothershort

storiesbyPolicarpaSalabarrieta includeitinsideanothercenterenvironment.

Hereisanotherexample:

Mylist:\fbox{%

\begin{Bflushleft}[b]

Galangaroot\\

Coconut\\

Tempeh

\end{Bflushleft}} fancybox.sty,Version1.312

Mylist:

Galangaroot

Coconut

Tempeh

7Lists

itemize,enumerateordescription. breaking,oryoucanuse

Bitemize,BenumerateorBdescription

Forexample.

\fbox{% \begin{Bitemize} \itemGroceries \itemCleanhamstercages \itemPickupPeter \end{Bitemize}}

Groceries

Cleanhamstercages

PickupPeter

fancybox.sty,Version1.313 \fbox{% \begin{Bdescription} \item[David]Groceries \item[Eli]Hamstercages\\

Surrealnumbers

\item(3pt)[Doris]PickupPeter \end{Bdescription}}

DavidGroceries

EliHamstercages

Surrealnumbers

DorisPickupPeter

Todo: \fbox{\setlength{\itemsep}{0pt}% \begin{Benumerate}[t] \itemGroceries \itemHamstercages \itemPickupPeter \end{Benumerate}} Todo:

1.Groceries

2.Hamstercages

3.PickupPeter

argumentforchangingthealignment.

8Superimposingboxes

Thecommand

fancybox.sty,Version1.314 \boxput*(x,y){LRstu1}{LRstu2} anyspace.Hereisalazyexample: {\emLRstuff2},andoneunitinthex-direction ishalfthewidthof{\emLRstuff2}.}}

Censored!

Theoriginofthecoordinatesystemisat

thecenterofLRstu2,andoneunitinthe x-directionishalfthewidthofLRstu2. theforeground,rotated30degrees,andred: blahblah}}

HereisanotherexampleusingPSTricks:

colorimplementedby\special's fancybox.sty,Version1.315 \newcommand{\titledframe}[2]{% \boxput*(0,1){\psframebox*{#1}}% {\psframebox[framesep=12pt]{#2}}}

PSTricks.

\titledframe{Mytitle}{% \parbox{2in}{Thetitleissuperimposed onthetoppartoftheframe.}}

Thetitleissuperimposedon

thetoppartoftheframe.

Mytitle

9Framingawholepage

Thecommands

\fancyput*(x,y){LRstu} \thisfancyput*(x,y){LRstu} included,youmustspecifytheunits. (analogousto\thispagestyle). isanexample: fancybox.sty,Version1.316 \thisfancyput(3.25in,-4.5in){% groundimage(e.g.,alightgray\DRAFT"). pageoftext: \fancypage{cmds1}{cmds2} \thisfancypage{cmds1}{cmds2} cmds1{pagebox} canbeabox,suchas\fboxor\rotateleft. andthisisboxedwith cmds2{pagebox}

Thesamerulesapplytocmds2astocmds1.

Hereisanexample:

\thisfancypage{% \setlength{\fboxsep}{8pt}% \setlength{\shadowsize}{8pt}% \shadowbox}{} fancybox.sty,Version1.317

10Switchingtolandscapemodemidstream

a footers,usethe \begin{LandScape}{cmd} \end{LandScape} \end{Landscape} thenIcanwrite ofthedocumenttobeinlandscapemode. mentsswitchtoportraitmode. fancybox.sty,Version1.318 \Landscape*{11in}{8.5in}{\rotateright} or\clearpage). L messages.

11Verbatim

Ifyoutrytoframesomeverbatimtextbytyping

\fbox{% \begin{minipage}{5cm} \begin{verbatim} \My\Program\Listing if{foo}{bar}fi \end{verbatim} \end{minipage}}

OnesolutionistousetheSboxenvironment:

\begin{Sbox} \begin{minipage}{5cm} \begin{verbatim} \My\Program\Listing fancybox.sty,Version1.319 if{foo}{bar}fi \end{verbatim} \end{minipage} \end{Sbox} \setlength{\fboxsep}{8pt} \fbox{\TheSbox} \My\Program\Listing if{foo}{bar}fi mandsforusewithverbatimtext: \VerbBox{cmd}{LRstu}

Thisislike

cmd{LRstu} \VerbBox{\fbox}{\verb+\foo{bar}+} \foo{bar} ictwithsome- bodyelse'smodicationofthefootnotesystem. \newenvironment{FramedVerb}% {\end{verbatim}\end{minipage}\end{Sbox} macros. fancybox.sty,Version1.320 andthentype \begin{FramedVerb} if{foo}{bar}fi \end{FramedVerb} totheendoftheleoruntilitthrowsup.

Herearethebasicverbatimenvironments:

thebottomline. innocuousnameslike\MyTemp. spaces! options: fancybox.sty,Version1.321 as !Fileendedwhilescanninguseof\Verbatim. andthedocumentwillendatthatpoint. justhavetostartthedenitionwith \VerbatimEnvironment \newenvironment{FramedVerb}% {\VerbatimEnvironment {\end{Verbatim}\end{minipage}\end{Sbox}

Let'sgiveitatry:

\begin{FramedVerb} if{foo}{bar}fi \end{FramedVerb} if{foo}{bar}fi endwithanewline. usethenextoption. fancybox.sty,Version1.322 \VerbatimInput{le}Like\Verbatim. \LVerbatimInput{le}Like\LVerbatim. \BVerbatimInput[pos]{le}Like\BVerbatim. savedtoacommand: \UseVerbatim{cmd}Like\Verbatim. \LUseVerbatim{cmd}Like\LVerbatim. \BUseVerbatim[pos]{cmd}Like\BVerbatim. environment: \newenvironment{FramedVerb}% {\VerbatimEnvironment \begin{SaveVerbatim}{\MyTemp}}% {\end{SaveVerbatim}% \setlength{\fboxsep}{8pt}% \end{minipage}}} \Verbcharliteralchar newlineinliteral.12Forexample:

Themainuseforthe\Verb+SaveVerbatim+

environmentandthe\Verb+\UseVerbatim+ commandsistoinclude$\ldots$ \UseVerbatimcommandsistoinclude::: fancybox.sty,Version1.323 \SaveVerb(below).13 \SaveVerb[whatever]{cmd}charliteralchar \newcommand{\vitem}%

Whereas

\item[\Verb"\foo"] tointerpret\fooliterally, \vitem"foo" doesworkbecauseitisequivalentto orcommandislistedinTable3. \VerbatimTabappropriatelydened. fancybox.sty,Version1.324

WhereWhat

Environments

thatformatquotesdbs_dbs14.pdfusesText_20
[PDF] Les statistiques Agricoles et statistiques ? portée du clic Le

[PDF] reglement financier

[PDF] 1 FARMACOLOGIA DE LOS ANESTESICOS LOCALES Y

[PDF] Persian, Farsi, Dari, Tajiki: Language Names - ScholarlyCommons

[PDF] Spoken PersianPDF - FSI Language Courses

[PDF] Fascicule 70 - DTRF

[PDF] probatoire - Fastef

[PDF] Tutoriel de FastStone Image Viewer

[PDF] Subject Index, Vol 26, 1983

[PDF] La fatigue musculaire

[PDF] LE DILEMME DE FATMA Crime sexuel et culture juridique dans une

[PDF] La biodiversité en Belgique un aperçu - Je donne vie ? ma planete

[PDF] Coléoptères Cerambycidae - Faune de France

[PDF] Faune Méditerranéenne - UVT e-doc - Université Virtuelle de Tunis

[PDF] Faune Méditerranéenne - UVT e-doc - Université Virtuelle de Tunis