# Tag Info

167

Try the lscape package: % lscape.sty Produce landscape pages in a (mainly) portrait document. \usepackage{lscape} ... \begin{landscape} ... \end{landscape} This modifies the margins and rotates the page contents but not the page number. Useful, for example, with large multipage tables, and is compatible with the packages longtable and supertabular. If ...

30

Similar like my answer to How to wrap text around landscape page I would use \afterpage from the afterpage package to place the table at the next page of where it was declared. Here a non-floating replacement of table is used instead, e.g. the \captionof{table}{...} is used (capt-of or caption) package. One issue are potential other tables which should be ...

28

Check this: \documentclass[12pt, oneside]{book} \usepackage{graphicx} \usepackage{wrapfig} \usepackage{lscape} \usepackage{rotating} \usepackage{epstopdf} \begin{document} \begin{sidewaysfigure}[ht] \includegraphics{../figures/pics/DivLibPropProfile} \caption{Property profile of the diverse library compared to the compound pool.} ...

27

\includegraphics makes a box that is positioned the same way \mbox{} or A are positioned. If you want to move it 3cm to the left use \hspace*{-3cm}\includegraphics.....

26

use always \linewidth inside the landscape environment and not \textwidth

25

You can use the angle=90 option provided by graphicx package. \documentclass[12pt, oneside]{book} \usepackage[demo]{graphicx}%<----remove demo in your file \usepackage{wrapfig} \usepackage{lscape} \usepackage{rotating} \usepackage{epstopdf} \begin{document} \begin{figure}[ht] \centering ...

24

You can create a landscape document by using \documentclass[a4paper,landscape]{article} or with the help of geometry package: \usepackage[a4paper,margin=1in,landscape]{geometry} Here text will be in landscape, but page directions will be the same. Consider the following example: \documentclass{article} ...

23

The lscape package has problems with doublesided documents! The landscape pages of even pagenumbers (on the left side of the document) should be upside down from the ones of the odd pagenumbers (on the right side of the document). To solve this problem in doublesided documents use package rotating: \usepackage{rotating} ... \begin{sidewaysfigure} ... ...

21

The important issues to handle for such a project would be the handling of floats. Normally photo books or similar documents do not have a large amount of words and if you use floats and marginpars, the text will certainly end up in the wrong place. I would first choose a few page designs and then use minipages or better TeX vbox and hbox primitives to ...

20

It depends a little on the kind of landscape page you want to create. The easiest way to do it is to put your landscape material into a caption-less [p] float (except it is a figure or table which should have a caption). Without the caption the float number isn't increased so it doesn't affect other, "real" floats. You can create the landscape mode then by ...

18

