Tagged Questions
4
votes
1answer
139 views
Multiple caption names for listings code (lstinputlisting) based on type of code
In my document I have used:
\renewcommand\lstlistingname{Algorithm}
\renewcommand\lstlistlistingname{Algorithms}
to rename my lstlistings titles.
The problem is that now I want to add a different ...
7
votes
2answers
98 views
How to add an environment in the table of contents?
For example, if I use amsbook document class and have the section Problems, how to include problem environments created like:
\documentclass[a4paper,12pt, reqno, oneside]{amsbook}
...
6
votes
1answer
114 views
A list of all the labelled sentences
I keep adding a class of sentences in different areas of my tex:
\section{...}
...
sentence1
...
\subsection{...}
...
sentence2
...
\section{...}
...
sentence3
...
I would like to make a add ...
5
votes
1answer
125 views
write contents of an environment to document and toc
I want to write the contents of an environment to the document and the toc. Here's a MWE hacked to look (almost) like what I need.
\documentclass[pdftex,12pt]{book}
\usepackage{hyperref}
...
2
votes
2answers
251 views
Custom list of environments (per section)
I'd like to have a list of my custom environments at the start of each section. I read this post, but wasn't able to get the titletoc to help me. The given response worked for floats, but I couldn't ...
6
votes
2answers
298 views
Generating lists of custom environment.
I've created my own environment example, similar to theorem. Now I want to generate a list of examples, similar to list of tables or list of figures. How can I achieve this?
6
votes
3answers
744 views
Number mhchem reactions and create a \listofreactions
Is there a way to create an environment for reactions defined with mhchem that behaves similarly to equation in terms of numbering the reactions (including a \nonumber command)? Can I get a list of ...