15

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" ...

1

1 Answer 1

18

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .