0
votes
1answer
43 views

All figures at end of section (or Chapter) but in the order they were cited in the text

I've been trying to do this for so long, it would make my life so much easier. I have a *.tex file containing all the details of the figures in a chapter (but not necessarily in the right order), ...
2
votes
2answers
78 views

Subsection label appearing within text

I have a document in "book" format (strictly speaking, in an environment defined by the book publisher I am using, the details of which are way beyond my comprehension), and I very much want to have ...
5
votes
1answer
35 views

Split the reference counter for any numbered item (like with subequations)

Not sure how to otherwise formulate this: in the MWE below, I can use {subequations} from amsmath, so I get two equations with the same equation number, and "a" and "b" added instead - and I can refer ...
10
votes
2answers
105 views

Automate the description of the paper

Most or all papers have a final paragraph in the introduction that describes the sections that are present. I'd like to generate it automatically, I guess this should be possible because it is mostly ...
3
votes
2answers
119 views

Excluding subsection from ToC and keep the references

I need to remove my subsection from ToC. I got that part right without any problems by using this link. Thanks! But I am unable to use \ref{"label from my subsection"} for the selected subsection I ...
6
votes
3answers
121 views

Protecting references in section headings from capitalization

I am using the ACM SIG alternate style, which automatically converts all section titles to upper case. I would like to include a reference in one of the section titles (Proof of Lemma X). The obvious ...
1
vote
1answer
86 views

How to create inner section like environment with sub-table of contents?

Is there an easy way to create a inner section like environment that can produce a sub-table of contents at a preferred location? The sub-table does not necessarily need to give page numbers, but it ...
7
votes
2answers
70 views

Reference-able custom section numbering

I am writing some lecture notes from a class that I have on Monday, Wednesday, and Friday. What I would like to do is organize them by sections defined by the week and the day, e.g. 1M, 1W, 1F, 2M, ...
7
votes
2answers
103 views

Cross-reference to the next section, whatever it is

Some sections of my document start with a remark such as the following: "This section may be omitted at the first reading." I'd like to add to this text a (hypertext) reference to the next section ...
6
votes
1answer
121 views

\eqref inside \section

Consider the following example: \documentclass{article} \usepackage{amsmath} \usepackage{hyperref} \begin{document} \begin{align} \label{func1a} U(X,Y) &= 2X + 5Y,\\ \label{func1b} ...
4
votes
0answers
43 views

Reference non-included chapters in large document

I have a large document that contains many different chapters which reference each other. The body of the main latex file looks something like: \maketitle \tableofcontents \include{chapter1} ...
6
votes
1answer
192 views

How to get the current chapter* name, section* name, subsection* name, etc?

I came across this answer which claims that it works even with the starred version of \chapter et al. The following example shows that it does not, because \...mark macros are not called. Is there a ...
1
vote
0answers
140 views

All \ref{} to an equation refer to the section, not to the labeled equation [closed]

I am writing a document in LaTeX using TeXShop on OS X Mavericks. My .tex file looks like this: \documentclass[11pt,titlepage]{article} ...
6
votes
2answers
155 views

Putting labels inside section headings

I usually work with LyX, and when I want to label a section (in order to reference it later), I put the label inside the section heading. This usually works, but recently I tried to create an article ...
3
votes
2answers
112 views

how to link previous section

I have a document with multiple sections and a clickable TOC. I belive the TOC to be created by the following command in a package that I use. \tableofcontents As I wanted the TOC to be ...
3
votes
1answer
301 views

Remove period when cross-referencing a section

I'm writing a paper for an IET conference, and they have provided the latex class ecoc02 for formatting. In this format Sections appear with a period after the number: Introduction but when I ...
5
votes
2answers
142 views

`xr` - temporarily redefine `\label` for exporting section counter to sister document?

The goal My objective is to have continuous page (and possibly section) counters for several independent documents. The purpose is a cumulative dissertation where each paper should retain the ...
2
votes
1answer
125 views

