Re: clip figures script... and some more tricks
Hi, one alternative is to use TeX to turn clipping on. I use %-- \makeatletter \newcommand{\Clip}[1]{% \let\zztmp=\includegraphics% \def\includegraphics{\Gin@cliptrue\Gin@i}% #1% \let\includegraphics=\zztmp% } \makeatother %-- and then put a '\Clip{' before and a '}' after the tobeclipped graphics. To clip all graphics use %-- \makeatletter \def\includegraphics{\Gin@cliptrue\Gin@i} \makeatother %-- in the preamble. Other TeX stuff I use include the handy %-- \newcommand{\C}[1]{{}} % Comment %-- to comment out whole blocks of LyX text. Also useful is the combo %-- \makeatletter \newcommand{\CapListEntry}[1]{\def\@CapListEntryFlag{1}\def\@CapListEntryText{#1}} \def\@CapListEntryFlag{0} \def\caption#1{\refstepcounter\@captype% \ifodd\@CapListEntryFlag% \@dblarg{\@caption\@captype}[\@CapListEntryText]{#1}% \def\@CapListEntryFlag{0}% \else% \@dblarg{\@caption\@captype}{#1}% \fi} \makeatother %-- to use the optional argument or caption, i.e. allow different text in the list of figures/tables. CapListEntry can be made a LyX environment by adding # -- # Caption style definition Style CapListEntry MarginFirst_Dynamic LatexType Command LatexName CapListEntry NeedProtect 1 LabelSep x ParSkip 0 TopSep0 Align Block AlignPossible Block, Left LabelType Static LabelString Entry: Font SizeSmall EndFont End # -- to ~/.lyx/layouts/stdlayouts.inc. Then, just put the CapListEntry environment before tha caption environment and... have fun, Fred Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany Email: [EMAIL PROTECTED] http://www.thp.Uni-Duisburg.DE/ "Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper" (E. Landau, Zahlentheorie (1927), Satz 718)
Re: clip figures script... and some more tricks :-)
Hi, once we are exchanging good ideas, look at the package mathptm. It does everything (including most of math) in Times Roman. Why isn't this selectable from LyX? So if your publisher forces you to use Times, this is the way to get harmonizing math fonts. (The Companion mentions mathtime -- never tried it.) Martin
Times Math Re: clip figures script... and some more tricks :-)
On Thu, 15 Apr 1999, Martin Vermeer wrote: once we are exchanging good ideas, look at the package mathptm. It does everything (including most of math) in Times Roman. Why isn't this selectable from LyX? You could also stick "\usepackage{pslatex}" in your LaTeX preamble. This converts _everything_ to Times/Helvetica/Courier. I use it instead of the LyX clickable things since it is a complete changeover. Mike [EMAIL PROTECTED]
Re: clip figures script... and some more tricks
Hi, one alternative is to use TeX to turn clipping on. I use %-- \makeatletter \newcommand{\Clip}[1]{% \let\zztmp=\includegraphics% \def\includegraphics{\Gin@cliptrue\Gin@i}% #1% \let\includegraphics=\zztmp% } \makeatother %-- and then put a '\Clip{' before and a '}' after the tobeclipped graphics. To clip all graphics use %-- \makeatletter \def\includegraphics{\Gin@cliptrue\Gin@i} \makeatother %-- in the preamble. Other TeX stuff I use include the handy %-- \newcommand{\C}[1]{{}} % Comment %-- to comment out whole blocks of LyX text. Also useful is the combo %-- \makeatletter \newcommand{\CapListEntry}[1]{\def\@CapListEntryFlag{1}\def\@CapListEntryText{#1}} \def\@CapListEntryFlag{0} \def\caption#1{\refstepcounter\@captype% \ifodd\@CapListEntryFlag% \@dblarg{\@caption\@captype}[\@CapListEntryText]{#1}% \def\@CapListEntryFlag{0}% \else% \@dblarg{\@caption\@captype}{#1}% \fi} \makeatother %-- to use the optional argument or caption, i.e. allow different text in the list of figures/tables. CapListEntry can be made a LyX environment by adding # -- # Caption style definition Style CapListEntry MarginFirst_Dynamic LatexType Command LatexName CapListEntry NeedProtect 1 LabelSep x ParSkip 0 TopSep0 Align Block AlignPossible Block, Left LabelType Static LabelString Entry: Font SizeSmall EndFont End # -- to ~/.lyx/layouts/stdlayouts.inc. Then, just put the CapListEntry environment before tha caption environment and... have fun, Fred Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany Email: [EMAIL PROTECTED] http://www.thp.Uni-Duisburg.DE/ "Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper" (E. Landau, Zahlentheorie (1927), Satz 718)
Re: clip figures script... and some more tricks :-)
Hi, once we are exchanging good ideas, look at the package mathptm. It does everything (including most of math) in Times Roman. Why isn't this selectable from LyX? So if your publisher forces you to use Times, this is the way to get harmonizing math fonts. (The Companion mentions mathtime -- never tried it.) Martin
Times Math Re: clip figures script... and some more tricks :-)
On Thu, 15 Apr 1999, Martin Vermeer wrote: > once we are exchanging good ideas, look at the package mathptm. It does > everything (including most of math) in Times Roman. Why isn't this selectable > from LyX? You could also stick "\usepackage{pslatex}" in your LaTeX preamble. This converts _everything_ to Times/Helvetica/Courier. I use it instead of the LyX clickable things since it is a complete changeover. Mike [EMAIL PROTECTED]