Tag Info

Hot answers tagged

75

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 ...


20

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


20

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 ...


15

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 ...


13

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 ...


13

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 ...


11

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.


11

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 ...


11

\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.....


10

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

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 ...


10

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 [* ...


10

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 ...


10

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 ...


10

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 ...


10

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}


10

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 ...


9

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.


9

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 ...


9

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} ...


9

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.} ...


9

\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.


9

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} ...


8

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 ...


8

For this purpose it seems better to use the sidewaysfigure environment from the rotating package. \documentclass[11pt]{article} \usepackage[T1]{fontenc} \usepackage{rotating} \begin{document} \begin{sidewaysfigure} \centering \rule{6.4in}{3.6in} \caption{Dummy figure}\label{fig:dummy} \end{sidewaysfigure} \end{document} It will always ...


8

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


8

You should be able to do this using the rotating package's sidewaystable environment: \documentclass[twocolumn]{article} \usepackage{rotating} \usepackage{booktabs} \usepackage{array} \usepackage{caption} \usepackage{kantlipsum} % for dummy text \begin{document} \begin{sidewaystable} \centering \begin{tabular}{*{22}{c}} \toprule A & B & C & D ...


7

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 ...


7

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 ...


7

This seems to work for your example \begin{document} \begin{landscape} \tiny \setlength\LTleft{0pt} \setlength\LTright{0pt} \begin{longtable}{@{\extracolsep{\fill}}|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|c|@{}} \hline



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