Vertikalni cary
Zdenek Wagner - Ustav chemickych procesu AV
wagner at cesnet.cz
Fri Jul 25 15:59:37 CEST 1997
On Fri, 25 Jul 1997, Jan Somvarsky wrote:
> Mili pratele TeXu,
>
> mam nasledujici problem. Chtel bych casti textu odlisit napriklad tak, ze by
> tyto kusy textu byly lemovany vertikalnimi carami. Me trivialni reseni:
>
Pouzijte changebar.sty, je na CTAN.
> Definice:
> \newlwngth{\sirka}
> \newlength{\mezera}
> \mezera=5mm
> \newcommand{\exam}{$$\left |\hspace{\mezera}\settowidth{\sirka}{$|$}
> \advance\sirka-3\sirka \advance\sirka\linewidth
> \advance\sirka -2\mezera\begin{minipage}{\sirka}}
> \def\endexam{\end{minipage}\hspace{\mezera} \right | $$}
>
> Pouziti:
>
> Text ....
> \begin{exam}
> Text zvyrazneny vertikalnimi caramy po stranach ...
> \end{exam}
> pokracovani normalniho textu ...
>
> Toto reseni ma zasadni nevyhodu: ve zvyraznene casti se nelamou stranky.
>
> Poradi mne nekdo reseni bez tohoto zasadniho nedostatku ?
>
> Dekuji
>
> Somi
>
> --
> --------------------------------------------------------------------------------
> Jan Somvarsky (J\'an \v{S}omv\'arsky) E-mail: somi at imc.cas.cz
> Dept. of Polymer Networks & Mechanical Prop. Phone: +420-2-360341 ext. 373
> Institute of Macromolecular Chemistry FAX: +420-2-367981
> Academy of Sciences of the Czech Republic Heyrovsky sq. 2, 162 06 Prague
> --------------------------------------------------------------------------------
>
,~~~/ /` / /| /~~~
/ / |_/ /__/ ' | /
/ /~~/ /~~/ /~~/ /~~/ /\ | /| / /~~/ /~~/ /~~/ /~~/ /~~~
/ , / / /~~~ / / /~~~ / \ |/ |/ / /_/ / / / /~~~ /
~~~~ ~~~ ~~~ ' ' ~~~ ' ` ' ' ~~~ ~~/ ' ' ~~~ '
Zdenek Wagner______/
E-mail mailto:wagner at mbox.cesnet.cz
WWW Home Page http://www.icpf.cas.cz/wagner/
More information about the csTeX
mailing list