\nameref breaks for star versions of section/paragraph when titlesec is loaded

\nameref breaks for the star versions of section, paragraph when titlesec is loaded. I have a document that numbers paragraphs by default, but I have a few I do not want to number but would like to ...
1
vote
1answer
73 views

Floats: Figure labels matching the section they are in

When I label my figures, they are labelled Figure 1, Figure 2, ... How can I have the labelling match the section it comes from? That is, if Figure 2 is in section 3, it will be labelled Figure 3.1. ...
3
votes
1answer
313 views

change only display of \thesubsection not the actual value

MWE: \documentclass{memoir} \usepackage[english]{babel} \usepackage{varioref} \usepackage{cleveref} \renewcommand*{\thesubsection}{\Alph{subsection}.} \setsecnumdepth{subsection} \begin{document} ...
4
votes
1answer
97 views

Hidden subsection 0

I'd like to have an intro to a section 3 that would be referenced in the text as section 3.0. It should be a hidden subsection (before the first real subsection) that doesn't have a section header nor ...
0
votes
0answers
59 views

Creating subsubsubsection and using \ref and \label (+hyperref) [duplicate]

I'm writing on my thesis and need more levels of sections. This seems to be not a rare problem. So, after some search on the web i defined my custom deeper sections in terms of the following code. ...
4
votes
1answer
123 views

Bad cross-reference using titlesec

When I define two new level using titlesec, the reference doesn't work correctly. This is an example: \documentclass{article} \usepackage{titlesec} % First level ...
7
votes
1answer
341 views

Numbering of subsections and paragraphs

I have a document style for a report which I'm having to copy to LaTeX format. I'm using pdfLaTeX, for information. In essence, the system is that paragraphs are on the same level as subsections, ...
5
votes
1answer
115 views

How can I add a section reference to equation labels in an unnumbered section?

I have an unnumered section in a document, defining notation for the further contents. Since it's unnumbered, the equations within are labelled: '(1)', etc. For example: \documentclass[12pt]{book} ...
3
votes
1answer
162 views

Reference to section where is label

I have these equations with one label: \section{This is super math section} \begin{eqnarray} c + d \\ \label{eq:eq2} a + b \end{eqnarray} But how to do if I want get the section number where is the ...
8
votes
2answers
601 views

Smartly omit chapter number in equation numbering

In my thesis I use chapters, sections and subsection. I like to have my equations numbered with respect to section, but I want the displayed equations numbers not to include the chapter number. ...
7
votes
1answer
303 views

Nomencl Reference Section Number

