I would like to have an align environment which is not automatically written in a new line. For example in the following code, the formulas should appear in the same line as the itemize-dot or the Proof. :  \documentclass[10pt,a4paper]{article} \usepackage[latin1]{inputenc} \usepackage{amsmath} \usepackage{amsthm} \begin{document}  \begin{itemize}     \item     \begin{align*}     x &amp; = 0 \\     y &amp; = 15     \end{align*} \end{itemize}  \begin{proof}     \begin{align*}     x &amp; = 0 \\     y &amp; = 15     \end{align*} \end{proof} \end{document}   I know that I could use $\displaystyle x=0$ for single lines but the align environment is clearly better when aligning more than one line of formulas. Does anybody have an idea?
Related (but not the same):         Earlier today I asked a question about aligning equations in an enumerate environment and got an answer that seemed to work for the example I gave, but it turns out I wasn't really specific enough for my problem.  I'm using align* environments, often as the only part of a list item. (If you're wondering why I'm not using more words to introduce the align*, these are mostly homework solutions where most of the work is algebra, etc.)  Here's my code and what it makes (above the middle line):  \begin{enumerate}   \item \begin{align*}     x^2 + y^2 &amp;= x^2 + (iy)^2 \\               &amp;= (x + iy) (x - iy)   \end{align*}   \item \begin{align*}     \frac{1}{n^2-4} &amp;= \frac14 \frac{4}{(n-2)(n+2)} \\                     &amp;= \frac14 \left( \frac{1}{n-2}-\frac{1}{n+2} \right)   \end{align*} \end{enumerate}     I'm trying to make the baseline of the first line of the align* environment the same as the number's baseline—I want the first line of the align* to have the same vertical position (centered horizontally in the same way) relative to its number as in the second half of my picture. (Side question: why is there so much space before the align* starts?)
Which topics are essential for QGIS beginners? What topics do you think are essential in an introduction for QGIS?  The target audience is those with zero or rudimentary knowledge in mapping and geospatial software. Is it possible to put commands in /etc/motd? Can I put shell commands in the /etc/motd login banner file? I have tried:   $(uptime)   and  `uptime`   Is this possible? Brackets in if condition: why am I getting syntax errors without whitespace? I am using the below script to move two days back when script runs at starting two days of the year and also check first and second days of every month and move two days back. if [$month=&quot;01&quot;] &amp;&amp; [$day=&quot;01&quot;]; then         date=&quot;$last_month/$yes_day/$last_year&quot;         fulldate=&quot;$last_month/$yes_day/$last_year&quot; else         if [$month=&quot;01&quot;] &amp;&amp; [$day=&quot;02&quot;]; then                 date=&quot;$last_month/$yes_day/$last_year&quot;                 fulldate=&quot;$last_month/$yes_day/$last_year&quot;         else                 if [ $day = &quot;01&quot; ]; then                         date=&quot;$last_month/$yes_day/$year&quot;                         fulldate=&quot;$year$last_month$yes_day&quot;                 else                         if [ $day = &quot;02&quot; ]; then                                 date=&quot;$last_month/$yes_day/$year&quot;                                 fulldate=&quot;$year$last_month$yes_day&quot;                         else                                 date=&quot;$month/$yes_day/$year&quot;                                 fulldate=&quot;$year$month$yes_day&quot;                         fi                 fi         fi fi  But my bad am getting the below error message Etime_script.sh: line 19: [06=01]: command not found Etime_script.sh: line 24: [06=01]: command not found Precise back-reference target with hyperref and backref Why doesn't `sudo cd /var/named` work? Taking notes, I was going to write this:     therefore p′ is a shortest path.   But the topic is APSP which stands for "all pairs shortest paths" so I decided to just write SP instead and...  Is it written with a like this     therefore p′ is a SP   or with an like this (because in my head I would "read" the S)     therefore p′ is an SP How can I pass arguments to a batch file? Prove: If a linear map, $φ: U→V$ is bijective, then $φ(x)=0$ has only the solution $x=0$. Insert into ... values ( SELECT ... FROM ... ) I am trying to INSERT INTO a table using the input from another table. Although this is entirely feasible for many database engines, I always seem to struggle to remember the correct syntax for the SQL engine of the day (, , , , and ).  Is there a silver-bullet syntax coming from an SQL standard (for example, ) that would allow me to insert the values without worrying about the underlying database? Difference between projection and datum? What's the difference between a projection and a datum? Is it positive or negative for the average website to allow search engines to index user comments? I've been trying to answer this question myself by researching and searching on google but I haven't been able to come with a final answer. I have some hypothesis I would like share anyway:   The average website intends to reach the higher audience possible. User generated content by comments is an efficient way of increasing the relevance and the valuable information of the average website. Indexing comments will make any site attractive to spammers. Indexing comments is more convenient for new/low-traffic websites than it is for old/high-traffic websites. The web in general is currently choosing not to index comments in the average website because of fear to the SPAMMERS. The average author of a content-valuable comment would like his comment to be indexed Not indexing comments discourages the creation of content-valuable comments.   So, what do you think finally? Is it positive or negative for the average website to allow search engines to index user comments? Why? Prefer composition over inheritance? Why prefer composition over inheritance?  What trade-offs are there for each approach?  When should you choose inheritance over composition? Is there a way to use the formatter that comes with eclipse, outside of eclipse?  I would like to format some java files using my formatter.xml file that I have configured using eclipse.  Does anyone have any code examples that would allow me to do this?  I would also like to use this standalone, so the specific jars that are used would be nice. Pdf bookmark error in beamer Hi. I've compiled a Persian language beamer file by both luapersian and persian babel package using LuaLaTex, and in both I've the same problem in pdf bookmark as shown in the figure (some strange characters are shown instead of correct characters). Continuous versus differentiable A function is "differentiable" if it has a derivative. A function is "continuous" if it has no sudden jumps in it.  Until today, I thought these were merely two equivalent definitions of the same concept. But I've read some stuff today which seems to be claiming that this is not the case.  The obvious next question is "why?" Apparently somebody has already asked:    Several answers were given, but I don't understand any of them. In particular, Wikipedia and one of the replies above both claim that $|x|$ has no derivative. Can anyone explain this extremely unexpected result?  Edit: Apparently some people dislike the fact that this is non-obvious to me. To be clear: I am not saying that the result is untrue. (I'm sure many great mathematicians have analysed the question very carefuly and are quite sure of the answer.) I am saying that it is extremely perplexing. (As a general rule, mathematics has a habit of doing that. Which is one of the reasons why we demand proof of everything.)  In particular, can anyone explain precisely why the derivative of $|x|$ at zero is not simply zero? After all, the function is neither increasing nor decreasing, which ought to mean the derivative is zero. Alternatively, the expression  $$\frac{|x + a| - |x - a|}{a}$$  becomes closer and closer to zero as $a$ becomes closer to zero when $x=0$. (In fact, it is exactly zero for all $a$!) Is that not how derivatives work?  Several answers have suggested that the derivative is not defined here "because there would be a jump in the derivative at that point". This seems to assert that a continuous function must never have a discontinuous derivative; I'm not convinced that this is the case. Can anyone confirm or refuse this argument? How do the Flashes breathe utilizing their super speed? The air pressure would be extreme. Do they run in a pressurized bubble? I am trying to work out how to get the value of table cell for each row using jQuery.  My table looks like this:  &lt;table id="mytable"&gt;   &lt;tr&gt;     &lt;th&gt;Customer Id&lt;/th&gt;     &lt;th&gt;Result&lt;/th&gt;   &lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;123&lt;/td&gt;     &lt;td&gt;&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;456&lt;/td&gt;     &lt;td&gt;&lt;/td&gt;   &lt;/tr&gt;   &lt;tr&gt;     &lt;td&gt;789&lt;/td&gt;     &lt;td&gt;&lt;/td&gt;   &lt;/tr&gt; &lt;/table&gt;   I basically want to loop through the table, and get the value of the Customer Id column for each row.  In the code below I have worked out that I need to do this to get it looping through each row, but I'm not sure how to get the value of the first cell in the row.  $('#mytable tr').each(function() {     var cutomerId =  } When should we use proximity rule in "either/or", and "neither/nor"? According to this , if at least one of the nouns involved is plural then it should take the plural form of the verb. Otherwise, it should take the singular form of the verb. But in the last part it says not all grammars agree to those rules thus proximity rule applies. However, it doesn't explain when to apply the proximity rule and when not to use the former rules. Loop "Forgets" to Remove Some Items How to promote algebraic expressions to operators in quantum mechanics? Okay, I know that in quantum mechanics the quantum observable is obtained from the classical observable by the prescription   $$ X \rightarrow x,\quad P \rightarrow -i\hbar\frac{\partial}{\partial x} $$   in the position basis. Now my questions are:    What if $x$ or $p$ appears in the denominator in a classical expression?  How to promote this to a quantum expression? What would be the meaning of division by an operator?   My expression likely contains a mixture of $x$ and $p$. For e.g., it could contain terms like $$\frac{p}{x^2}$$ or $$\frac{xp}{(x^2 + a^2)^{3/2}}.$$    How to resolve products of non-commuting operators like $x$, $p$ in a satisfactory way?