latex

recent posts related to 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:

Unix/Linux code to test whether “today” is a weekend day (or weekday)

If you ever need an example of a Unix/Linux shell script where you need to determine whether today is a weekend day, I can confirm that this code works:

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.