{texdef} is a tool for displaying the definitions of TeX commands.

learn more… | top users | synonyms

6
votes
1answer
40 views

How to return \count value from \def

I wrote a macro which calculate remainder : \def\remainder#1#2 {% \newcount\dividendcount \dividendcount=#1 \newcount\quotientcount \quotientcount=#1 \divide\quotientcount #2 ...
0
votes
1answer
59 views

\maketitle definition on article

I am searching for the definition of \maketitle in the article class. I searched on CTAN but there is a lot of files. I don’t know in which one I can find this definition.
4
votes
1answer
181 views

Undefined Control Sequence section

I'm new to using LaTeX and I'm using someone else's template. I don't know but I keep getting Undefined Control Sequence error. I would really appreciate if someone could help me out in figuring out ...
12
votes
3answers
407 views

Click on macro name to jump to its definition?

Encouraged by a super response to my previous question on a similar topic, I shall persevere with a similar line of inquiry. I think it would be super if, in my LaTeX editor, I could click on a macro ...
4
votes
1answer
137 views

How to change an environment into newcommand?

Suppose that I want to create a new command named step, which functionally add Step 1., Step 2., and so on in the proof. This can be done by: \newcounter{stepnum} ...
11
votes
1answer
230 views

What are the TeX definitions for the hyphen and dashes -, --, and ---?

I've tried latexdef which does not handle --- as the operand. And \texemdash is defined as a character. So that leaves me once again leaning on the collective wisdom of the group :)
14
votes
4answers
473 views

LaTeX, package documentation look-up

I am on OS X (10.6 Snow Leopard) using TeXLive-2011 to typeset a simple .tex file I am editing in Vim and trying to learn. My problem is: how do I... gradually learn about what TeX can do for me get ...
1
vote
2answers
161 views

Bug with texdef (currfile) in frozen TexLive 2011

To keep in line with the Q&A format: I am on Ubuntu Lucid, with the frozen TexLive 2011, from where I installed texdef. Unfortunately, when I ran one of the examples from the help (and I ...
11
votes
2answers
241 views

How can texdef be made to return indented definitions?

With texdef it is easy to find definitions for (La)TeX commands. It can show what a definition for a given command is. For instance if I issue texdef -t latex \LaTeX I get the following definitions: ...
13
votes
2answers
201 views

Can texdef be forced to show the full definition for environments?

When using texdef to learn the definitions of environments sometimes not all the relevant lines are shown. I guess this has do with how the definitions are written. It seems that when environments are ...
7
votes
2answers
121 views

Can I get the line number for a definition from texdef?

With texdef it is easy to find definitions for (La)TeX commands. It can show what a definition for a given command is and also in what file it is to be found. Sometimes it would be convenient to also ...