Tagged Questions
4
votes
1answer
51 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
78 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
43 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
84 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 ...
3
votes
1answer
139 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. ...
6
votes
1answer
103 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 ...
3
votes
1answer
76 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
74 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
100 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 ...
4
votes
2answers
111 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
125 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 ...
8
votes
2answers
188 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
172 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 ...
0
votes
0answers
94 views
Section reference not working [closed]
I am trying to reference a subsection using \label{sth} after subsection and \ref{sth} but it is not working. I thought that it was depth's counter fault so I used \setcounter{secnumdepth}{3} because ...
6
votes
1answer
66 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
271 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 ...
11
votes
3answers
1k 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?
8
votes
2answers
577 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
184 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
636 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
118 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
551 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 ...
3
votes
1answer
795 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}
...
6
votes
1answer
194 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
506 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
660 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
412 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 ...
9
votes
4answers
442 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 ...
3
votes
2answers
4k 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?
16
votes
2answers
4k views
How to reference \paragraph?
It is well-known that \section environment may be assigned a label \label{refname} and then the refname may be used in order to reference this section:
\section{My nice section}
...
6
votes
1answer
972 views
Problems with part-labels using titlesec
I'm using titlesec to define the layout of my headings. It's working but I've run into a problem when I use the package to define the layout of \part's.
When I try to reference to a \part, which is ...
9
votes
2answers
1k views
\autoref should call sections within the appendix “appendix” not “section”
I make use of autoref thoughout my now rather long document. I have an appendix with sections, though currently a small number, so changes could be made here.
I want references in my document to ...
2
votes
1answer
233 views
Sectioning created via titlesec have wrong \label
I have created the following custom sectioning using the titlesec package.
% in the preamble
\newcounter{phase}
\titleclass{\phase}{straight}[\section]
...
