Questions tagged [sorting]
{sorting} is about sorting document elements. Use this tag in addition to other tags specifying what should be sorted.
625 questions
0
votes
0
answers
18
views
Biblatex descending order of references with numeric style: wrong vertical alignment if more than 10 entries and multiples bibliographies
This is a follow up of Biblatex descending order of references with numeric style: wrong vertical alignment if more than 10 entries.
The answer of this question, based on biblatex's locallabelwidth, ...
0
votes
1
answer
74
views
How do I create an index where the key is sorted numerically if it is preceded by a letter?
I have a list of items and difficulty ratings:
Name1, V1
Name2, V10
Name3, V2
etc
I’m adding these to an index as:
\index[boulderproblemsbygrade]{V1!Name1}%
And then printing the index with:
\...
0
votes
1
answer
80
views
Sorting References by Appearance in ACM LaTeX Template
How can references be sorted by order of appearance in the ACM LaTeX template?
\documentclass[manuscript]{acmart}
%%
%% \BibTeX command to typeset BibTeX logo in the docs
\AtBeginDocument{%
\...
2
votes
1
answer
114
views
how to make alphabetical order of references in latex to sort them alphabetically?
I am preparing a paper for the Acta Gecotechnica journal, which has its own LaTeX template. I read the comments here and there, but none of them work on my LaTeX file. I would upload template files if ...
0
votes
1
answer
49
views
Sort propositions in alphabetical order like, Theorem A, Corollary B, and
As it is asked in a similar question:
Refer to Theorem A,B,C,
I need to sort my theorems, corollaries, and etc., in alphabetical order like, Theorem A, Theorem B, Corollary C, but when it comes to &...
3
votes
1
answer
131
views
cleveref is incorrectly sorting "subtheorems"
I have two theorem, each of which is a list of two "subtheorems". I would like to use cleveref to refer to an assortment of these subtheorems. However, cleveref is not sorting the ...
4
votes
1
answer
106
views
Order of index pages changes when hyperref loaded
I notice that the order of pages in the index is impacted by whether hyperref is loaded or not. It's sad when that happens.
So in the following MWE, without hyperref you get:
test, 1, 1n1
And with ...
2
votes
1
answer
139
views
Is there a way to use proper code style to sort groups of numbers in TikZ?
Is there a way to use proper code style to sort groups of numbers in TikZ?
For example, I would like to sort the following list of lists by the value \valuea, and then access the results of the sorted ...
2
votes
1
answer
114
views
\str_compare:nNnTF doesn't work with diacritics: Lua-UCA library as an alternative?
\str_compare:nNTF doesn't work as expected with diacritical characters. This is highlighted by the following MCE where strings should be sorted in the order “café, cafy, cafz” and not “cafy, cafz, ...
3
votes
1
answer
55
views
Biblatex descending order of references with numeric style: wrong vertical alignment if more than 10 entries
Questions on TeX.SE asking for a descending order of references in a biblatex context often receive an answer recommending the following code:
\AtDataInput{%
\csnumgdef{entrycount:\therefsection}{%
...
2
votes
1
answer
110
views
List files of directory in reverse order
I need to loop over a directory. I found this code from (here):
\documentclass{article}
\usepackage{l3sys-shell}
\ExplSyntaxOn
\NewDocumentCommand \inputfiles { m }
{
\sys_shell_split_ls:nN {#1} ...
0
votes
1
answer
74
views
glossaries-extra wrong sorting of greek letters with bib2gls
I'm currently working on my glossary and using bib2gls with glossaries-extra to automatically sort alphabetically. It works for Roman letters, but it sorts Greek letters incorrectly.
Here’s a minimal ...
0
votes
0
answers
40
views
BST files. Change the order of the references
Goodmorning,
I am writing a bst file (see below) but I have two problems:
I need that cited articles appear following the year of publication (firstly the newest)
References have to be anticipated by ...
0
votes
0
answers
48
views
How to not sort the nomenclature order? I want nomenclature show exactly what I write in code and in exact order. N why 2 blank page before?
\chapter*{Nomenclature}
\rhead{Nomenclature}
%\end{center}
\addcontentsline{toc}{chapter}{Nomenclature}
%\renewcommand{\nomname}{}
\nomenclature{$A$}{Amplitude}
\nomenclature{$c$}{Chord}
\...
3
votes
0
answers
324
views
Sorting triangles in TikZ with respect to a normal vector, where they would overlap as though you were viewing them in real life
The Goal:
The goal is to find a way to definitively sort triangles in 3D, where the triangles are connected, and do not overlap. For instance, this situation will never occur, since they are connected:...