From , I have known how to write multiple columns enumeration.  But is it possible to automatically determine column numbers according to the maximal widths of all items, rather than manually specify the column number?
Consider the following minimal example:  \documentclass{article}  \setlength{\parindent}{0mm}  \usepackage{paralist} \usepackage{tabto}  \begin{document}  \NumTabs{3} \begin{inparaenum} \item text \tab\item text \tab\item text \tab\item text \tab\item text \tab\item text    \end{inparaenum}  \end{document}   Which results in:    It does exactly what I want, but I was wondering whether it was possible to create an environment, say tabbedEnum so that we can eliminate the use of the \tab, in particular, that the first case doesn't need a tab but all others do. Something of the form:   \begin{tabbedEnum}[3] \item text \item text \item text \item text \item text \item text \end{tabbedEnum}
Should smilies be turned into images in questions and answers? A lot of mention has been made of the seriousness of Stack Overflow (and presumably Server Fault). Would it be a good idea to turn  :-) into actual images as per  in questions and answers? I have a shell script with this code:  var=`hg st -R "$path"` if [ -n "$var" ]; then     echo $var fi   But the conditional code always executes, because hg st always prints at least one newline character.   Is there a simple way to strip whitespace from $var (like trim() in )?   or   Is there a standard way of dealing with this issue?   I could use  or , but I'd like to think there is a more elegant solution to this problem. How to clone ArrayList and also clone its contents? How can I clone an ArrayList and also clone its items in Java?  For example I have:  ArrayList&lt;Dog&gt; dogs = getDogs(); ArrayList&lt;Dog&gt; clonedList = ....something to do with dogs....   And I would expect that objects in clonedList are not the same as in dogs list. Closed formula for the sums $\sum\limits_{1 \le i_1 < i_2 < \dots < i_k \le n} i_1 i_2 \cdots i_k $? I've worked out a few summation formulas, and I am hoping to find a pattern. Unless I have made a mistake somewhere, we have the following identities:  $$\sum_{1 \le i \le n} i = \frac{(n+1)n}{2} $$  $$\sum_{1 \le i &lt; j \le n} ij = \frac{(3n+2)(n+1) \, n \, ( n-1)}{24}$$   $$\sum_{1 \le i &lt; j &lt; k \le n} ijk = \frac{(n+1)^2 \, n^2 \, (n-1)(n-2) }{48}$$   It seems clear that $$p_k(n)= \sum_{1 \le i_1 &lt; i_2 &lt; \dots &lt; i_k \le n} i_1 i_2 \cdots i_k $$ is a polynomial in $n$ of degree $2k$. But is there a nice closed-form formula for it? Maybe in terms of its factorization?  Comment: I realize that what I am looking for is the coefficient of $t^k$ in the expansion $$(1+t)(1+2t) \dots (1+nt),$$ so maybe generating function techniques could be helpful. But the main way I know to extract the coefficient of $t^k$ is to take derivatives $k-1$ times and on the surface of things that looks like a huge mess. "Each of these is" vs. "each of these are" Each of these CDFIs are finding solutions for communities that lack   access to traditional financial products and services, and the NEXT   Awards will accelerate their success.   OR     Each of these CDFIs is finding solutions for communities that lack   access to traditional financial products and services, and the NEXT   Awards will accelerate their success.   The difference is, the first one uses "CDFIs are" and the 2nd sentence uses "CDFIs is"  Which one is correct? Any why? I have an unlocked North American (Canada) iPhone 5s, where can I buy a data only SIM card in Japan ? I'm not interested in renting nor in a voice plan, I'll be staying for 4 weeks.  I'll be landing in Tokyo, so preferably around there. Can I get them from the airport somewhere ? I'm assuming I won't have problems with the network/frequencies, am I correct ? Can a child inherit both their parents' clans jutsu? Can a child in Naruto inherit both abilities from his parents' clans?  For example, if Ino and Sasuke had a child is there a possibility for it to have both Uchiha's Sharingan and Yamanaka's mind transfer jutsu? What is the proper way not to scare civilians? Having just  from any of the queues, it was reviewing close votes; however, this audit was flawed in that I didn't even cast a close vote.  Often I press the Close button to preview greater detail and sentiment of the closure, spawning the Why should this question be closed dialog box:    Especially for duplicates, where functionality is solely dependent on spawning this dialog.  From Closing > Duplicate, I can search or view selected duplicates:    Although, I realize general closure reasons are summarized on the page:    This question had 6-upvotes, but seemed very localized referencing subjective query is "taking too long" and even had a sqlfiddle link.  Maybe overly broad regarding performance tuning, the OP was posting like a forum with two answer posts to his own question  and  with one of those answers asking follow-up questions.    Wanting to gauge community response, current closure totals struck my curiosity.  So, I pressed the Close button and boom - oh, the humanity!  I failed, and didn't even cast a close vote.    Votes are not cast until a reason for closure is selected and Vote to Close is pressed.  Taking any review very seriously on this site, it only seems fair that my review quality is tested through actionable steps instead of clicking for more detailed information, leveraging the functional design of the close vote user interface.  Sure, it's complex to seed fake vote totals, and then there's controversy of mindless voting in the majority or people who simply cherry pick 4-vote questions.  Still though, it seems unfair I should hesitate to review further information of vote totals and duplicates before skipping due to the implementation of this audit. Show every nonempty compact Hausdorff space is not the countable union of nowhere dense sets I know this proof is somewhat similar, or related to the Baire's Category Theorem but I can't seem to figure out how to do it.  The Baire Category theorem asserts that if X is a complete metric space or a locally compact Hausdorff space (my case), then the complement of a countable union of nowhere dense sets is always nonempty.  How can I use this on the proof? Unupvote immediately followed by an upvote gives me a net -10 reputation points I got stuck on this inequality for a day. If $p$ is positive integer, then the problem becomes too easy, but I can't find how we deal with the general case when p can be any positive number. Can someone give me a hint? I really appreciate     Prove that $|x^p - y^p| \le p|x-y|(x^{p-1} + y^{p-1})$ provided that $1 \le p \lt \infty$ and $x, y \ge 0$ Why does unlocking the bootloader wipe phone? In all shells I am aware of, rm [A-Z]* removes all files that start with an uppercase letter, but with bash this removes all files that start with a letter.  As this problem exists on Linux and Solaris with bash-3 and bash-4, it cannot be a bug caused by a buggy pattern matcher in libc or a miss-configured locale definition.  Is this strange and risky behavior intended or is this just a bug that exists unfixed since many years? Are those stars moving past the window when the ship is at warp? When the enterprise (ENT) is moving at warp we see numerous stars flying past in the windows:    However, according to , at warp 5 (the maximum speed of the 1st enterprise) it would take 7.4 days to get from the Sun to Alpha Centari, our nearest star(s) approximately 4 light years away. So to have stars whizzing past every few seconds would imply that the stars are very close together.  Is this an inaccurate depiction of star movement at warp, or is there some explanation like the warp bubble creates a lensing effect?  Now I realise the classic answer is "suspend your disbelief, it's a tv show", but the animators have at least thought about the star movement as they have added in a bit of red shift and blue shift which you can see in the image. Circle-Rectangle collision detection (intersection) How can I tell whether a circle and a rectangle intersect in 2D Euclidean space? (i.e. classic 2D geometry) Interscholastic Mathematics League Senior B Division #2 Can I get notification when event occur? SQL Servers has Traces and XEvents. These are used to capture and analyze what is going on with our SQL Server Instances. Events are stored in the stack for later analysis. For example,  If I decide to monitor any dead lock in the database, I just query the trace file to see the history of deadlock for a period of time. Here is my question:  While events occur, in our example deadlock event, is there a way to get an email notification using msdb.dbo.xp_send_dbmail? I am trying to show that if for a group $G$ we have $Z(G)=1$, then $Z(\operatorname{Aut}(G))=1$.  I have tried everything I can think of, but to no avail.  The first part of the problem was to show that $\operatorname{Inn}(G) \triangleleft  \operatorname{Aut}(G)$ - does this have any connection?  I couldn't find one.  I know that $\operatorname{Inn}(G) \cong G/Z(G)$, so in this case $\operatorname{Inn}(G) \cong G$ and $Z(\operatorname{Inn}(G))=1$.  Is there any way to get from this to $Z(\operatorname{Aut}(G))=1$?  How do we go about showing this?  Thanks. In my .bib file, I have two entries with exactly the same author names:  @article{Seshadrinathan2010A-Subjective-St,     Author = {K. Seshadrinathan and R. Soundararajan and A. C. Bovik and L. K. Cormack}, ....  @article{Seshadrinathan2009Study-of-Subjec,     Author = {K. Seshadrinathan and R. Soundararajan and A. C. Bovik and L. K. Cormack}, ....   When cited after each other, and typeset with the IEEEtran bibliography style, the .bbl file reads:  \bibitem{Seshadrinathan2010A-Subjective-St} K.~Seshadrinathan, R.~Soundararajan, A.~C. Bovik, and L.~K. Cormack, ``A   subjective study to evaluate video quality assessment algorithms,''   \emph{SPIE Proceedings Human Vision and Electronic Imaging}, 2010.  \bibitem{Seshadrinathan2009Study-of-Subjec} ------, ``Study of subjective and objective quality assessment of video,''   \emph{IEEE Transactions on Image Processing}, 2009.   As you can see, the author names have been replaced with ------. It looks like this in the final PDF:    Is this normal behavior?