[pstricks] PSTricks Digest, Vol 104, Issue 6

Carsten Vogel texnicer at web.de
Sun Sep 11 16:27:31 CEST 2011


Am 11.09.2011 13:43, schrieb Denis Vergès:
> With
> \usepackage{tabularx}
> \usepackage{pstricks}
> \usepackage{cancel}
> %%%%%%%%%%
> \begin{tabularx}{\linewidth}{*{3}{X}}
> \textbf{a.~~} \cancel{1,8}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} \ovalbox{1,018}\\ [0.3 cm]
> \end{tabularx}
> %%%%%%%%%%%
> connexions between arc and bottom line is not good.
>
> No problem with \psovalbox but this command needs more space.
> Thanks.
> Denis



Denis! This is NOT a nice/minimal example. It does not compile and lacks 
\usepackage{fancybox}!

\documentclass{scrartcl}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{tabularx}
\usepackage{cancel}
\usepackage{fancybox}
\usepackage{pstricks}
\begin{document}
\noindent\begin{tabularx}{\linewidth}{*{3}{X}}
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\ovalbox{$1{,}018$}\\ [0.3 cm]
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\fbox{$1{,}018$\strut}\\ [0.3 cm]
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\psovalbox{$1{,}018$\strut}\\ [0.3 cm]
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\psframebox[framearc=.2]{$1{,}018$}\\ [0.3 cm]
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\psframebox[framearc=.4]{$1{,}018$}\\ [0.3 cm]
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\psframebox[framearc=.6]{$1{,}018$}\\ [0.3 cm]
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\psframebox[framearc=.8]{$1{,}018$}\\ [0.3 cm]
\textbf{a.~~} \cancel{$1{,}8$}&\textbf{b.~~} \cancel{360}&\textbf{c.~~} 
\psframebox[framearc=1]{$1{,}018$}\\ [0.3 cm]
\end{tabularx}
\end{document}


More information about the PSTricks mailing list