kdyz draft?

Matej Cepl ceplma00 at yahoo.com
Sun Jan 27 04:22:51 CET 2002


Dobrý den,

mohl by mi někdo poradit, co napsat v LaTeXu do preambule, když
chci změnit chování dokumentu podle toho, jestli mám nastavenu
option draft nebo nikoli?

Představoval jsem si něco jako:

\ifdraft
	\renewcommand{\ttdefault}{\OFSfamily[Courier]}
	\renewcommand{\rmdefault}{\ttdefault}
	\renewcommand{\sfdefault}{\ttdefault}
	\usepackage{setspace}
	\doublespacing
\else
	\renewcommand{\rmdefault}{\OFSfamily[Lido]}
	\renewcommand{\sfdefault}{\OFSfamily[Helvetica]}
	\renewcommand{\ttdefault}{\OFSfamily[Courier]}
\fi

	Děkuji za radu

		Matěj

-- 
Matej Cepl, ceplma00 at yahoo.com
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Q: Is vi an easy editor to learn, is it intuitive?
A: Yes, some of us think so. But most people think that we are
   crazy.
	-- vi FAQ







More information about the csTeX mailing list