The lscape package is not designed for this. It's designed for rotating wide figures or tables, for example. And the geometry package explicitly says that \newgeometry can't change the paper size or orientation. So I don't think there's a way to do this automatically. You can include landscape oriented pdf pages using the pdfpages package. (Include them ...

17

To make the table fit your landscape, put this in your preamble: \usepackage{geometry} \usepackage{pdflscape} And for your landscape page, do this: \newgeometry{margin=1cm} % modify this if you need even more space \begin{landscape} %put your table here \end{landscape} \restoregeometry If you are working in a document that makes use of fancyhdr, you ...

17

You want lscape (or its younger sibling pdflscape) and longtable and then \begin{landscape} \begin{longtable}{ll} ... don't put the table in a table or sidewaystabe environment or \colorbox command, all of which make unbreakable boxes that never split over a page.

16

If your document class is compatible with the caption package, you can use its \captionsetup command for the particular table (I removed parts of your code not relevant to the caption issue): \documentclass{article} \usepackage{caption} \begin{document} \listoftables \begin{table} \captionsetup{font=scriptsize} \centering \begin{tabular}{lc} \hline ...

14

First off, don't use both table and longtable -- the two environments shouldn't (and mustn't) be nested. Separately, since a longtable isn't a float (in the LaTeX sense of the word), there's no point providing location directives such as [!htb]. Second, to force the width of the longtable environment to be equal to \textwidth, type something like ...

14

\linewidth can be used instead: \begin{tabulary}{\linewidth}{RJL} Package lscape does rotate \textheight, but does not change \textwidth. Probably a bug. Update: It is a design compromise, see David Carlisle's comment.

14

There is a "design comprimise" in package lscape (in other packages it would be called "design flaw" ;-), of course). Environment landscape only rotates \textheight and \textwidth remains unchanged. However package geometry expects unchanged values, thus it gets surprised with \textheight having the old value of \textwidth. The following example fixes this ...

13

Add \usepackage{geometry} and it should work. The options from the article class get handed to geometry, which then sets it up nicely. Alternatively, pass the options to it directly: \usepackage[landscape,twocolumn]{geometry}

12

Answering the various points "why does lscape package recommend a different package" well it doesn't really. The ctan catalog package descriptions are not (in general) by the package authors but a third party review of the package. There are three places that "rotation" can occur when considering a page in a pdf file. lscape only considers one of them [* ...

12

If you are feeling brave you can use the afterpage package and go \afterpage{\begin{landscape}.....\end{landscape}} If the table is big (or it has any verbatim material) it is better to put it in a separate file mytable.tex and then just have \afterpage{\input{mytable}} this isn't a real float but it does delay starting the table until the next page ...

12

Using fancyhdr you can define your own page style and move the page number/counter into the appropriate position. \usepackage{pdfpages}% http://ctan.org/pkg/pdfpages \usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr \fancypagestyle{mylandscape}{% \fancyhf{}% Clear header/footer \fancyfoot{% Footer \makebox[\textwidth][r]{% Right ...

10

Change the order in which you load the packages: \usepackage[para]{footmisc} \usepackage{lscape} If you are using pdflatex, you could use pdflscape instead of lscape.

10

You can save the figure + caption in a box and then rotate the box, or use the sidewaysfigure environment from the rotating package. It puts the figure on its own page. For a small figure you can use the \rotcaption command to rotate the caption. \documentclass{memoir} \usepackage{caption} \captionsetup{font=small,labelfont=bf} \usepackage{graphicx} ...

10

This question is very similar to the one you posted yesterday, How to fit landscape multi-page table to textwidth. Hence, the answer I provided there will also work for your reworked example. (The main difference, AFAICT, between the two MWEs is that the first piece contains a 15-column table whereas the second piece contains a 24-column table.) For your ...

10

I'm a bit hesitant about calling this a bug in pdflatex, but from my not-very-extensive investigations, it would appear that the position returned by the primitive \pdfsavepos is offset when in landscape mode and producing dvi. One way to explain the behaviour (though I've no idea how accurate this picture is) is that it is as if when \pdfsavepos runs then ...

10

Is it like this? I used \parbox. The width of parbox may be adjusted as needed. \documentclass{article} \usepackage{longtable} \usepackage{pdflscape} \usepackage{siunitx} \begin{document} \begin{landscape} %\begin{sidewaystable} \centering %\begin{tabular}{|c|c|c|c|c|c|c|c|c|c|c|c|} \begin{longtable}{|c|c|c|c|c|c|c|c|c|c|c|c|} \hline ...

9

I need page numbers on the landscaped pages. And the page numbers should be at the bottom as shown in the second figure above. I have an idea. We can use \fancypagestyle to define a new pagestyle with landscaped page numbers. I use tikz to put the page number. \fancypagestyle{lscapedplain}{% \fancyhf{} \fancyfoot{% \tikz[remember ...

9

I would do it using a \parbox which has the maximum height (i.e. \textwidth because of the rotation) and contains some \vfill macros before and after the content to push it into the middle. Note that in such cases you shouldn't use the figure floating environment but add the captions using \captionof{figure} (capt-of or caption package). The float only ...

8

Use the package pdflscape instead of lscape. It sets the Rotate attribute of the pdf

8

You could use the sidewaystable environment from the rotating package; a little example: \documentclass{article} \usepackage{rotating} \begin{document} text text text text \begin{sidewaystable} \centering \rule{3cm}{4cm}% to simulate a table \caption{A rotated table} \label{tab:test} \end{sidewaystable} text text text \end{document}

Only top voted, non community-wiki answers of a minimum length are eligible