multicols. enumerate a \epsfig problem

Petr Saloun Petr.Saloun at vsb.cz
Wed Aug 19 15:36:49 CEST 1998


Vazeni kolegove,

pri generovani testu pro prijimaci rizeni z matematiky se potykam s
problemem.

Pri pouziti dvousloupcove sazby casti textu (odpovedi na otazku),
ktera je vyctem (enumerate) a ma vlozene obrazky pomoci \epsfbox
dochazi k nasledujicimu: - vyctova polozka se zobrazi POD urovni
obrazku, v pripade
  posledni vyctove polozky dokonce prejde na STEJNY radek, jako
  dalsi priklad!! Pro posledni priklad se vyctova polozka
  nezobrazi vubec.
- budou-li obrazky "rozumne" (nejlepe stejne) velke, bude nejspis
  vse v poradku, jinak budu potrebovat zjistit skutecnou velikost EPS
  obrazku a prizpusobit ji aktualni sirce sloupce (v jednom rozmeru,
  druhy zmenit proporcionalne). Muzete mi neco poradit?

Za namety ci reseni predem dekuji,

                  Petr Saloun

-------------------------------------------
Petr Saloun, Dept. of Computer Science,
FEE&I VSB-Technical University Ostrava
Telephone: +420 69 699 ext. 4213
Fax: +420 69 6919597
e-mail: Petr.Saloun at vsb.cz
Address: 17. listopadu 15, Ostrava Poruba,
         CZ 708 33,
         Czech Republic
-------------- next part --------------
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% soubor FRVS97.TEX upraven pro dotaz do csTeX listu           %
% pro LaTeX 2e emTeX - CSTUG97                                 %
%***************************************************************

\documentclass[12pt, a4paper]{article}
\usepackage{czech, multicol, epsf}

%***********************************
% nastaven? ?irok? str?nky
\setlength{\textheight}{247mm}
\setlength{\textwidth}{160mm}
%***********************************

\newcounter{glisti}
% \ben a \een jsou zacatek a konec enumerate plus
% dvousloupcove prostredi
% vycet je bud a) az ..., nebo hodnota v []
\newcommand{\ben}{\begin{glist}
	\setlength{\columnsep}{.07\textwidth}
	\setlength{\columnseprule}{0pt}
	\begin{multicols}{2}
	}
\newcommand{\een}{
	\end{multicols}
	\end{glist}
	}
\newenvironment{glist}{
  \begin{list}{\alph{glisti})}{\usecounter{glisti}}
   \setlength{\topsep}{0pt}
   \setlength{\parskip}{5pt plus2pt minus2pt}
   \setlength{\itemsep}{0pt}
   \setlength{\parsep}{0pt}
   \setlength{\partopsep}{0pt}
  }
  {
  \end{list}}

\newtheorem{example}{}
% nove pocitadlo pro priklady

\begin{document}
\input{epsf}

% obrazky neodpovidaji zneni prikladu
% zde jde o jejich umisteni
% cisla v [] jsou pro ztotozneni polozky
%  a obrazku
\begin{example}
Graf funkce $f$: $y=|x|-2$ je
\ben
\item[1] \epsfbox{br14_a.eps}
\item[2] \epsfbox{br6_19.eps}
\item[3] \epsfbox{br14_a.eps}
\item[4] \epsfbox{br6_19.eps}
\item[5] \epsfbox{br14_a.eps}
\een
\end{example}

\begin{example}
Graf funkce $f$: $y=x+|x|$ je
\ben
\item[6] \epsfbox{br14_a.eps}
\item[7] \epsfbox{br6_19.eps}
\item[8] \epsfbox{br6_19.eps}
\item[9] \epsfbox{br14_a.eps}
\item[10] \epsfbox{br14_a.eps}
\een
\end{example}

\end{document}
-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  br6_19.eps
     Date:  27 Feb 1998, 11:16
     Size:  2614 bytes.
     Type:  Postscript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: br6_19.eps
Type: application/postscript
Size: 2614 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/19980819/63e4244f/attachment-0002.eps>
-------------- next part --------------
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.

   ---- File information -----------
     File:  br14_a.eps
     Date:  5 Feb 1998, 12:57
     Size:  2497 bytes.
     Type:  Postscript
-------------- next part --------------
A non-text attachment was scrubbed...
Name: br14_a.eps
Type: application/postscript
Size: 2497 bytes
Desc: not available
URL: <http://lists.felk.cvut.cz/pipermail/cstex/attachments/19980819/63e4244f/attachment-0003.eps>


More information about the csTeX mailing list