Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
astron-texmf
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ASTRON SDC
Documents
astron-texmf
Merge requests
!22
Clever references
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
Clever references
u/swinbank/cleveref
into
master
Overview
0
Commits
2
Pipelines
1
Changes
1
Merged
John Swinbank
requested to merge
u/swinbank/cleveref
into
master
4 years ago
Overview
0
Commits
2
Pipelines
1
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d94cfc08
2 commits,
4 years ago
1 file
+
18
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
texmf/tex/latex/astron/astron.cls
+
18
−
1
Options
@@ -88,11 +88,28 @@
\RequirePackage
{
microtype
}
\RequirePackage
{
parskip
}
\RequirePackage
{
tabularx
}
\RequirePackage
{
booktabs
}
\RequirePackage
[capitalize]
{
cleveref
}
% Set up “clever” references.
%
% Use lower-case-p for pages references.
\crefname
{
page
}{
page
}{
pages
}
% Abbreviations for appendix when not at the start of a sentence
\crefname
{
appendix
}{
Appx.
}{
Appxs.
}
\Crefname
{
appendix
}{
Appendix
}{
Appendices
}
% Use § for section references, except at the beginning of sentences.
\crefformat
{
section
}{
\S
#2#1#3
}
\crefrangeformat
{
section
}{
\S\S
#3#1#4--#5#2#6
}
\crefmultiformat
{
section
}{
\S\S
#2#1#3
}{
\&
~#2#1#3
}{
, #2#1#3
}{
\&
~#2#1#3
}
\Crefformat
{
section
}{
Section~#2#1#3
}
\Crefrangeformat
{
section
}{
Sections~#3#1#4 to~#5#2#6
}
\Crefmultiformat
{
section
}{
Sections~#2#1#3
}{
and~#2#1#3
}{
, #2#1#3
}{
and~#2#1#3
}
% Set up glossaries
%
\input
{
astron-abbreviations
}
\makeglossaries
% Don't expand these acronyms in the text.
\glsunset
{
API
}
\glsunset
{
Apertif
}
Loading