Tagged Questions
10
votes
3answers
131 views
\expandafter and counters not playing nicely
My google-fu has finally failed me...
I'm trying to write a package that will allow you say \addauthor{name, email} several times and have the title page properly formatted. Here is a minimal example ...
3
votes
1answer
125 views
Counters for use in array/tabular cells
The following practical example
\documentclass{article}
\usepackage{array}% http://ctan.org/pkg/array
\newcounter{tabcol}\newcounter{tabrow}
\newcolumntype{C}{>{\stepcounter{tabcol}}c}
...
6
votes
1answer
177 views
Checking if is Appendix or Chapter
How can i check if the value in \thechapter or \value{chapter} is a letter or a number?
That way i could identify if the counter is referring to a normal Chapter or an Appendix.
2
votes
1answer
175 views
How to compare two counters using TeX conditionals in ConTeXt?
I have two counters, \definenumber[words] and \definenumber[items]. I have tried to use TeX conditionals to compare them, e.g.:
\ifnum\getnumber[words]=\getnumber[items]
This will print some text ...
2
votes
1answer
275 views
Should this combination of counters and \ifnum conditions work or does it need modification? Is there a better way?
I'm producing the final product of my thesis with LaTeX. I'm having trouble with the front matter of my thesis, specifically with getting LaTeX to recognize that if the front matter stops at a certain ...
3
votes
3answers
237 views
Show “Page X of Y” only if there are multiple pages?
I'm trying to add a line in the header to be "Page X of Y", but only if there are multiple pages. My main problem is how to format the if statement. So far I have
\ifx \pageref{LastPage} 1
...
8
votes
2answers
241 views
French chapter numbers
This question led to a new feature in a package:
impnattypo
French typography recommends that chapters be numbered in uppercase roman numbers, except for chapter 1 which should be called ...
17
votes
2answers
659 views
Check if an entry is cited multiple times
I am trying to find out whether it is currently possible to have a test in Biblatex that tests at the very first time an entry is cited whether the same entry will be cited more than once in the ...
4
votes
1answer
336 views
Booleans fail in tabular environment
I've got a workaround for this problem, but maybe someone knows a cleaner way to fix it. I'm using the standard packages in TexLive 2009.
Here's the code that doesn't work:
\documentclass{article}
...