Search found 12 matches

by jorsborn
Thu Sep 08, 2011 11:01 am
Forum: Graphics, Figures & Tables
Topic: Rotate image 90 or 270 depending on the side of the page
Replies: 3
Views: 17715

Rotate image 90 or 270 depending on the side of the page

Let's say that it wasn't a bad idea or typographical nonsense for the sake of learning.

Any idea why...

Code: Select all

\ifthenelse{\isodd{\value{page}}}{angle=90}{angle=270}
... doesn't expand inside the arguments for \includegraphics?
by jorsborn
Thu Sep 08, 2011 6:48 am
Forum: Graphics, Figures & Tables
Topic: Rotate image 90 or 270 depending on the side of the page
Replies: 3
Views: 17715

Rotate image 90 or 270 depending on the side of the page

I've pieced together something but it doesn't typeset. If you typeset the bit below it will spit out angle=90 on page 1 and angle=270 on page 2. That's correct behavior. However, if I try to use it to dynamically supply the angle= argument to \includegrpahics then it fails (remove the begin/end ...
by jorsborn
Thu Sep 08, 2011 6:21 am
Forum: Graphics, Figures & Tables
Topic: Rotate image 90 or 270 depending on the side of the page
Replies: 3
Views: 17715

Rotate image 90 or 270 depending on the side of the page

I tried searching the forums for my solution but my key words turned up nothing. I have some large images included in my document and it is my desire that they consume the whole page in landscape. I have achieved this by using the align=90 argument. No problem there.

Now, I want to supply either 90 ...
by jorsborn
Mon Mar 14, 2011 5:12 am
Forum: Graphics, Figures & Tables
Topic: Help With Chains
Replies: 7
Views: 7722

Help With Chains

I'm back!

This problem is still somewhat related so I thought I'd continue it in this post. I am now trying to wrap this into environments and commands. I am almost there but the newlength calcs are giving me issues. I can't seem to get the correct math and it appears the problem might be related ...
by jorsborn
Mon Mar 14, 2011 4:32 am
Forum: Page Layout
Topic: Change Page Size Of A Single Page
Replies: 5
Views: 29443

Re: Change Page Size Of A Single Page

Thanks... that will work.
by jorsborn
Mon Mar 14, 2011 2:20 am
Forum: Page Layout
Topic: Change Page Size Of A Single Page
Replies: 5
Views: 29443

Change Page Size Of A Single Page

Looking at the documentation this looks pretty straightforward. I constructed a simple test but the paper size did not change. I set the driver to pdftex as I am using pdflatex. I even tried a driver setting of auto with no luck. Am I missing something?


\documentclass{book}

\usepackage[driver ...
by jorsborn
Sun Mar 13, 2011 11:43 am
Forum: Page Layout
Topic: Change Page Size Of A Single Page
Replies: 5
Views: 29443

Change Page Size Of A Single Page

I want to embed a 'poster' in my document. The poster is a large map that can't be represented on A4 paper size. When bound, the poster will fold out. They do this sometimes in magazines.

I could do the two documents separately and simply include the poster afterward. However, I'd like to create ...
by jorsborn
Sun Mar 13, 2011 5:47 am
Forum: Graphics, Figures & Tables
Topic: Help With Chains
Replies: 7
Views: 7722

Re: Help With Chains

Works like a champ! Thank you so much for helping me out!
by jorsborn
Sun Mar 13, 2011 3:55 am
Forum: Graphics, Figures & Tables
Topic: Help With Chains
Replies: 7
Views: 7722

Re: Help With Chains

Thank you!

The yshift transformation works but it has one drawback. I eventually want to script this so that this 'menu map' is created automatically. Given the child depth will vary for each menu item the y-shift value would be different for all of them. Is there anyway to calculate the y-shift ...
by jorsborn
Sun Mar 13, 2011 2:20 am
Forum: Graphics, Figures & Tables
Topic: Help With Chains
Replies: 7
Views: 7722

Help With Chains

Perfect, that worked and the errors in my log file have disappeared. Any idea why the manual doesn't state this? I was pretty much following the branch example on page 289 of the manual http://www.ctan.org/tex-archive/graphics/pgf/base/doc/generic/pgf/pgfmanual.pdf . They make no mention of the ...