16
votes
4answers
301 views

How to define a command that bolds the first letter of each word in the input argument?

I want to define a command that takes a sentence, a word or several words as input and bolds the first letter of each word. I need this mostly for abbreviations and so far I have done it manually in ...
7
votes
1answer
198 views

Acronyms without double dots using glossaries

I want to typeset my acronyms with abbreviating dots with, for instance, P.C.A. standing for principal component analysis and use macros for them. This question provides a trick to avoid double dots ...
1
vote
1answer
222 views

Template a Cover letter using macros?

I'd like to create a cover letter where I can insert the company name, and various other consistent pieces of information as a macro to be expanded when the document is compiled. I'm very new to ...
23
votes
3answers
453 views

Is it possible to define an acronym-command which behaves differently on the first invocation than on the rest?

Most technical writers will immediately see how I'd like to use this. I'm writing a paper about something I'll call That Which Will Be Abbreviated (TWWBA). I'd like to have a macro, \TWWBA{}, that ...
1
vote
0answers
290 views

Macros for et al, e.g., i.e., etc. [duplicate]

Possible Duplicate: Macros for common abbreviations Hi, Taking et al. as an example, is it possible to make a one-shot macro like \etal that can actually handle all possible cases where ...
28
votes
2answers
1k views

Macros for common abbreviations

Common abbreviations are surprisingly tricky to format correctly. I'd like some simple macros for them, to be used like so: You should eat more fruit, \eg apples, bananas, oranges, \etc. There are ...
6
votes
2answers
588 views

Macro for typesetting acronyms

All-caps acronyms and brand names like IBM look better when typeset a little smaller than usual. My simple solution is the following macro: \def\<#1>{{\small #1}} It's used like here ...