To conserve screen space while editing it would be nice to compile without margins when still working on a paper. Is there any way to accomplish that?

  • 4
    You can probably set the margins with the geometry package (tex.stackexchange.com/questions/46175), and remove that setting when you're done. Commented Aug 30, 2017 at 16:22
  • @TorbjørnT. Can you please post that as an answer so that I can accept it?
    – Elias
    Commented Aug 31, 2017 at 13:02
  • @StevenB.Segletes I asked a different question but wanted the same but learned from the reply that I was trying to solve the wrong problem.
    – Elias
    Commented Aug 31, 2017 at 13:03
  • We might as well close as duplicate then, if that's OK with you. Commented Aug 31, 2017 at 13:19

1 Answer 1


I would do different as Torbjørn T. suggested above. In fact, I have done this often enough for printing other's papers to increase the font size.

The pdfcrop executable removes all the margin. You only need to take care for page numbering and other elements in the margins, but you can turn that off in your preamble.

I suspect, the result will look ugly, but --margin option to pdfcrop might help a but. You might want to go as far as developing a whole new "web" version. Someone I know kept the margin and all the formatting, but turned the twopage option off.

  • 1
    Well, is this faster to compile first and then use another executable to remove the margins after?
    – user31729
    Commented Aug 30, 2017 at 19:01
  • Nope, it ain't. But the question was about cropping margins, which my suggestion does. Commented Aug 31, 2017 at 19:57

Not the answer you're looking for? Browse other questions tagged .