# latex

recent posts related to LaTeX

All fonts available with XeTex and XeLaTeX alvin July 4, 2016 - 8:29pm

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.

LaTeX - Simple referencing is another reason to use LaTeX for requirements specifications alvin February 7, 2005 - 11:28am

I've written a lot of use case documents lately for software requirements specifications, and as use cases get more complex, I find the need for "sub use cases" or "alternate scenarios". When referring to these from the main use case (or anywhere else), it's nice to be able to use LaTeX's reference capability.

LaTeX line break - How to prevent line breaks in LaTeX documents alvin August 31, 2004 - 6:00am

LaTeX FAQ: How can I prevent line breaks from occurring in my LaTeX documents?

Another nice thing about LaTeX is that you can prevent line breaks between words that should not be broken, things like people's names. To prevent a line break from occurring, use the tilde character (~) instead of a space, like this:

Mr.~John~Doe


This keeps "Mr. John Doe" on the same line when your document is created.

LaTeX - What kinds of dashes and hyphens are available with LaTeX? alvin August 31, 2004 - 5:51am

LaTeX FAQ: What kinds of dashes and hyphens are available with LaTeX?

There are three types of dashes you can create with LaTeX:

LaTeX example - How to create margin notes with LaTeX alvin August 31, 2004 - 5:45am

The ability to create notes in the margin (also referred to as "margin notes" or "marginal notes") is a really nice/cool feature in LaTeX. In the words of Edward Tufte, it lets you keep your notes near your content, which is a good thing.

Creating the margin notes themselves is very easy. Here's how to create a margin note with the LaTeX \marginpar command:

\marginpar{This note will appear in the margin.}


LaTeX ellipsis example alvin August 30, 2004 - 6:06am

LaTeX question: How do I create an "ellipsis" with LaTeX?

Very simple, if not intuitive. Wherever you want the ellipsis to appear in your LaTeX document (LaTeX PDF or LaTeX HTML document) use the "ldots" command, like this:

\ldots