Re: resize equation output

2014-04-29 Thread Jacob Bishop
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker ndbeck...@gmail.com wrote:

 Neal Becker wrote:

  I have the misfortune to be commanded to produce ppt.  So I took one of
 my
  equations, in lyx.  I chose beamer so I get something that'll look good
 on a
  slide.  I put
  \beamertemplatenavigationsymbolsempty
 
  so crop will work.
 
  When exported export/pdf(crop), it looks OK, but it's too small.  I
 import to
  M$ PPT by opening in acroread and copy file to clipboard.
 
  So I need something that'll resize the pdf (or convince lyx/beamer to
 output
  something bigger in the first place).


Not so much a real solution as another hack, but one thing I sometimes
have to do which I see as similar is to import tables and figures produced
in LyX into MS Word or the like. What I do is split the .pdf into separate
pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the
resulting pages into high res images with convert. I use a command such as:
$convert -colorspace RGB -interlace none -density 800 -quality 100
pg_0003.pdf figure01.jpg

Then, I crop the images as needed. That way, I have the separate images
saved, and they are in a format that plays well with MS.

-Jacob


Re: resize equation output

2014-04-29 Thread Jacob Bishop
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker ndbeck...@gmail.com wrote:

 Neal Becker wrote:

  I have the misfortune to be commanded to produce ppt.  So I took one of
 my
  equations, in lyx.  I chose beamer so I get something that'll look good
 on a
  slide.  I put
  \beamertemplatenavigationsymbolsempty
 
  so crop will work.
 
  When exported export/pdf(crop), it looks OK, but it's too small.  I
 import to
  M$ PPT by opening in acroread and copy file to clipboard.
 
  So I need something that'll resize the pdf (or convince lyx/beamer to
 output
  something bigger in the first place).


Not so much a real solution as another hack, but one thing I sometimes
have to do which I see as similar is to import tables and figures produced
in LyX into MS Word or the like. What I do is split the .pdf into separate
pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the
resulting pages into high res images with convert. I use a command such as:
$convert -colorspace RGB -interlace none -density 800 -quality 100
pg_0003.pdf figure01.jpg

Then, I crop the images as needed. That way, I have the separate images
saved, and they are in a format that plays well with MS.

-Jacob


Re: resize equation output

2014-04-29 Thread Jacob Bishop
On Tue, Apr 22, 2014 at 1:39 PM, Neal Becker  wrote:

> Neal Becker wrote:
>
> > I have the misfortune to be commanded to produce ppt.  So I took one of
> my
> > equations, in lyx.  I chose beamer so I get something that'll look good
> on a
> > slide.  I put
> > \beamertemplatenavigationsymbolsempty
> >
> > so crop will work.
> >
> > When exported export/pdf(crop), it looks OK, but it's too small.  I
> import to
> > M$ PPT by opening in acroread and copy file to clipboard.
> >
> > So I need something that'll resize the pdf (or convince lyx/beamer to
> output
> > something bigger in the first place).
>

Not so much a "real" solution as another hack, but one thing I sometimes
have to do which I see as similar is to import tables and figures produced
in LyX into MS Word or the like. What I do is split the .pdf into separate
pages using pdftk (i.e., $pdftk figures.pdf burst ). Then, I convert the
resulting pages into high res images with convert. I use a command such as:
$convert -colorspace RGB -interlace none -density 800 -quality 100
pg_0003.pdf figure01.jpg

Then, I crop the images as needed. That way, I have the separate images
saved, and they are in a format that plays well with MS.

-Jacob


resize equation output

2014-04-22 Thread Neal Becker
I have the misfortune to be commanded to produce ppt.  So I took one of my 
equations, in lyx.  I chose beamer so I get something that'll look good on a 
slide.  I put 
\beamertemplatenavigationsymbolsempty

so crop will work.

When exported export/pdf(crop), it looks OK, but it's too small.  I import to 
M$ 
PPT by opening in acroread and copy file to clipboard.

So I need something that'll resize the pdf (or convince lyx/beamer to output 
something bigger in the first place).

I tried the latter without success.

Putting in preamble
\geometry{paper=a4paper}

didn't seem help.

Finally, I found this magic incantation:

gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage -
dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf

Then run through
pdfcrop

Finally, not a bad result (oh, did you want that centered on the slide?)

Any better ideas?



Re: resize equation output

