0
votes
1answer
42 views

Changing the format of figure, algorithm and equation numbering [duplicate]

This is a follow-up to this question. That allowed me to format references to an equation/figure/algorithm so that they started with an 'S'. What if I want to change the format in the original ...
5
votes
2answers
66 views

How to create multicolumns list environment with the package 'enumerate'?

Let us consider The following example \documentclass{article} \usepackage{enumerate} \begin{document} \begin{enumerate} \item Which of the following numbers is the largest ?\\ ...
6
votes
1answer
74 views

section numbering format

I am trying to format a legal document so that it follows this format. Article 1. 1.01 First section bla bla bla 1.02 Second section bla bla bla etcetera. I tried using this to get ...
1
vote
1answer
99 views

Typeset a number in hexdecimal format (preferably math mode)

Is there a macro for formatting numbers in programming style 0x hex notation, e.g. instead of -1155484576 have 0xbb20b460. I would like to embed these numbers in a math mode context. E.g. if I just ...
2
votes
2answers
77 views

How to remove the chapter number from section number? [duplicate]

I use Roman for Chapter numbers, and I don't want sections to be numbered as VIII.2 (while I still want sections to be numbered within chapters). How do I do that? i.e. instead of VIII.2 sections ...
3
votes
1answer
132 views

Formatting labels of chapters and sections

I'm just starting with this amazing world of LaTeX. I'm wondering how to set the format of a document (with some stuff centered and sections with no relative numbering) I'm trying with the titlesec ...
1
vote
1answer
100 views

How to change the question number from just '1' to 'Question No. 1.' in the exam class?

I needed to type something like this: But wanted to change the 'numbering' to 'Question No. x.' from just 'x.' How should I go about doing that? An alternative solution is also welcome if what ...
8
votes
3answers
178 views

How can I number the references in a bibliography irrespective of their order of appearance in a document?

I'm putting together a linguistics bibliography using lsalike.bib and lsalike.sty. I'm generating it by using \nocite{*} and would like the references to be numbered (but kept in the usual order). ...
4
votes
1answer
55 views

Double index in the same documents

I have a question about a problem that I am facing. I have a document composed by two different and independent parts in two where the second parts refers to just some elements of the first one. Both ...
3
votes
1answer
306 views

Change separator between caption label and number

I've tried to accomplish this for some time with the caption package, but with no result. What I want to do is change the following: Figure 1: text into Figure-1: text I.e. replace the space with ...
4
votes
2answers
170 views

Changing the style of a single section

I'm trying to change the format of a single section in my document. The section is the introduction of my document, and therefore, I don't want it to be numbered. I tried to define a new command ...
2
votes
1answer
287 views

Trouble with the showkeys package

I am using showkeys package in LaTeX so my labels inside \[ \] math statements show up. Usually \[ \] does not show any numbering, I both want to use \[ \], and numbering, this was the only solution ...
5
votes
1answer
155 views

Shortened page-ranges from \pageref

In some typographic conventions page-ranges are shortened to save space, e.g. writing "1234-35" or even "1234-5" instead of "1234-1235". I would like to have a \pageref{foo}--\pageref{bar} ...
11
votes
3answers
1k views

Footnote number in braces / parentheses

I have written my dissertation with LaTeX, but my teacher has suggested to put the number of footnotes in braces / parentheses. I thought it would be easy, but I haven't found the answer anywhere! I ...
8
votes
4answers
686 views

How can I automatically abbreviate page ranges in citations (biblatex)

I am using biblatex for my citations, and I was wondering if there was a way to automatically abbreviate the page ranges in citations. (The reason I ask is because I have them all in long-style, and I ...
8
votes
1answer
461 views

Changing the format of ordinal numbers (\the…) and related strings

I develop a package that improves LaTeX support for the Latvian language. One of the things I have here is different style used for things like Chapter 1, Theorem 1.1 etc. First, the phrase is written ...
25
votes
3answers
1k views

How to typeset large numbers

I need to typeset some very large numbers that span a number of lines, is there a way in LaTeX to do this?
21
votes
5answers
5k views

How to display numbers using comma as a thousands separator?

I want numbers like 5.5 million to be displayed using a comma as a thousands separator as "5,500,000". Is there a way to do this automatically, without having to manually put commas?
9
votes
1answer
817 views

Changing number format in ToC

I'm using the tocloft package to alter the looks of my table of contents, but there's one thing I can't find in the documentation: splitting the number by level, to insert other delimiters than ".". ...
72
votes
5answers
10k views

What's the quickest way to write “2nd” “3rd” etc in LaTeX?

If I want to use abbreviations for second, third and so on in my LaTeX documents, I am currently doing this: 2$^{nd}$ which seems unsatisfactory. Is there a macro I'm missing? I'm sure I could define ...
8
votes
2answers
664 views

Changing the font for equation numbering

I know that I can change the font for the equation numbers by redefining the \theequation command by, say, \renewcommand{\theequation}{{\sffamily\arabic{equation}}} I am wondering if there's a ...