TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

The title says it all. I'd like to know what \@car does. I came across it reading through the source of the hyperref package, but it doesn't seem it's defined as part of the package. I tried Google, but there is the sub-string "car" ...

share|improve this question
up vote 17 down vote accepted

In LISP, it returns the first element of a list or a pair. In LaTeX, its definition is \def\@car#1#2\@nil{#1} (defined right before \def\@cdr#1#2\@nil{#2}), and it is defined in LaTeX core (latex.ltx).

The origins of the word come from the architecture of some early IBM computers.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.