Problem with \index command in argument of user-defined command
Index entries duplicated for captions
For thematic reasons, I am wanting to make a Zatoichi-style character based on using  and Decisive Strike monk alternate feature from the PHB2. The only catch is that Decisive Strike says:     . . . make one attack with an unarmed strike or a special monk weapon . . .   What are all of the official ways to add a weapon to the list of ? I have found only one in the Shou Disciple prestige class (Unapproachable East, p.32), but doing so would mean the earliest the character could use decisive strike with a katana would be level 10. I would like to be doing it no later than level 5 if such an option exists.  Note that, for the purposes of this question, anything that works for "Flurry of Blows" can be interchanged with "Decisive Strike" (e.g. the "Martial Flurry" ability of a Shou Disciple gains ability to use other weapons with "Flurry of Blows," but that is fine). Prove $5\mid2^{4n}-1$ by induction youtube-dl unable to download audio how to resolve that issue? Why do we need to set swap space as twice big as our physical memory? When we want to setup a linux system, there is a common a suggestion to set the swap space  twice as big as your physical memory. I want to know why do we need this, and how it is this suggestion come to be? n tasks assigned to n computers, what is the EX value of a computer getting 5 or more tasks? Say a central server assigns each of n tasks uniformly and independently at random to n computers connected to it on a network. Say a computer is ‘overloaded’ if it receives 5 or more tasks.  Q: Calculate the expected number of overloaded computers.  I thought of doing [1 - Pr(a computer is not overloaded)] but that leads me to a complicated expression of: $$1 - PR(NotOver) = 1 - \sum_{i=0}^4  \left( \frac{1}{n} \right)^{i} { \left( \frac{n-1}{n} \right)}^{n-i}$$ multiplying this by n would(hopefully) give the Expected value. But the answer seems not very elegant atall, is there something I'm missing or an easier way to tackle this? Thanks! How do I derive the Lorentz contraction from the invariant interval? Reviewing some basic special relativity, and I stumbled upon this problem:  From the definition of the proper time: $$c^2d\tau^2=c^2dt^2-dx^2$$ I was able to derive the time dilation formula by using $x=vt$: $$c^2d\tau^2=c^2dt^2-v^2dt^2=c^2dt^2\left(1-\frac{v^2}{c^2}\right)\rightarrow d\tau = dt\sqrt{1-\frac{v^2}{c^2}}=t/\gamma$$  Now, I would very much like to be able to derive the length contraction formula in a similar fashion, and feel strongly that this should be possible. The definition of the invariant interval is: $$ds^2=dx^2-c^2dt^2$$ using $t=\frac{x}{v}$ I tried: $$ds^2=dx^2-\frac{c^2}{v^2}dx^2=dx^2\left(1-\frac{c^2}{v^2}\right)\rightarrow ds=dx\sqrt{1-\frac{c^2}{v^2}}$$  This is where I'm stuck: I don't see how this can be converted to a Lorentz factor...  Any help that will allow me to arrive at the desired result $ds=\gamma dx$ would be very much appreciated. How to Deserialize XML document Increasing Letterspace for words in caps or small caps Some typographers say it's a good habit to increase the letterspace when writing words in caps or small caps. So my question is, how to do it with pdflatex and/or xelatex? And while we're at it, which words would you alter this way? Acronyms like USA, NATO, IBM, GNU, etc.? How about words like PCs, UdSSR, FreeBSD or TV-Station? Split Line at Points not splitting at every point in ArcGIS for Desktop? Why does  not split at every point encountered, even if run in an iterative fashion?  Following the suggestions of a thread here and several others, I made a set of points in order to split polylines at specified intervals. In order to do this, I used linear referencing to turn my lines into routes. Then, I exported the attribute table, divided each length by 5, and set points at multiples of 1/5 the length of the line. I used this as the event table to create a layer of events. So, each line has 4 equally spaced points along it, and I thus ultimately need the 5 segments separated by those points.  Curiously, though, when I try to do the second part "Split Line at Point," it seems that only one point is used on a given line at a time, and I'm not sure how it chooses the point (maybe order in its attribute table?) I could run the tool multiple times, but this doesn't seem to solve the problem either. For example, I could see how it would continue splitting segments as more segments are generated, but on e.g. the 4th run I see that some lines are still only split 3 times, even though there is a point within a line segment that was never split and existed before I ran the tool. I'm not sure how the splits are generated, but in any case, it doesn't seem to do what I want it to do, which is produce a split at "each" point.  What should I do to split lines at ALL points along the line? Can a warlock use one of their Thirsting Blade attacks to grapple or shove? Do we want emojis in posts? I am looking for a canonical question and answer on this issue.   (see ) on  has prompted me to ask this question.        In all honesty I think we just don't need a comic strip to explain what a user is saying. Currently I edit out emoticons I see, but this post presents a whole new type of .... ? what I'm not sure.  Is there are community consensus on this either way?  These questions are related — but different:        Please try and answer sensibly (rolls eyes at the prospect of a flood of emojis in answers) — so we can actually have something that we can link to new users (or old users) when editing this stuff out — or (even worse), defending its existence. Where does the word "torsion" in algebra come from? I was trying to make python version 3 as a default version of Ubuntu,  I used nano ~/.bashrc and added the first line of this answer.    Then It just messed up my terminal.  Now when I am clicking on my Terminal or trying to access by ctrl+alt+t, the terminal does open/run. I can only talk to ubuntu using my terminal how could I fix this?  Please advise!  Pls, note that the terminal icon is present, but the terminal does not open when clicked on. How do I get the terminal to open and work?  Update: I deleted that line from .bashrc. However, I still have a problem opening my terminal. I also see this sign on my ubuntu as well.     saying: a problem occurred when checking for the updates ubuntu 18.04 Most people spend part of each day standing, and if they have normal anatomy their heads are over their heels in this position.  Even sitting or lying down, the head is higher than the heels (if not over the heels).  Yet the phrase "head over heels" is used in ways implying it is an unusual situation.  How did such usage come to be, and why does it persist?  Why is the more obvious "heels over head" not used? Show that $1^{p-1} + 2^{p-1} +\ldots + (p-1)^{p-1} \equiv -1 \mod p$ Show that    $$1^{p-1} + 2^{p-1} +\ldots + (p-1)^{p-1} \equiv -1 \mod p$$   So, I use Fermat's little theorem, that is if $p$ does not divide $a$, then $a^{p-1}$ is congruent to $1$ (mod $p$). But I'm still confused. If $1^{p-1}$ is congruent to $1$ (mod $p$), $2^{p-1}$ is congruent to $1$ (mod $p$), and $p$ does not divide $p-1$, so $(p-1)^{p-1}$ is congruent to $1$ (mod $p$). How does that equal $-1$ (mod $p$)? Transvection matrices generate $ \operatorname{SL}_n(\mathbb{R}) $ How do we escape the cycle of bad college eating? Mouseover text: And yet I never stop thinking, 'sure, these ingredients cost more than a restaurant meal, but think how many meals I'll get out of them! Especially since each one will have leftovers!'    Randall Munroe really hit the nail on the head with this comic and especially the mouseover text. There's this sort of cycle that I seem to follow when I try cooking, and I need to get my way out of it. It goes like this:   Decide I should cook something. Thumb through my recipe books, find one or two recipes I like. Write down the ingredients for the recipes in a list. Go to the grocery store, stumble around for a while and eventually find exactly those ingredients. Go back home; at some point in time soon after, cook each recipe. Whew, that was a lot of work! Spend the next week or two eating junk again, until I decide I should cook something. (repeat)   Very similar to the comic; sometimes I too let the leftovers go bad (usually not). And every time I rack up a huge bill at the supermarket and think to myself it's justified because of the leftovers or the amount of food. Not to mention, that's a lot of work for just a couple of meals, and a long list of ingredients.  I love cooking fresh meals but that's just so much overhead and so time consuming! So I always resort back to Easy Mac, Ramen, frozen dinners and frozen pizza. Yuck.  How can I escape this cycle and cut down on the overhead? How can I focus on more than 2 recipes at a time without buying giant lists of ingredients and spending tons of money? Is it really worth the trouble or should I just chock it up to being a college student and wonder about the years ahead of me where I'll have much more time to spend cooking one meal at a time? How to find unused/dead code in java projects How to convert HTML to XHTML? I need to convert HTML documents into valid XML, preferably XHTML. What's the best way to do this? Does anybody know a toolkit/library/sample/...whatever that helps me to get that task done?  To be a bit more clear here, my application has to do the conversion automatically at runtime. I don't look for a tool that helps me to move some pages to XHTML manually. How to compare two TeX codes and mark differences with color I would like to find easy tool, which compares two TeX codes and generates a PDF file of the first code, in which the differences from the second code are marked by a given color. I use winedt 7.0 under windows 7.  I just noticed that latexdiff provides what I need. As far as I understand it is included in Miktex. Is there an interface (menu commands) in winedt 7.0, which allow to work with latexdiff ?