{counters} is about macro writing involving counters. For general questions about numbering document elements, use {numbering}.
2
votes
0answers
178 views
Using psfrag with LaTeX counters (insert counter number directly in eps figure)?
I am writing an organic chemistry dissertation using (pdf)LaTeX. The content of the thesis contains a large amount of numbered chemical structures. The chemical structure drawings were generated using ...
2
votes
0answers
156 views
Lyx incorrect figure numbering [closed]
Just a quick question. I am currently working on writing my thesis. I have many figures and I want the numbering to be something like 4.1 or 5.3. Where the first number is my section number and the ...
1
vote
1answer
109 views
Adding half points/marks to question counter
I would like to be able to add half marks to my questions, but I don't know how to handle these with\stepcounter. Below is part of my style file, please could you help? I essentially want to say ...
1
vote
1answer
304 views
Refering to the same (alphabetically “numbered”) footnote more than once
Following my previous post concerning the change of numbering in footnote to temporally be alphabetical, I'm trying to merge this with the possibility to refer various time to the same footnote as ...
1
vote
2answers
135 views
How to make additional paragraph commands that use sectioning counters?
I would like to be able to use the following additional (new) commands: \sparagraph, \ssparagraph, \sssparagraph. All of these will use the \paragraph formatting but, will use different counters. The ...
1
vote
1answer
196 views
Defining repeated tabular/array columns using a computed value to specify the number
Background:
I just recently saw that one could define multiple columns in a tabular or array using the syntax:
*{num}{<align>}
So, for example \begin{tabular}{r*{3}{l}r} is the identical to ...
1
vote
1answer
43 views
Alternative numbering for theorem
I am using thmtools as a front end to amsthm and I have a definition environment as follows.
\declaretheorem[
style=mydefinitionstyle,
name=Definition,
numberwithin=chapter
]{definition}
...
1
vote
1answer
90 views
Counter linked to section and subsection [duplicate]
Possible Duplicate:
Resetting theorem counters: \sections and (missing) \subsections
I create a new counter as follow :
\newcounter{question}[section]
Thus at each new section ...
1
vote
1answer
284 views
How to create a new counter for an a new environment that is in sync with subsections
I want to create an example environment with a counter which will be in sync with my subsections. So I'll have:
subsection 3.2
lemma 3.2
example 3.2
example 3.3
lemma 3.3
subsection ...
1
vote
2answers
396 views
Extract document statistics? - How many pages has chapter xy? Count fixmes?
I have a large pdflatex document where each chapter is located in an extra text file and included with \include{chapter3.tex} ...
How can I extract the page numbers of each chapter and write them ...
1
vote
1answer
117 views
Define new section
I have this document in the article documentclass. Everything is divided into sections and subsections. Now I'd like to have an example in my chapter two, that is also divided into sections. So I have ...
1
vote
1answer
440 views
How to avoid beamer counter incrementing
In Latex beamer, I've created a handout environment for slides that are for the produced handout only (ie. not to be shown on the viewer). It looks like this:
\newenvironment{handout}[2][1]{
...
1
vote
1answer
66 views
Completely disable automatic incrementing of section and subsection counters?
I'm using LaTeX as a final build step from a specific legal source (a code of laws) that already has numbering - which is not entirely logical. So, the auto-stepping section & subsection numbering ...
1
vote
1answer
31 views
How to implement two figure counters with proper hyperlinks in hyperref in latex?
I want to typeset a book with a quiz in it. I want to have two types of figures:
text figures: These are indexed i, ii (roman)
quiz figures: These figures are related to the quiz, and should have ...
1
vote
1answer
64 views
How can I change the counters of tables in the appendices? [duplicate]
I have multiple appendices and in some appendices I have tables. What I want is that each appendix itself has a letter as a number (e.g. Appendix A: title). A second thing that I want to achieve is ...
1
vote
1answer
177 views
Display counters only if it is used at least two times
In this page, I've found one way to display one counter only if it is used at least two times.
The problem with this solution is that it doesn't work with two counters. Is there a way to allow this ...
1
vote
1answer
200 views
Problems using \def commands inside an environment
In trying to build the commands \sol and \solutions to use them inside the exercises environment. The commands must work in this way:
\begin{exercises}
\exer text for exercise 1\sol{solutionA}
...
1
vote
0answers
20 views
enumitem-shortlabels: How to change the counter of items? [duplicate]
I use the enumitem package with shortlabels.
\usepackage[shortlabels]{enumitem}
Now I've got
\begin{enumerate}[(L 1)]
\item blablabla
\item blablabla
\end{enumerate}
and it goes like ...
1
vote
0answers
38 views
Counter too large if number of alphabet chapters is more that 26 [duplicate]
Possible Duplicate:
Error: Counter too large! with \alph{cntr} and cntr>26
I need Alphabetic numeration of my chapters.
But if they are more than 26 LaTeX gives an error message.
How I ...
1
vote
0answers
88 views
Resetting a macro counter to 0 [closed]
I have a macro that is disabled after one use. The worksheet works fine until I need to clean the entire sheet and reuse it the next week. How do I reset the macro counter to zero so that I can use ...
0
votes
1answer
54 views
Creating and using commands/counters which name depends on other counter
I would like to know how can I use a counter for defining other new counters.
Something like this:
\newcounter{foo}
\stepcounter{foo}
%% Perhaps more increments, this depends of the user.
%% And ...
0
votes
1answer
198 views
Counting letters inside paragraph
I am trying to make a new command \part which is defined such that each time I type
\part the output equals
\paragraph*(letter)
where letter is bold. So, with typing the letter manualy in, the ...
0
votes
1answer
380 views
0
votes
0answers
38 views
TeX, LaTeX capabilities in counting occurrences in text of chars defined in a given list
I am asking this question in part because I am not completely aware of TeX, LaTeX capabilities. Imagine that I want to count the number occurrences of charecters defined in a certain list. The usage ...
0
votes
0answers
70 views
Counting and Displaying number of views of the pdf file, using pdfLaTeX [closed]
I am looking for a method that can keep track of how many times a PDF file is viewed and display the information in the PDF file itself.
Ex. suppose the file is viewed for the first time (the system ...
0
votes
0answers
38 views
Figure counter and figure label issues [duplicate]
i ve got an issue with Figure counting and, i think, labeling. Though I set the counter for figures at 0, my first figure, that I d like to have counted as 'Fig.1' and that is labeled as ...
0
votes
0answers
132 views
beamer Boadilla ToC, total slide count [closed]
I have a strange problem.
I have a very simple presentation in beamer using the Boadilla theme.
The slide/total slides feature is nice; however, the total slide counter is not working (always shows ...
0
votes
1answer
355 views
How can I set the table counter?
I've got my little examples env with
\newlist{examples}{enumerate}{1}
\setlist[examples]{label=(\arabic*), ref=\arabic*, resume}
How do I use the same counter for the ...
0
votes
0answers
40 views
How to unbind counter from its master? [duplicate]
Possible Duplicate:
What is the proper method of accessing a counter?
Continuous v. per-chapter/section numbering of figures, tables, and other document elements
I'm using the book class, ...
0
votes
0answers
237 views
Error with \setcounter [closed]
please look at this:
\setcounter
{MaxMatrixCols}{10} \setlength{\textheight}{20 true cm}
! LaTeX Error: Option clash for package geometry.
i am using a custom class, it ...
0
votes
0answers
484 views
Counter too large [closed]
I get the error Counter too large while citing something using \footfullcite{}with biblatex.
I tried googling a bit and i found some website saying this is because there are only 9 superscript ...
0
votes
0answers
285 views
how do I refer back to counters? [duplicate]
Possible Duplicate:
How do I repeat a theorem number?
I want to set up a simple macro that would do the following:
It would be very similar to \label{XX}, (say, \relabel{XX}) only instead ...
-1
votes
1answer
446 views
restating a theorem using theomac.sty
I am trying to restate a theorem environment using theomac.sty which floats around, following a suggestion I received here:
how do I refer back to counters?
The package I downloaded loads well, but ...
