letter paper format with latex

The default seems to be A4. Various ways to change this to letter:

Directly in the document (if converting to pdf) (not tested)


In Unix, for all documents (not tested)

sudo texconfig-sys paper letter

In Windows, for all documents
With TeXlive, we can use texlive manager (run as administrator) and choose letter for all documents, under the configuration tab.