I'm writing a PhD thesis that includes many similar symbols. Therefore, I'd like to list in the nomenclature the section number at which each symbol is initially using (and therefore defined in the ...
4
votes
1answer
241 views

Cross reference in section title broken in header [duplicate]

I've tried searching and can't find this anywhere, but sorry if it's been asked before. I'm using the memoir class to write a thesis using LaTeX (which I'm fairly new to) and I've got a section in my ...
10
votes
1answer
90 views

Including section multiple times

I have a few sections of content I want repeated in multiple chapters. When I include it twice it looks fine in the document but references within that section always go to the section that is ...
4
votes
1answer
323 views

How to \label emails in appendix?

I would like to include ~20 emails in the appendix section of an article, so I in the article can e.g. write "...according to \ref{email1}". If I put each email in a subsection, then I have to find a ...
5
votes
2answers
279 views

Numbering of subsubsections: “A.” in number, “1.1.1.A” in references

I'm quite new to Latex and I'd like to achieve the following thing. I want my document to have the following numbering structure: 1. chapter 1.1 section 1.1.1 subsection A. subsubsection. (In ...
4
votes
1answer
223 views

References with section and subsection name?

I declare sections and subsections as such in my document: \section{1} \label{sec:1} \subsection{a} \label{sec:1a} These are formatted using the titlesec package to display "Problem 1" and "Part ...
11
votes
2answers
635 views

Can I re-use section labels across chapters?

I'm formatting a long document with many chapters. Most chapters contain some generic sections (e.g. "Introduction," "Results," ...) and most of them are already labeled accordingly (e.g. ...
6
votes
4answers
279 views

cleveref: configure symbol §/§§ for all sectioning types once time

I want to configure the section symbol § (singular and plural form §§) indistinctly for all types of sections (part, chapter, section, subsection, paragraph and so on). I use the cleveref package, but ...
6
votes
1answer
135 views

Cross reference of a section that doesn't have a section number

I was using ACM CHI latex template in which sections do not have section numbers. For example: BACKGROUND SubBackground SubSubBackground Now I want to cross reference, but I don't ...
5
votes
4answers
770 views

How to \label-\ref an un-numbered section

I'm trying to 'reference' the \section*{Introduction} of my article. I can quite easily reference the \section{InsertSectionName} with a \label{} and a \ref{} (taking this as my definition of ...
21
votes
3answers
5k views

how to get the current chapter name, section name, subsection name, etc?

How can one get the current name of the following: Chapter, Section, Subsection(s), frame, label, mdframed?
13
votes
2answers
1k views

“Automatic” section labeling?

I would like to be able to link within a document to another section without having to explicitly put a label after that other section command. hyperref does this with the TOC labels, so I think that ...
5
votes
2answers
270 views

The numbering of and references to the subsections of a given section should only use subsection numbers

I have an article with multiple sections. Say Section 1 and Section 2, with subsections for each. But I want one section, say Section 2 here, to be treated specially. This question has two parts. ...
6
votes
2answers
4k views

How do I reference an appendix when it is defined with \chapter*?

I have a problem with the reference of an annex. In the main .tex file I put %... couple of lines before this \include{ThesisChapter4} % \include{ThesisAppendixA} % Appendix A and in Appendix A I ...
2
votes
1answer
160 views

How to cross reference a section and item in a list in single document?

I want to cross reference sections as well as some items in the list in my document. for ex: \label helps us to cross reference the sections. If we renew the command to provide the cross reference for ...
1
vote
2answers
1k views

Chapter reference not displaying

I am involved in a writing a large document with a co-author who set up the LaTex files that we're using (i.e., I don't have complete autonomy in what I change). We have a root file which does two ...
4
votes
1answer
1k views

Reference to an unnumbered section

I am writing a thesis with document class report and I am using hyperref. My structure is the following: \chapter{First chapter} \section{First section} \subsection{First sub section} ...
8
votes
1answer
517 views

Sectioning command that automatically creates label

I'm trying to define a custom section command that will also define a corresponding label after a bit of preparsing. Specifically, I want the command to define a section with the given name, and then ...
10
votes
3answers
629 views

Extended draft mode which includes source information for manual print-out to source synchronisation

I'm looking for a kind of extended draft mode which places the source code position of paragraphs, sectioning commands and figures etc. as marginpars or similar in the PDF, so that they appear on a ...
3
votes
3answers
976 views

Is it possible to change the appearance of a \ref ?

I am using article class, and by default, the numbers of the sections, subsections appear like 1 section, 2 section in time I want them to appear like 1. section, 2. section (with dots). I have ...
2
votes
2answers
1k views

Using non-numeric ((sub)sub)sections changes the way of how \ref is displayed

I have some issue with LaTeX and I haven’t found a solution yet. So hopefully some of you can help me. I'm writing a big article with four levels of sectioning (so I'm using paragraph for the lowest ...
11
votes
4answers
610 views

Reference undefined in \section with amsbook

I have a section that is devoted to the proof of a theorem, and hence I used \section{Proof of Theorem~\ref{thm}} Of course, because of the headers that are capitalized, it asks for \ref{THM} when ...
4
votes
2answers
7k views

Accessing section or subsection

To access a section (or subsection), should I always put a \label after that section or is there any way to access that specific section without using \ref in another place?