# [OS X TeX] scaling in beamer

Manfred Braun manfred.braun at uni-due.de
Thu Jun 16 23:11:57 CEST 2016

I think that the psset{unit=…} command should appear before the \begin{pspicture}. Otherwise the pspicture environment is generated with the previous (default) values.  Unfortunately I cannot test it, since I don’t have all the packages.

Manfred

> On 16 Jun 2016, at 23:47, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
>
> I use pstricks to generate pictures in whatever I write.  In this case I was treating the whole exposition as a kind of paper (though it is actually going to be a set of slides for a talk, which I intend to generate using beamer). I speculate that maybe the problem is caused by my using the psmatrix environment inside the pspicture, but I hope I can continue to use that because it made the whole process of creating the diagram much, much easier.
>
> Here is the source code as I started to make the first slide (there will eventually be others, with similar diagrams), as well as the output:
>
>
> My problem is quite simply that the diagram is taller than the slide size;  I would like to change the size of the diagram by reducing the scale in the pspicture, so that the whole diagram can be fit inside a slide.  My attempt to use \psset{unit=} with a ridiculously small unit size appears to not affect anything about the size of the diagram being produced.
>
> As can be deduced from the title of the file, I am starting to be under some time pressure to solve this problem.
> Any help would be appreciated.
>
> Z
>
>> On Jun 16, 2016, at 16:27, M. Tamer Özsu <ozsut at mac.com <mailto:ozsut at mac.com>> wrote:
>>
>> I think the first question is how you generated your figure? Did you do it with an external graphics program and produced a .jpeg or .pdf file? Or did you use a native latex drawing system such as tikz?
>>
>> ==Tamer
>> --
>> M. Tamer Özsu
>> Professor, Cheriton School of Computer Science
>> Associate Dean (Research), Faculty of Mathematics
>> University of Waterloo
>> https://cs.uwaterloo.ca/~tozsu <https://cs.uwaterloo.ca/~tozsu>
>>> On Jun 16, 2016, at 4:19 PM, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu <mailto:Zbigniew.Nitecki at tufts.edu>> wrote:
>>>
>>> So does this mean I need to generate my figure in latex, then convert it to eps, and then include it using \includegraphics into another latex document, namely the beamer slides I am trying to generate?
>>> It seems perverse.  I was hoping there was a direct way to control the figure from within the beamer document, since that is where I would naturally include the source code for the pspicture.
>>>> On Jun 16, 2016, at 6:36, 林隽 <jlin at ynao.ac.cn <mailto:jlin at ynao.ac.cn>> wrote:
>>>>
>>>> Try this
>>>>
>>>> \includegraphics[width=10cm]{figure1.eps}
>>>> 在2016-06-16 04:19:27，林隽jlin at ynao.ac.cn <mailto:jlin at ynao.ac.cn>写道：
>>>>
>>>> How do I scale a pspicture in beamer?  I have some figures which I worked out in documentclass[amsart] which overflow the slide size when I put them in beamer.  I tried resetting the scale via \psset{xunit=0.5mm, yunit=0.5mm}
>>>> but it seems to have no effect whatsoever.  At the moment the pspicture environment is not wrapped inside anything else, like figure.  Is there some way of making everything smaller on the slide?
>>>>
>>>> Zbigniew Nitecki
>>>> Department of Mathematics
>>>> Tufts University
>>>> Medford, MA 02155
>>>>
>>>> telephones:
>>>> Office    (617)627-3843
>>>> Dept.    (617)627-3234
>>>> Dept. fax    (617)627-3966
>>>> http://www.tufts.edu/~znitecki/ <http://www.tufts.edu/~znitecki/>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> ----------- Please Consult the Following Before Posting -----------
>>>> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
>>>> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/ <https://www.esm.psu.edu/~gray/tex/>
>>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>>>>                https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
>>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
>>>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
>>>
>>>
>>> Zbigniew Nitecki
>>> Department of Mathematics
>>> Tufts University
>>> Medford, MA 02155
>>>
>>> telephones:
>>> Office    (617)627-3843
>>> Dept.    (617)627-3234
>>> Dept. fax    (617)627-3966
>>> http://www.tufts.edu/~znitecki/ <http://www.tufts.edu/~znitecki/>
>>>
>>>
>>>
>>> ----------- Please Consult the Following Before Posting -----------
>>> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
>>> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/ <https://www.esm.psu.edu/~gray/tex/>
>>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>>>                https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
>>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
>>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
>>
>> ----------- Please Consult the Following Before Posting -----------
>> TeX FAQ: http://www.tex.ac.uk/faq <http://www.tex.ac.uk/faq>
>> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/ <https://www.esm.psu.edu/~gray/tex/>
>> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx <http://dir.gmane.org/gmane.comp.tex.macosx>
>>                https://email.esm.psu.edu/pipermail/macosx-tex/ <https://email.esm.psu.edu/pipermail/macosx-tex/>
>> TeX on Mac OS X Website: http://mactex-wiki.tug.org/ <http://mactex-wiki.tug.org/>
>> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex <https://email.esm.psu.edu/mailman/listinfo/macosx-tex>
>
>
> Zbigniew Nitecki
> Department of Mathematics
> Tufts University
> Medford, MA 02155
>
> telephones:
> Office    (617)627-3843
> Dept.    (617)627-3234
> Dept. fax    (617)627-3966
> http://www.tufts.edu/~znitecki/ <http://www.tufts.edu/~znitecki/>
>
>
>
> <Crossing Matrices Talk 6-21-2016.tex><Crossing Matrices Talk 6-21-2016.pdf>----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
> List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
>                https://email.esm.psu.edu/pipermail/macosx-tex/
> TeX on Mac OS X Website: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20160617/aaaa9b4e/attachment-0001.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex