Tagged Questions
2
votes
1answer
80 views
Automatically add theorems to index and label them
In another question (Remove math from command parameter to get only the letters) this command was elaborated to have an optional argument for sorting purposes within the index
\documentclass{article}
...
5
votes
3answers
110 views
Remove math from command parameter to get only the letters
I use a little command, which prints new defined terms in bold, adds a label and adds them to the index.
\newcommand*{\defined}[1]{{\bf #1}\label{#1}\index{#1}}
Now if I do \defined{$G$-invariant} ...
14
votes
1answer
382 views
How to create my own ref label system?
I want to add a hyperlink to sections where a file is discussed. Additionally the usage should be added to the index. In principle this is very close to the label ref system.
A simple approach would ...
7
votes
1answer
89 views
Index for part of document
I have a document with hundreds of \index entries. I'm trying to generate the index for some part of the document.
The best I could come up with is to disable the \index command temporarily. I did it ...
5
votes
2answers
300 views
macro for custom indexing with conditionals and text recognition
I was unable to solve this by myself and by searching this wonderful site. The problem is with indexing. I still consider myself as a LaTeX newbie :)
The situation:
- I'm working on an english book ...
4
votes
2answers
249 views
Correct sorting of \index entries containing macros
I use \index in classical way, but also with some macros as content. More precisely, I have some macros like \def\foo{BAR}, and I use then \index{\foo}.
Unfortunately, the index is then order by the ...
12
votes
7answers
814 views
How to get the string with \
Apologized for my unclear description. I wish I could explain my problem more clearly.
In document, I wish I can just write something as
"how to use \cmd \mbox in xxx" or "what is \cmd minipage ...
3
votes
1answer
476 views
Redefining the \printindex command and changing it to a desired form
In book class, I want to redefine the \printindex command and change it to something like the following:
\addcontentsline{toc}{chapter}{Index}
\fancypagestyle{plain}{%
\fancyhf{} ...
17
votes
4answers
2k views
Command to uppercase the first letter of each word in a sentence
I'm writing a textboox in latex, and I have things like
\textit{some definition}\index{Some Definition}
all over the place. I'd like to combine them into something like
\define{some definition}
...