Questions tagged [collect]
`collect` is a package to store verbatim contents to a file.
13
questions
2
votes
3
answers
97
views
How to expand a newcommand where it is called?
I need to gather things that will be presented at the end of the document, as shown bellow
\documentclass{article}
\usepackage{collect}
\definecollection{somethings}
\newcommand{\collectthing}[1]{
...
0
votes
1
answer
176
views
How to reduce one counter
In the MWE below, the excoutP is added to store the value of excout.
How can we only use the counter excout?
\documentclass{article}
\usepackage{etoolbox}
\usepackage{xcolor}
\...
0
votes
1
answer
46
views
How to store current counter in collect file
I want to store the number of Exam in collect environment. The counter is alway store with final value. PLease help me correct my code with collect package. Thank you in advance!
\documentclass{...
0
votes
1
answer
33
views
How to prevent multi collection contents with pause command in beamer class
I want to store the solution of a problem with collect package. After some frames show the problem, the solutions are input by \includecollection command. When the problems' code contain \pause ...
2
votes
1
answer
75
views
Compile a part of an environment and collect the body
There are a question and a answer in an environment.
I typeset the question. Then typeset the question and the answer.
How can I do this. My file has over 100 questions.
\documentclass[12pt]{article}
\...
2
votes
1
answer
75
views
Expand two counters in collect package
I write a command to store the problem answer with the collect package.
Mr @egreg help me expand the problem number in the aux file. Now I meet another trouble with the answer. When the answer ...
1
vote
1
answer
42
views
Wrong number with collect package
I use the collect package to store the answer code.
When the Problem number is wrong when calling the \includecollection comment.
Please help me correct the below code.
\documentclass{article}
\...
5
votes
2
answers
181
views
Making the abstract text available as a macro
Is there an easy way to make the abstract's text available in a macro, say \theabstract? I can do this with the following code:
\documentclass{article}
\usepackage{collect}
\title{A test document}
\...
4
votes
1
answer
99
views
Is there a way to collect all content in a file with the same label?
So, I'm writing a study guide as a book class document, and at the end of each chapter I'd like to be able to print summaries/highlights. What I have in mind is to tag and then re-print tagged ...
2
votes
0
answers
27
views
Using the environment example from the collect package results in an error [duplicate]
I am writing a manual and I want to include tips and tricks trough out the chapters. A last chapter will collect all the tips and tricks that I included in the book.
So I found the package collect. It ...
1
vote
1
answer
719
views
How to combine article *.tex files into a book *.tex?
I am currently working on a book that collects several finished standalone *.tex articles. Each article has its own title, abstract, sections, etc. So simply using \include will unfortunately not work ...
8
votes
2
answers
357
views
How to store to-be-credited contributors for acknowledgment later in the appendix
In my thesis, I create numerous drawings using TikZ. In these drawings, I include pictures (e.g. icons of The Noun Project) using Creative Commons licenses. I thus have to acknowledge their authors.
...
2
votes
1
answer
464
views
Defining an environment using the collect package
I want to define an environment aufgabe which uses the collect* environment from the collect package. If I built a file like this (without a custom environment), everything is fine:
\documentclass{...