LaTeX forum ⇒ Text FormattingLandscape mode

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

Landscape mode

Postby thorpn » Sun Apr 07, 2013 12:28 pm

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 128 times

Tags:

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

Postby localghost » Sun Apr 07, 2013 12:46 pm

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
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1

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

Postby thorpn » Sun Apr 07, 2013 1:11 pm

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: 9204
Joined: Fri Feb 02, 2007 12:06 pm

Postby localghost » Tue Apr 09, 2013 5:16 pm

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 237 times
LaTeX Community Moderator
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes


¹ System: openSUSE 42.2 (Linux 4.4.52), TeX Live 2016 (vanilla), TeXworks 0.6.1


Return to “Text Formatting”

Who is online

Users browsing this forum: No registered users and 4 guests