For the purposes of collaboration, I want to create a number of short commands or environments that will color the text within its scope so as to identify the author.  My first thought was to simply create a number of new commands along the lines of the suggestions given . But I'm imagining that the various collaborators would be writing several pages of text at a time and I don't know whether large blocks of text (and perhaps multiple new environments within that text) brings with it issues that would decide in favor of using new commands or environments.  Is there a reason to choose one or another route to coloring large blocks of text?  In general, when is it better to use a new command vs. a new environment (if there is any substantial difference)?   UPDATE: Well I think I've come up with a partial answer: making commands following the model given in the linked answer (\newcommand{\red}[1]{\textcolor{red}{#1}}) won't allow you to place multiple paragraphs within the scope of one command instance. Each paragraph requires a new instance of the coloring command (unless I'm doing something wrong). This would seem to be one reason to go the environment route.  FURTHER UPDATE: It turns out that the limitation of the command approach was a limitation of \textcolor, not some general limitation on new commands. Using \color allows you to color multiple paragraphs.
The first time I learnt LaTeX, I thought \newcommand properly fits for inline mode and \newenvironment for displayed mode.  Later I noticed it is not correct. So the question is   What is the rule of thumb when deciding whether we should use one over the other one?
solaris ssh ctrl arrow keys do not work Launch shell scripts from anywhere Is it possible to run my scripts located in ~/scripts from anywhere?  Say i want to run ./scriptname regardless of my current working directory. No matter how nice the composition, flow, and lines of my design are, if I am not copying directly from nature, I have a very difficult time picking a decent color scheme.  It either looks too drab, or too garish.  Is there a good resource that will help me to choose a color scheme that has 2 or 3 colors, and the colors do not clash?  I'm not looking for specific colors or color schemes.  What I need is a resource that will help me choose a color (or colors) that go nicely with, or provide a good accent to, whatever main color I am working with on the design. How to insert text before the first line of a file? A  is river or stream that flows into a larger river.  A  a stream branching off a river.    Is there a word that combines both structures, the idea of a river that splits in two and later rejoins to become one river again?           /---------------\ ---------                 --------------------          \---------------/   My focus here is on the waterway, not the land. I’m looking for a word describing the behavior of the river splitting and later rejoining, without regard for the geography, and without regard for the cause or effect between land and water. Was Luke Skywalker the leader of the Rebel forces on Hoth? Rewatching Star Wars: The Empire Strikes Back, I noticed the opening crawl declares Luke Skywalker as the leader of the Rebel forces on Hoth:     Evading the dreaded Imperial Starfleet, a group of freedom fighters   led by Luke Skywalker has established a new secret base on the remote   ice world of Hoth.   Is that correct? I though Princess Leia or General Rieekan commanded the Rebel base on Hoth.  I can't find any references to this discrepancy on the Internet. Maybe in an earlier version of the script, Luke Skywalker was the commander and the crawl wasn't updated. Or perhaps "led" is meant in the sense Luke was a moral leader of the Rebel fighters? This is more of a panic question after reading reviews on Istanbul Atatürk Airport. They said it's messy and hard to navigate, therefore I'm asking questions here in name of my girlfriend who will need to transit through this airport.  My girlfriend (Canadian national) traveling from Toronto (YYZ) to Istanbul (IST) for a couple hours (~4 hrs, so transiting) in order to come to Pristina (PRN). I would like a quick guideline on how to pass through this airport seamlessly without facing any trouble or delay.  Her tickets are both with Turkish Airlines. She purchased it via a third party (Flighthub.ca). It's only one booking and it includes both flights in it.   Once my girlfriend departs, she's obviously required to follow the signs and go to the transit area. Once she's there, will she be required to present a ticket? Where does she get that ticket? Does she get it in YYZ or does she need to visit a counter in IST and get it? After she's got the proper ticket, what does she need to do exactly? Wait in line to have her passport checked? Will they also control her carryon?  After this step, does she simply go to the PRN flight gate and that's it?   We're simply worried about Istanbul Atatürk Airport because of the recent things that happened in Turkey (coup attempt and ISIS attack) and she doesn't wanna somehow end up locked up there. I've read that the airport is a mess lately and a lot of people will be there waiting in line. So, another question: Are 4 hours enough?  I would appreciate a step by step guideline on how she needs to navigate and what she needs to do in that airport to have a smooth experience without facing any delays. Also some misc information on Istanbul Atatürk Airport would be appreciated. Per-site Meta post didn't populate Moderator Inbox Per  I'm posting this issue.  I'm a moderator over on Sci-fi &amp; Fantasy.SE.  My moderator inbox missed :    The Meta Question in question should show up after the moderator message and before the new meta question, as it was posted on Jan 2 (it's currently Jan 6, so '2 days ago' is Jan 4). Electrical Machines based on Electric Fields Our teacher asked us this question during the lecture for Power Electromagnetics. We know that Electric Fields and Magnetic Fields are easily transformable into one another. And they are used greatly in various systems.   He asked us why is it that almost all the electric machines are still based on exchange of magnetic energy? Why isn't electric field used for power exchange and interaction through air gaps for a machine? Duplicate objects transformation applies to both objects I'm facing this frustrating "feature" that I can't seem to remedy; when I duplicate an object (and now, even when I create two completely new objects), their transformations/scaling is synchronized. This is extremely annoying when trying to use any sort of transformation keyboard shortcut.  It should be noted by going to the properties menu (N) and manually setting the properties works just fine.  For instance, here is just the camera selected (trust me, I made sure):   And when I try to transform by clicking+dragging on the X axis OR by hitting G->X, this happens:   They are not grouped (verified by going to the Groups list up in the Scene panel) and they do not have parents (verified by going to Object->Relations).  I have tried the unlink command as well, to no avail.  I have seriously run out of options; what did I change to have my G->X shortcuts transform multiple objects? It seems completely at random, too; certain objects seemed to be "linked" to other random objects, and this "linking" is guaranteed when duplicating even when I do a non-linking duplicate (Shift+D).  What gives? Lets say I'm building a base class which will be extended upon by the children class. So a base class is called Base and children can be Child1, Child2, etc.  In the base class's constructor, how can i get the value of Child1/Child2?  This is all using PHP Is there an upper limit to temperature in thermodynamics or statistical mechanics In many presentations of statistical mechanics where we have a system of particles having mass, such as the molecules of an ideal gas, the temperature is often equated to the average relative velocity of the particles. However no such velocity can exceed that of light. Is there therefore an absolute upper bound to temperature as well as an absolute zero? I am having problems starting my Apache server, because port 443 is already in use.  It turns out, the system process (PID 4) uses the port 443. I don't have IIS installed, the services.msc shows (predictably) no Exchange server running, nor WWW-Services, nor IIS. I have no idea how to find out what service uses that port, short of just disabling each service one after the other, and I am not even sure that would help.  I would be grateful if someone could point me towards how I can get my SSL port back, thank you :)  P.S.: Of course "just switch Apache to another port for SSL" would solve the problem of not being able to start Apache. But I'd still like to know what is so insistent about hogging port 443. :)    I by now took the 'hard route' and disabled services one after the other. It turned out that the "Routing and RAS" service was the culprit.  Thank you all for the valuable input and the new tools in the combat against "WTF does my system do now?". Fundamental group of $S^2$ with north and south pole identified Consider the quotient space obtained by identifying the north and south pole of $S^2$. I think the fundamental group should be infinite cyclic, but I do not know how to prove this.   If it is infinite cyclic, would this and $S^1$ be an example of two spaces which have isomorphic fundamental groups but are not of the same homotopy type? Is it correct to use "their" instead of "his or her"? Switching to different font size(s) locally Well, you can see it for yourself. The badge multiplier is a bit misaligned. Can you fix this please? (I know it's kinda a minor issue but it's bugging me and it's somehow off)    If it helps, I'm using Chrome version 44.0.2403.125 m. (Also repro'ed on FireFox 39.0 and )    For no good reason, that's a screenie from 's profile page. This is my last homework problem and I've been looking at it for a while. I cannot nail down what is wrong with this proof even though its obvious it is wrong based on its conclusion. Here it is:     Find the flaw in the following bogus proof by strong induction that   for all $n \in \Bbb N$, $7n = 0$.      Let $P(n)$ denote the statement that $7n = 0$.      Base case: Show $P(0)$ holds.      Since $7 \cdot 0 = 0$, $P(0)$ holds.      Inductive step: Assume $7·j = 0$ for all natural numbers $j$ where $0 \le j \le k$ (induction hypothesis). Show $P(k + 1)$: $7(k + 1) = 0$.      Write $k + 1 = i + j$, where $i$ and $j$ are natural numbers less than $k + 1$.  Then, using the induction hypothesis, we get $7(k + 1) = 7(i + j) = 7i + 7j = 0 + 0 = 0$. So $P(k + 1)$ holds.      Therefore by strong induction, $P(n)$ holds for all $n \in \Bbb N$.   So the base case is true and I would be surprised if that's where the issue is.  The inductive step is likely where the flaw is. I don't see anything wrong with the strong induction declaration and hypothesis though and the math adds up! I feel like its so obvious that I'm just jumping over it in my head. Why non-measurable sets exist? What Is the reason behind the fact that $\Bbb R$ is not a complete measure space? Is it only due to the cardinality of  $\Bbb R$? Or other structures on  $\Bbb R$ also play a role? Can one make every subset of  $\Bbb R$ trivially measurable by assigning them to a number of a complete ordered field of the cardinality $\aleph_2$ ? How do you declare an interface in C++? How do I setup a class that represents an interface?  Is this just an abstract base class?