General ⇒ Alphabetic order of text in Table
Alphabetic order of text in Table
Can anybody tell me please, that how we can automatically generate the text in alphabetic order in Latex Table?
Regards
Saeed
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Re: Alphabetic order of text in Table
Re: Alphabetic order of text in Table
Alphabetic order of text in Table
Re: Alphabetic order of text in Table
1st of all I am grateful to you for your effort.
I have attached the sample file(All the names are dummy), if you will create its pdf/dvi file then it will be helpful to understand the scenario.
The problem is if I want to add two names "Baqi" and "Bekhud" (agains thses two names are also dummy), then 1st I made it in Microsoft Excel file, then sort it alphabetically and then I have to make the *.tex file agian. and for every entry I have to repeat the process. If I could do numbering the automatically and automatic sorting in Tabular environment then it would be very helpful for me.
Thanking in anticipation.
- Attachments
-
- minimal example.tex
- (801 Bytes) Downloaded 681 times
Alphabetic order of text in Table
Code: Select all
\newcounter{SingleNo}\newcounter{DoubleNo}
\newcommand{\SingleSerialNo}{\stepcounter{SingleNo}\theSingleNo}
\newcommand{\DoubleSerialNo}{\stepcounter{DoubleNo}\theDoubleNo}