I want multiple references to appear like [8-10] instead of [8]-[10]. I am using \usepackage{cite}. I tried \usepackage[sort&amp;compress]{natbib} but box brackets [] are replaced with round brackets () which is also undesirable.
I'm using a  freely downloadable latex class file and the style is set to \bibliographystyle{ieeetr}. But when I cite something with \cite{} I get it inside ().   For example I get it as abc et al. (1) but what I want to get is abc et al. [1].   Please tell me how to get my citations inside [ ] ?
When starring a message from the star board, it's not reflected in the main chat window If you click to star a post on the side (in the starred list), it changes color but not the star by the main chat area (it does add one to the number, but it doesn't change the color). Then when you click the star on the main chat area, it changes color to yellow but lowers the number by one  After clicking in sidebar:     After clicking in the main chat: I'm pretty new to this and this is my first question here, any help would be greatly appreciated.  So basically what I want to achieve is a floor material as seen in this photo...    ...the reflections are very crisp but dim.  With a glossy shader I get the following results:    First picture: reflections are blurry  Second picture: roughness of the material looks right but reflection is bright red  Third picture: If tinted in any other color than white, it seems to produce the result I want. Reflection is sharp and gets tinted blue. What I need is the reflection to be tinted white.  Thanks for any help. CSS Selector that applies to elements with two classes How do I remotely control another Ubuntu desktop from Ubuntu? How do I remotely control another desktop (both are Ubuntu 12.04) from my client machine?  Is it possible to use Remmina Remote Desktop Client? How do I complete "Find the Bitizen"? In tiny Death Star, Palpatine has given me the mission "Find the Bitizen" with the text "Working for tips is acceptable. Find 1 Bitizen(s)."  I assumed I had to wait for one of the events where you have to find a "rebel scum" and tap on it to get rid of. One of those events finally popped up but it did not complete the mission.   How do I complete this mission? Problem writing aux file I'm planning on re-watching the currently-released 5 Marvel films prior to seeing The Avengers.  Have Marvel released any sort of official viewing order?  Captain America: The First Avenger seems like the hardest one for me to place in order with the rest.  It takes place prior to the other films, but has the greatest number of references to the other films.  So should it be watched first, or last?  The rest of them are relatively clear, as they're chronological in the order they're released, with the possible exception of The Incredible Hulk and Iron Man 2 happening at the same time. On thanksgiving day a woman posted in a facebook group that her father had just passed away (left her money) and in good deed because it was thanksgiving she was offering to pay people’s debts. Well I inboxed her and she pretty much wants me to open up a bank account with First Tech Credit Union and give her my log in and password info. Ofcourse its sketchy!   So I questioned her and asked why she wanted that instead of her sending me the money directly from her bank to mine. She then responded because she wants to keep records of my debts. (She asked for proof and I sent her screenshots ONLY of my outstanding balances) I heard about the depositing checks scam so I questioned her about how she would deposit the funds and she said cash.  Her facebook page is 100% legit, I screenshotted her pics and family profiles etc. We came to an agreement that I would only accept her help if she sends me a picture of her ID before me sending this info.   She literally just wants to deposit the money to me, She isn’t asking me to send nobody money from that account or anything. Of course the account will be empty when I provide it to her. When she does deposit the money I am planning to immediately change the password and obviously stay watching my account activity while she deposits the funds.   She actually also provided pics of other accounts she funded. My question is, is this a scam? And if so how could she possibly scam me? Specially if i have her information and A pic of her ID. She is a christian lady and looks like she has a good heart, We talked about my struggles and she actually looked into why I needed to be assisted with the money. By no means was she pushy or anything. I want to believe that she just wants to help me but I am also too skeptical. Limit of $\frac{\log(n!)}{n\log(n)}$ as $n\to\infty$. Why $\lim\limits_{n\to \infty}\left(1+\frac{1}{n}\right)^n$ doesn't evaluate to 1? I am trying to identify what the flaw is exactly when reasoning about a limit such as the definition of $\mathbf e$:  $$ \lim_{n\rightarrow \infty}\left(1+\frac{1}{n}\right)^n={e} $$  Now, I know there are ways of proving this limit, such as by considering the binomial expansion of $(1+\frac{1}{n})^n$ and comparing that to the Maclaurin series of $e$. So to make this clear, I am not looking for a proof of the limit definition of $e$.  I tried searching for "limit laws/rules" but none of the rules I found described the above case. Hence, I am looking for a specific rule (or perhaps a certain perspective) that will help me realize why the above does not in fact evaluate to 1.  My train of thought is as follows: at a first glance, if I wasn't already familiar with what the limit evaluates to, I probably would evaluate the expression inside the brackets first, and then apply the limit to the power. So, $$\displaystyle\lim_{n\to\infty}\frac{1}{n}=0\quad\text{and then}$$  $$\displaystyle\lim_{n\rightarrow \infty}\left(1+0\right)^n=\lim_{n\to\infty}1^n=1$$  Why is my reasoning flawed? Your content must have a ListView whose id attribute is 'android.R.id.list' How fast does gravity propagate? I have a VIP skybag (I believe this does not matter). It has a 3-number TSA lock built into the suitcase. I know the combination to unlock, let's say it's 345. Recently it was locked and while there was a different number on the combination lock the reset/set lock button was pressed.  Since then the reset/set lock button is pressed (stuck) and the lock button also does not unlock. Any pointers on how to unlock it? I am thinking of unscrewing the lock from inside of the suitcase but it seems quite a hassle, as I may have to assemble it back. Let me know if there is any other option to unlock it from the outside. How to safely upgrade from an older Ubuntu version to a newer one? How can I safely upgrade an Ubuntu installation from one release to another? What should I do before upgrading to ensure it goes smoothly, and is there any clean-up I need to do afterwards?  In particular, do I need to do anything special if I am using packages from PPAs, if I have a graphics card that needs drivers, or if I'm running a custom Linux kernel?  This is a general question , but as example we take Ubuntu 12.04 and Ubuntu 12.10 Spacing issue for newenvironment wrapper of equation environment If I create a custom environment based on the equation environment, I get a spacing issue: the next line of text after my environment closes doesn't start on the left margin.  Example code:  \documentclass{article} \begin{document} \newenvironment{myenv}{\begin{equation}}{\end{equation}} \noindent $| \leftarrow$ this is the left margin. \begin{myenv} e ^{i \pi} + 1 = 0 \end{myenv} $| \leftarrow$ this isn't the left margin. \end{document}   Output:    Removing the newline after \end{myenv} solves the spacing problem, but the resulting code is not readable.  Of course, in this example I could just use the equation environment itself. My real issue involves a more complex custom environment that suffers from the same problem, and which also includes an equation environment within it. How do I prompt for Yes/No/Cancel input in a Linux shell script? How to avoid using sudo when working in /var/www? We have a SQL Server 2012 instance that contains a database with data for many product lines.   We are looking for a way to take subsets of this data into another database on the same instance.  This doesn't have to be continuous as we are looking for ways to make it easy to export backups of the subsets that we can send out to vendors (we have a company that loads this data into their own sql server to produce a product we sell, naturally its huge and we want to trim it down to just the product lines they work with on a regular enough basis) or use to load SQLite DB's for use with offline applications.  ProductDB - the superset of all product line data.  ProductLine1DB - A subset identical in structure to ProductDB, but with data only relevant to product line 1.  ProductLine2DB - A subset identical in structure to ProductDB, but with data only relevant to product line 2.  This can be done nightly, weekly, as often as we need to but not a continuous replication.  We don't want to add in distributor servers or even extra subscriber servers. We would like the replication to happen on the same server with the subscriber databases being on the same server.  Is this a good candidate for transactional replication?  Why or why not?  We obviously have other options to load this data, but it seems like this might be a good case to use something like transactional replication. I've heard its powerful but prone to issues when not setup optimally.  Note: I am not a DBA, simply a developer, but we are currently looking for a new DBA and some of us are taking over duties like this temporarily. Is there a formal spelling for the English letter names? Why can't a CNAME record be used at the apex (aka root) of a domain? This is a  about CNAMEs at the apices (or roots) of zones   It's relatively common knowledge that CNAME records at the apex of a domain are a taboo practice.  Example: example.com. IN CNAME ithurts.example.net.  In a best case scenario nameserver software might refuse to load the configuration, and in the worst case it might accept this configuration and invalidate the configuration for example.com.  Recently I had a webhosting company pass instructions to a business unit that we needed to CNAME the apex of our domain to a new record. Knowing that this would be a suicide config when fed to BIND, I advised them that we would not be able to comply and that this was bunk advice in general. The webhosting company took the stance that it is not outright forbidden by standard defining RFCs and that their software supports it. If we could not CNAME the apex, their advice was to have no apex record at all and they would not provide a redirecting webserver. ...What?  Most of us know that  insists that A CNAME record is not allowed to coexist with any other data., but let's be honest with ourselves here, that RFC is only Informational. The closest I know to verbiage that forbids the practice is from :     If a CNAME RR is present at a node, no other data should be   present; this ensures that the data for a canonical name and its aliases   cannot be different.   Unfortunately I've been in the industry long enough to know that "should not" is not the same as "must not", and that's enough rope for most software designers to hang themselves with. Knowing that anything short of a concise link to a slam dunk would be a waste of my time, I ended up letting the company get away with a scolding for recommending configurations that could break commonly used software without proper disclosure.  This brings us to the Q&amp;A. For once I'd like us to get really technical about the insanity of apex CNAMEs, and not skirt around the issue like we usually do when someone posts on the subject.  is off limits, as are any other Informational RFC applicable here that I didn't think of. Let's shut this baby down.