# latex

## How to control LaTeX titlepage top margin spacing

As a brief note to self, when you need to control spacing at the top of the title page (titlepage) in a LaTeX document, use the \vspace command, as shown in this example:

MacOS, Pandoc, PDFs, and MacTex alvin May 13, 2017 - 6:53pm

Note to self: When trying to use Pandoc to create a PDF on MacOS, you need to install MacTex separately. Install everything, because it will make things much easier later.

## All fonts available with XeTex and XeLaTeX

To generate a list of all fonts available available with XeTex and XeLaTeX, use this command at your Unix command line:

fc-list : family

I found that command at this tex.stackexchange.com URL.

That command may also work with Windows, but I don’t have a Windows system to test with. Note that it took a little while to run the first time, then it returns almost instantly after that.

MacTex LaTeX installation path on macOS (pdflatex not found) alvin July 3, 2016 - 4:54pm

If you use MacTex to install pdflatex and all other LaTeX commands, as of mid-2016, the MacTex installation path is:

/usr/texbin

This means that the pdftex and pdflatex commands will be at /usr/texbin/pdflatex, and so on.