I am typesetting some Indian currency using spreadtab for calculations. I want to obey the usual conventions followed in typesetting Indian money amounts:   One thousand (hazar) = 1,000 One lakh = 1,00,000. One crore = 1,00,00,000. One urb = 1,00,00,00,000. One khurb = 1,00,00,00,00,000.   The last two mentioned are uncommon. People prefer to say Rs 77,000 Cr. instead of Rs 770 urb.  This is unlike most other currencies (including German/British/US currencies) where you have uniform separators after every n (usually 3) zeros.  In Indian currency, the separators are after every two zeros, except for the first set, which is after three zeros.  I have looked at the documentation of numprint, but I do not think it can be done using that package (or siunitx for that matter).  Suggestions?
\num{100000} prints 100 000  I want to have 1 00 000.  Question: How to set siunitx package to do the above?  Some more  \num{1000} => 1 000  \num{10000} => 10 000  \num{100000} => 1 00 000  \num{1000000} => 10 00 000  \documentclass[12pt]{article} \usepackage{siunitx} \sisetup{group-separator = {,}}  \begin{document}  \num{1000}  \num{10000}  \num{100000}  \num{1000000}  \num{10000000}  \num{100000000}  \num{1000000000}  \SI{1000000000}{m}  \end{document}   The exact rules are described on the :     The Indian Numbering System uses separators differently from the Arabic system; besides the three least significant digits of the integer part, a comma divides every two rather than every three digits.
Is the double dash still the posix standard for long switches? Infix to postfix not working as expected Proving a Composition of Functions is Bijective If I have $f:\mathbb{R}\rightarrow\mathbb{R}$ such that $f$ is onto and $f\circ f\circ f = f$, how can I prove that $f$ is bijective? I know that I only have to prove that it is 1-to-1 because I'm given the fact that it's onto, but how can I use the fact that $f\circ f\circ f=f$ to prove that it is 1-to-1?  Thanks! Was Severus Snape made a Death Eater before or after he told Voldemort about the Prophecy? Based on discussion in comments on , was Severus Snape a Death Eater (real one, with Dark Mark) before he overheard Sybil give the Prophecy to Dumbledore and relayed it to Voldemort? Or was he made a DE after that?  Canon sources only please (books/interviews/Pottermore) Change citation conjunction from "and" to "i" How can I change the citation conjunction from english "and" to catalan "i"?  Otherwise  Author = {Kirk, D. and MacPhail, A.},   would get cited as (Kirk and MacPhail, 2002) when it should be (Kirk i MacPhail, 2002).  When there are more than 2 authors I get et al. which is fine.  I've seen  and  which do not work with apalike style.  Also, I'd rather not use biblatex if possible. I was caught cheating on an exam, how can I minimize the damage? I got caught cheating in a two-hour engineering exam consisting of 100 multiple choice questions which was done online through the  e-learning software. I feel like my life is almost over.  Having not studied well and having no time to study, I decided to cheat. I know there are no excuses for cheating. Before the exam I dug up research about moodle exams, and it turned out you can take the exam anywhere you want to as long as you have the quiz password. Taking advantage of this, I went up to my engineering library and asked a close friend who was taking the exam to send me the quiz password before he starts.  What I had prepared:   Calculator (was not allowed during the quiz). Printed material (consisted of more than 200 pages). Google search engine (on a laptop ready to help). Whatsapp (to ask questions for a friend who took the quiz last year).   As I sat down, I did the first 50 questions, suddenly the quiz froze and moodle told me:      you are not allowed to take the exam from this location.   While I was leaving, one instructor responsible for the course (there are 5) came and found me. She accused me of cheating, took my mobile and made come with her to a huge office where two instructors searched all my mobile (took the name of my friend who gave me the password), and started talking to me, asking for all details of this crime. They took and confiscated my phone and looked at everything: Whatsapp conversations, all my emails, and images. The instructor took the mobile from my hand without asking me and kept it with her. It seems that the instructors are going to report me as well as my friend who sent me the password for the exam.  The university's Student Code Conduct said that cheating will result in one of the following: a Dean's Warning, Suspension, or Expulsion. If any of that happens, my future is over. A dean's warning will cancel my financial aid. A suspension would be for at least two years, and coming back would require a lot of work. An expulsion will be definite.  I've learned the lesson about cheating, now how can I fix this? How can I prevent the five instructors from reporting me? It's obvious that I should speak to them, but what should I say? What can I do? My future is almost over, but many of you are teachers and instructors here, what can I do to fix this?    EDIT: Wow, it has been almost 3 years. I would like to update on how I dealt with the situation.   Lesson: It was obvious to never ever cheat under any circumstances, and it was not whether you'd get caught or not.    Consequences: I received a Dean's warning but the financial aid wasn't revoked. However, I couldn't stay in the department as engineering was not for me and I was even ashamed to stay in the university.  What happened next: I transferred to an ABET-accredited Computer Science institution and I graduated with distinction in 2.5 years. It was extremely stressful as I had taken 6 major courses (18 credits) in one semester, but I had to do it.  Future plans: I'm going for an MSc in Computer Science in St Andrews next year. What's the grammar behind "A'warring", from the lyrics of Symphony of Destruction? What's the grammar behind A'warring, from the lyrics of Symphony of Destruction by Megadeth? It's the first time I'm seeing the use of such apostrophe. Which of the following sentences is correct:        There is a lot of food and fruit in the supermarket.   There are a lot of food and fruit in the supermarket. Number of solutions of $x_1+2x_2+\cdots+kx_k=n$? Suppose $n$ be a given positive integer. Then the Diophantine equation $x=n$ has only $1$ solution. Just by inspection, I found that the Diophantine equation $x+2y=n$ has $\left\lfloor \dfrac{n}{2}+1\right\rfloor$ non-negative solutions for $(x,y).$ Also, according to  the Diophantine equation $x+2y+3z=n$ has $\left\lfloor \dfrac{n^2}{12}+\dfrac{n}{2}+1 \right\rfloor$ non-negative solutions for $(x,y).$  Is there any closed form for the number of non-negative integer solutions for $(x_1,x_2,\cdots,x_k)$ of $$x_1+2x_2+3x_3+\cdots+kx_k=n$$ for a given $k\in\Bbb{N}$? How can I prove these formulas rigorously?  EDIT After a very tedious calculation I found that the equation $w+2x+3y+4z=n$ has  $\left\lfloor \dfrac{n^3}{144}+\dfrac{5n^2}{48}+\dfrac{(15+(-1)^n)n}{32}+1 \right\rfloor$ solutions. This solution completely agree with the approximation given by Rus May. However still I believe that we can do something more than this. How many roots have modulus less than $1$? If roots of the equation   $$x^7 - 4x^3 + x + 1=0$$        are plotted on the Argand plane, how many of them have distance from the origin less than $1$?     I found, by plotting the rough curve of $y= x^7 - 4x^3 + x + 1$ that it has three real roots, out of which two of them have modulus greater than $1$ and one has modulus less than $1$. But I don't know how to do the same for non - real roots. The answer given in my book is that $3$ roots have modulus less than $1$. How to label using just numbers from start of text field? In ArcMAP 10.2, I am trying to format the labels on my map.   If the label is   1402 Bowie Road  But  I want only to display numbers:  1402   What is the expression to create this? If an astronaut had stationed in International Space Station for the duration of mission, 17 years, would he be older? Today the NASA International Space Station started the 100000 orbit after 17 years in the space. I just wonder if there were a team of astronauts which were in the Lab for all the duration of last 17 years, how much older they would be due to the combination of Einstein's especial theory of relativity and general theory of relativity?   Here is the link to NASA's youtube video. What is Snell's law's main formula? My book states it as $(\sin i)/(\sin r)=n$. However, University Physics has a different say.  It says, $n_{a} \sin a =n_{b} \sin b$. Which of the following is correct? 7 month old wants to sleep on its belly -- is it safe? Why is Jupiter so sharply defined? In photographs of Jupiter, . Being a gas giant, my naive self thinks that the atmosphere should have a more gradual cut off, creating a hazy effect similar to that on Titan. I am aware of Jupiter's immense size, so each pixel in the linked photograph is likely tens or hundreds of kilometers. Even so, wouldn't there be some small smudge? Does perhaps Jupiter's terrific gravity have any effect on the apparent edge of its atmosphere? Installing from source. How to resolve dependencies without destroying the package manager I have a Category entity which has a Nullable ParentId field. When the method below is executing and the categoryId is null, the result seems null however there are categories which has null ParentId value.  What is the problem in here, what am I missing?  public IEnumerable&lt;ICategory&gt; GetSubCategories(long? categoryId) {     var subCategories = this.Repository.Categories.Where(c =&gt; c.ParentId == categoryId)         .ToList().Cast&lt;ICategory&gt;();      return subCategories; }   By the way, when I change the condition to (c.ParentId == null),  result seems normal. Matrix given by $a_{ij} = 1/(i+j)$ is non-singular. Why subtraction of a negative number from a positive number is addition? Eg: $a - (-b) = a + b$ When looking through the number scale I am unable to relate this, please kindly clarify ? If a quadrilateral has a pair of equal opposite sides, and a pair of equal opposite angles, then is it necessarily a parallelogram? I’m sorry I couldn’t upload a photo, so I’ll try to explain it as best as I can.     The quadrilateral has a pair of opposite and equal sides, and has a pair of opposite equal angles (85 degrees in the question).   Can I say this is a parallelogram or not?    I tried drawing a shape with those conditions that is not a parallelogram and I failed. Thanks in advance, and again sorry for not having a photo and I hope I explained it well enough.