2014-04-22 Thread Neal Becker
Neal Becker wrote:

 I have the misfortune to be commanded to produce ppt.  So I took one of my
 equations, in lyx.  I chose beamer so I get something that'll look good on a
 slide.  I put
 \beamertemplatenavigationsymbolsempty
 
 so crop will work.
 
 When exported export/pdf(crop), it looks OK, but it's too small.  I import to
 M$ PPT by opening in acroread and copy file to clipboard.
 
 So I need something that'll resize the pdf (or convince lyx/beamer to output
 something bigger in the first place).
 
 I tried the latter without success.
 
 Putting in preamble
 \geometry{paper=a4paper}
 
 didn't seem help.
 
 Finally, I found this magic incantation:
 
 gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage -
 dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf
 
 Then run through
 pdfcrop
 
 Finally, not a bad result (oh, did you want that centered on the slide?)
 
 Any better ideas?

I found another solution:

\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,landscape,border shrink=5mm]

although this is not quite as large as I'd like.  Maybe I can learn the 
pdfpages 
options and improve it.



resize equation output

2014-04-22 Thread Neal Becker
I have the misfortune to be commanded to produce ppt.  So I took one of my 
equations, in lyx.  I chose beamer so I get something that'll look good on a 
slide.  I put 
\beamertemplatenavigationsymbolsempty

so crop will work.

When exported export/pdf(crop), it looks OK, but it's too small.  I import to 
M$ 
PPT by opening in acroread and copy file to clipboard.

So I need something that'll resize the pdf (or convince lyx/beamer to output 
something bigger in the first place).

I tried the latter without success.

Putting in preamble
\geometry{paper=a4paper}

didn't seem help.

Finally, I found this magic incantation:

gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage -
dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf

Then run through
pdfcrop

Finally, not a bad result (oh, did you want that centered on the slide?)

Any better ideas?



Re: resize equation output

2014-04-22 Thread Neal Becker
Neal Becker wrote:

 I have the misfortune to be commanded to produce ppt.  So I took one of my
 equations, in lyx.  I chose beamer so I get something that'll look good on a
 slide.  I put
 \beamertemplatenavigationsymbolsempty
 
 so crop will work.
 
 When exported export/pdf(crop), it looks OK, but it's too small.  I import to
 M$ PPT by opening in acroread and copy file to clipboard.
 
 So I need something that'll resize the pdf (or convince lyx/beamer to output
 something bigger in the first place).
 
 I tried the latter without success.
 
 Putting in preamble
 \geometry{paper=a4paper}
 
 didn't seem help.
 
 Finally, I found this magic incantation:
 
 gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage -
 dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf
 
 Then run through
 pdfcrop
 
 Finally, not a bad result (oh, did you want that centered on the slide?)
 
 Any better ideas?

I found another solution:

\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,landscape,border shrink=5mm]

although this is not quite as large as I'd like.  Maybe I can learn the 
pdfpages 
options and improve it.



resize equation output

2014-04-22 Thread Neal Becker
I have the misfortune to be commanded to produce ppt.  So I took one of my 
equations, in lyx.  I chose beamer so I get something that'll look good on a 
slide.  I put 
\beamertemplatenavigationsymbolsempty

so crop will work.

When exported export/pdf(crop), it looks OK, but it's too small.  I import to 
M$ 
PPT by opening in acroread and copy file to clipboard.

So I need something that'll resize the pdf (or convince lyx/beamer to output 
something bigger in the first place).

I tried the latter without success.

Putting in preamble
\geometry{paper=a4paper}

didn't seem help.

Finally, I found this magic incantation:

gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage -
dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf

Then run through
pdfcrop

Finally, not a bad result (oh, did you want that centered on the slide?)

Any better ideas?



Re: resize equation output

2014-04-22 Thread Neal Becker
Neal Becker wrote:

> I have the misfortune to be commanded to produce ppt.  So I took one of my
> equations, in lyx.  I chose beamer so I get something that'll look good on a
> slide.  I put
> \beamertemplatenavigationsymbolsempty
> 
> so crop will work.
> 
> When exported export/pdf(crop), it looks OK, but it's too small.  I import to
> M$ PPT by opening in acroread and copy file to clipboard.
> 
> So I need something that'll resize the pdf (or convince lyx/beamer to output
> something bigger in the first place).
> 
> I tried the latter without success.
> 
> Putting in preamble
> \geometry{paper=a4paper}
> 
> didn't seem help.
> 
> Finally, I found this magic incantation:
> 
> gs -sDEVICE=pdfwrite -sPAPERSIZE=a5 -dFIXEDMEDIA -dPDFFitPage -
> dCompatibilityLevel=1.4 -o eq1_2.pdf eq1.pdf
> 
> Then run through
> pdfcrop
> 
> Finally, not a bad result (oh, did you want that centered on the slide?)
> 
> Any better ideas?

I found another solution:

\usepackage{pgfpages}
\pgfpagesuselayout{resize to}[a4paper,landscape,border shrink=5mm]

although this is not quite as large as I'd like.  Maybe I can learn the 
pdfpages 
options and improve it.