1
vote
2answers
34 views

How do I number sections by parts? [duplicate]

I guess the title says it all. I want my sections numbered according to the Part I am currently in. For example, if I am working in Part 3, then I want my section to be numbered by 'Section 3.1', ...
2
votes
1answer
79 views

Formatting: Numbering paragraphs of sections

I have some problems in writing an article with inequalities. What I want to say: Now, it appears as Cauchy's Inequality 1. Introduction 2. Theorem Bernoulli's Inequality 3. Introduction 4. ...
4
votes
1answer
63 views

thmbox with normal font and section numbering

How can i use "normal font" for definitions and "italic" for remarks (and similar environments like them) in thmbox environment declaring some commands. Also i need numbering as "section" or ...
2
votes
2answers
804 views

Numbering paragraphs in latex

I would like to number paragraphs for a covering report I am writing. Paragraphs should increment and not reset with new sections. The text should not be bold. Here is what I have tried \makeatletter ...
4
votes
1answer
122 views

Section title coloring code makes Table of content numbered

I was looking for a way to have a colorbox as background of section titles. The following answer that I got on this thread was succesful in doing just that. But it has a side effect that is rather ...
6
votes
2answers
291 views

Changing the formatting of equation numbers

How can I change equation numbering so that the chapter number is outside the parenthesis like this: 1(1) instead of (1.1)
0
votes
1answer
142 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 ...
6
votes
2answers
113 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
637 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 ...
3
votes
1answer
713 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
187 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
233 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
188 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
339 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
66 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
679 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
350 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 ...
3
votes
1answer
436 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
199 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
2k 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
968 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
530 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 ...
31
votes
3answers
2k 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?
24
votes
5answers
8k 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?
10
votes
1answer
1k 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 ".". ...
98
votes
6answers
24k 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 ...
9
votes
2answers
820 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 ...