Text FormattingLandscape mode

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
thorpn
Posts: 53
Joined: Mon Jul 30, 2012 7:30 pm

Landscape mode

Post by thorpn »

I am creating a cheat sheet for Matlab, and using LaTeX i think i have done a pretty good job. But I need some help to force it down to two pages and keep th headers better alligned. Can anyone help me ? see minimum working example attached :)

Thanks! (it has to be two pages so it can fit at peoples/my desk)
Attachments
min workin.rar
Latex and pdf files
(90.66 KiB) Downloaded 251 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Landscape mode

Post by localghost »

I would start at several points to get the document more compact.
  • Smaller font size of 10pt. Since this is default, no special option for the class is needed.
  • Smaller margins (perhaps all down to 5mm, the necessary margins of most printers).
  • Option landscape for the document class instead of the lscape package.
  • No header and footer by option noheadfoot to geometry and empty page style.
In general you a should drop all packages that are not necessary for this document. A minimal example would have been a good start.


Thorsten
thorpn
Posts: 53
Joined: Mon Jul 30, 2012 7:30 pm

Re: Landscape mode

Post by thorpn »

Hi Thorsten,

Thanks it helped alot, i am using the smaller fonts and margins you suggested. Would you happen to know how i can get the headlines to behave in a similar way ? (some of them are placed above as they should be, some to the left of the text)

Thanks
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Landscape mode

Post by localghost »

The headings need another level with numbering turned off. But before I explain everything I modified, I just attach the source. You should study the manuals of the involved packages to get a deeper understanding of what they are for and what they do.

Next time please prepare a proper minimal example. There are lines in your code and input files (with settings) which are absolutely superfluous here. To find out what's necessary and what's not is actually your homework.
Attachments
Matlab-cheat-sheet.tex
(10.33 KiB) Downloaded 347 times
Post Reply