| 1 |
|
| 2 |
\psset{fillcolor=yellow,fillstyle=solid,linecolor=blue} |
| 3 |
|
| 4 |
|
| 5 |
\psset{linecolor=blue,linewidth=2pt,fillcolor=yellow} |
| 6 |
|
| 7 |
\begin{center} |
| 8 |
\begin{tabular}{|c|c|c|}\hline |
| 9 |
\multicolumn{3}{|c|}{ \BS{psframebox*}\AC{objet}} \\ \hline |
| 10 |
& \textbf{\TFRGB{sans astérisque}{without asterisk}} & \textbf{\TFRGB{avec astérisque}{with asterisk}} \\ |
| 11 |
\hline \BSS{psframebox}* &\rule[-.5cm]{0pt}{1cm} \psframebox{objet} & \psframebox*{objet} \\ |
| 12 |
|
| 13 |
\hline \BSS{psdblframebox}* &\rule[-.5cm]{0pt}{1cm} \psdblframebox{objet} & \psdblframebox*{objet} \\ |
| 14 |
|
| 15 |
\hline \BSS{psshadowbox}* &\rule[-.5cm]{0pt}{1cm}\psshadowbox{objet} & \psshadowbox*{objet} \\ |
| 16 |
|
| 17 |
\hline \BSS{pscirclebox}* &\rule[-.5cm]{0pt}{1.3cm} \pscirclebox{objet} & \pscirclebox*{objet} \\ |
| 18 |
|
| 19 |
\hline \BSS{psovalbox}* &\rule[-.5cm]{0pt}{1cm} \psovalbox{objet} & \psovalbox*{objet} \\ |
| 20 |
|
| 21 |
\hline \BSS{psdiabox}* &\rule[-.5cm]{0pt}{1.3cm} \psdiabox{objet} & \psdiabox*{objet} \\ |
| 22 |
|
| 23 |
\hline \BSS{pstribox}* &\rule[-.3cm]{0pt}{1.3cm} \pstribox{objet} & \pstribox*{objet} \\ |
| 24 |
|
| 25 |
\hline |
| 26 |
\end{tabular} |
| 27 |
\end{center} |
| 28 |
|
| 29 |
\TFRGB{Exemple}{Example} : \BS{}psdiabox\AC{\BS{}DFR} \psdiabox{\DFR} |
| 30 |
|
| 31 |
|
| 32 |
\subsection{Options } |
| 33 |
|
| 34 |
|
| 35 |
|
| 36 |
%\subsubsection{framesep=dimension} |
| 37 |
|
| 38 |
\begin{tabular}{|c|c|c|} |
| 39 |
\hline |
| 40 |
\multicolumn{3}{|c|}{ \BS{psframebox} \RDD{framesep}=.5cm]\AC{framesep=.5cm}} \\ \hline |
| 41 |
\psframebox{\dft{}} |
| 42 |
& |
| 43 |
\psframebox[framesep=0cm]{framesep=0cm} |
| 44 |
& |
| 45 |
\psframebox[framesep=.5cm]{framesep=.5cm} |
| 46 |
\\ |
| 47 |
\hline {\blue \dft{} : framesep=3pt }& framesep=0cm & framesep=.5cm \\ |
| 48 |
\hline |
| 49 |
\end{tabular} |
| 50 |
|
| 51 |
|
| 52 |
\bigskip |
| 53 |
|
| 54 |
|
| 55 |
%\subsubsection{boxsep=true/false} |
| 56 |
|
| 57 |
\begin{tabular}{|c|} \hline |
| 58 |
\RDD{boxsep} {\blue \dft : true} (\TFRGB{Ce paramètre ne s'applique qu'à}{Apply only to} \BS{psframebox}, \BS{pscirclebox} \TFRGB{et}{and} \BS{psovalbox}) |
| 59 |
\\ \hline |
| 60 |
\TFRGB{texte avant}{text before} \psframebox[boxsep=true]{boxsep=true} \TFRGB{texte entre les 2 boites}{text between} \psframebox[boxsep=false]{boxsep=false} \TFRGB{texte après}{text after} |
| 61 |
\\ \hline |
| 62 |
\end{tabular} |
| 63 |
|
| 64 |
|
| 65 |
|
| 66 |
\bigskip |
| 67 |
%\subsubsection{Options trimode pour \BS{}pstribox} |
| 68 |
|
| 69 |
|
| 70 |
\begin{tabular}{|c|c|c|} \hline |
| 71 |
\multicolumn{3}{|c|}{ Option \RDD{trimode} \TFRGB{pour}{only for} \BS{pstribox} } \\ \hline |
| 72 |
& \textbf{\TFRGB{sans astérisque}{without asterisk}} & \textbf{\TFRGB{avec astérisque}{with asterisk}} \\ |
| 73 |
\hline \BS{}pstribox*[{\red trimode=U}] &\rule[-.3cm]{0pt}{1.2cm} \pstribox[trimode=U]{objet} & \pstribox*[trimode=U]{objet} \\ |
| 74 |
\hline \BS{}pstribox*[{\red trimode=D}] & \rule[-.5cm]{0pt}{1cm}\pstribox[trimode=D]{objet} & \pstribox*[trimode=D]{objet} \\ |
| 75 |
\hline \BS{}pstribox*[{\red trimode=R}] & \rule[-.5cm]{0pt}{1.2cm}\pstribox[trimode=R]{objet} & \pstribox*[trimode=R]{objet} \\ |
| 76 |
\hline \BS{}pstribox*[{\red trimode=L}] & \rule[-.5cm]{0pt}{1.2cm}\pstribox[trimode=L]{objet} & \pstribox*[trimode=L]{objet} \\ |
| 77 |
\hline |
| 78 |
\end{tabular} |
| 79 |
|
| 80 |
\bigskip |
| 81 |
%\subsubsection{Limitation de la taille de la boite} |
| 82 |
|
| 83 |
\begin{tabular}{|c|}\hline |
| 84 |
\BS{psframebox}\AC{\BS{parbox}[l]\AC{3cm}\AC{\TFRGB{utilisation de \BSS{parbox} pour limiter la largeur de la boite à 3cm}{use of \BSS{parbox} to limit the width of the framebox}}} |
| 85 |
\\ \hline |
| 86 |
\psframebox{\parbox[l]{4cm}{\TFRGB{utilisation de \BSS{parbox} pour limiter la largeur de la boite à 3cm}{use of \BSS{parbox} to limit the width of the framebox}}} |
| 87 |
\\ \hline |
| 88 |
\end{tabular} |
| 89 |
|
| 90 |
|
| 91 |
|
| 92 |
|
| 93 |
\begin{center} |
| 94 |
|
| 95 |
|
| 96 |
\end{center} |
| 97 |
|
| 98 |
\psset{fillcolor=white} |