I cannot use both packages thmtools and tkz-euclide.  Following is a minimal nonworking example with "pdfTeX, Version 3.14159265-2.6-1.40.18":  \documentclass{article}  \usepackage{thmtools} \usepackage{tkz-euclide}  \begin{document} a \end{document}   this giving  /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty:433: Extra \endc sname. \kv@processor@default ...fincsname\@xa \endcsname                                                    \csname iftrue\endcsname \... l.433 } /usr/share/texlive/texmf-dist/tex/latex/oberdiek/kvoptions.sty:433:  ==&gt; Fatal  error occurred, no output PDF file produced!   Following is minimal nonworking example with "XeTeX, Version 3.14159265-2.6-0.99998":  \usepackage{amsmath} \usepackage{thmtools} \usepackage{tkz-euclide}  \newtheorem{thm}{Theorem}  \begin{document} a \end{document}   this giving  .test.tex.swp:8: LaTeX Error: Missing \begin{ document}.  See the LaTeX manual or LaTeX Companion for explanation. Type  H &lt;return&gt;  for immediate help.  ...                                                l.8   No pages of output.
I'm using TeXLive 2014. Here's a MWE:  \documentclass{article} \usepackage{tkz-fct}         % Must appear before {thmtools}  \usepackage{thmtools} \declaretheorem{theorem}  \begin{document}   \begin{tikzpicture}     \tkzInit  % No need to even plot anything!   \end{tikzpicture}    \begin{theorem}[A Silly Theorem]     Let $a = 1$. Then $a &gt; 0$.   \end{theorem} \end{document}   The error message is:  ! Extra \endcsname. \kv@processor@default ...fincsname\@xa \endcsname                                                   \csname iftrue\endcsname \... l.12   \begin{theorem}[A Silly Theorem]   If the optional theorem name is removed, all is well. Adding \protect{} doesn't help.  Any idea how to remove this conflict?  Thanks!
In-universe, a lightsaber is basically a controlled, fixed-length plasma stream that can be used as a sword. As such, the blade wouldn't have any mass (or infinitesimal mass if you want to get technical about E=mc2).  Anyone familiar with fencing or swordplay knows that the weight of the handle and blade, and thus the overall balance of the weapon, is critically important while fighting. A sword that is too blade-heavy is unwieldy; it is difficult to start, stop, and change the path of the blade as it's swung, which is vital to outmaneuvering your opponent in a duel. Conversely, a sword with too light a blade (equivalently, too heavy a hilt) is too easy to swing around. it's hard to "feel" where the blade is, and thus to make the minute changes needed to block a blow or land one. It can also be just as exhausting, in a different way, to wield such a sword; because most of the mass is behind your hand, it takes muscle power to point the blade forward instead of upward, while a balanced weapon would point directly forward from the user's hands. You also get no mechanical advantage while swinging it.  Obviously, out-of-universe the props were full "swords" that were then rotoscoped to paint the beam blade over the white wooden (later plastic) dowel that protruded from the saber. This gives the actual prop used by the actors a more realistic weight and balance, which can be seen in the duels (Darth Maul has to heave a bit to get that double-saber staff moving, and you can see the effort behind a full baseball swing of the sword by Luke or Vader in the original trilogy).  Was there any attempt in-universe to explain the weight and balance that an active lightsaber seemed to possess? Can the Hubble constant be measured locally? If the Standard Normal PDF is $$f(x) = \frac{1}{\sqrt{2\pi}} e^{-x^2/2}$$  and the CDF is  $$F(x) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^x e^{-x^2/2}\mathrm{d}x\,,$$  how does this turn into an error function of $z$? How to create a cross-browser sub document with iframe or shadow dom? How do you overlay an image on a shader in Cycles? I downloaded the iso file for XUbuntu. I created a live usb using Pen Drive Linux. I turned on my computer, booted to the XUbuntu installation screen, and selected "check disk for defects".  A minute later, it says that it found one defect. How do I figure out what this defect is? Using the expression "the same" for a previously mentioned item I frequently use &quot;the same&quot; as in the following sentence.  I need the details of XYZ project. Could you please send me the same as soon as possible?  Is this grammatically correct? I have not been corrected till now, but I have not seen the usage from native speakers very much either. Update: Seems like my example sentence was ambiguous. Hope the following sentence is better.  I need the documents for the meeting. Could you please send me the same as soon as possible? Infinite Series $\sum\limits_{n=1}^{\infty}\frac{1}{4^n\cos^2\frac{x}{2^n}}$ How to prove that  $$\sum_{n=1}^{\infty}\frac{1}{4^n\cos^2\frac{x}{2^n}}=\frac1{\sin^2x}-\frac1{x^2}$$ I have a table to store StudentID, SubjectID, ObtainedMarks. Now I have to create a pivot table to show studentID and obtainedMarks in different subject. Number of subject may differ. I could generate pivot table for fixed subjectID like    SELECT * FROM (SELECT StudentID, SubjectID, ObtainedMarks from [Exam].[ObtainedMarkEntry]) as InvoiceResult PIVOT (     sum(ObtainedMarks) for [SubjectID] in  ([1],[2],[3],[4]) )as finalResult   This works but problem is 1,2,3 is not static it should come from same table   So I did something like   declare @minvalue int, @maxvalue int declare @myArray varchar(max) set @MyArray=''  select RowID=IDENTITY(int, 1,1), SubjectID into #tempSubject from [Exam].[ObtainedMarkEntry] select * from #tempSubject set @minvalue = (select min(RowID) from #tempSubject) set @maxvalue = (select max(RowID) from #tempSubject) while (@minvalue&lt;=@maxvalue) begin     declare @sid nvarchar(10)     set @sid=(select SubjectID from #tempSubject where RowID=@minvalue)     set @myArray= @myArray + '[' + @sid + '], '      set @minvalue= @minvalue+1 end set @myArray= SUBSTRING(@myArray,0,len(@myArray)) drop table #tempSubject  declare @q as nvarchar(max) SELECT * FROM (SELECT StudentID, SubjectID, ObtainedMarks  from [Exam].[ObtainedMarkEntry]) as InvoiceResult PIVOT (     sum(ObtainedMarks) for [SubjectID] in  (@myArray) )as finalResult   Now I am getting error at in(@myArray) can't I assign variable in this section. Putting char into a java string for each N characters I have a java string, which has a variable length.   I need to put the piece "&lt;br&gt;" into the string, say each 10 characters.   For example this is my string:  `this is my string which I need to modify...I love stackoverlow:)`   How can I obtain this string?:  `this is my&lt;br&gt; string wh&lt;br&gt;ich I nee&lt;br&gt;d to modif&lt;br&gt;y...I love&lt;br&gt; stackover&lt;br&gt;flow:)`   Thanks I was trying to think but cannot figure it out. For instance, if the interaction is small, for instance limited to a windows, the observers in each universe will see that the other goes in reverse. But what if they can start a more meaningful interaction? (for instance, if one observer crosses the window and moves to the other universe, will anything change? why and how fast? (at least at the beginning his thinking will move in the same time arrow than in his universe, but the physical processes around him will still violate the second law? Updating the SubscriberKey on the All Subscriber table through the API I'm trying to update an existing Subscriber in the All Subscriber Table through the API; i've set up the AppId in the App Center and have connected and created Subscribers, but i'm still having issues updating.  What call do I need to be making to do this? These are the ones i've been trying. free groups: $F_X\cong F_Y\Rightarrow|X|=|Y|$ I'm reading Grillet's Abstract Algebra. Let $F_X$ denote the free group on the set $X$. I noticed on wiki the claim $$F_X\cong\!\!F_Y\Leftrightarrow|X|=|Y|.$$ How can I prove the right implication (find a bijection $f:X\rightarrow Y$), i.e. that the rank is an invariant of free groups?  I am hoping for a simple and short proof, having all the tools of Grillet at hand. Rotman (Advanced Modern Algebra, p.305) proves it only for $|X|&lt;\infty$, Bogopolski's (Introduction to Group Theory, p.55) proof seems (unnecessarily?) complicated, and Lyndon &amp; Schupp's (Combinatorial Group Theory, p.1) proof I don't yet understand. It's the very first proposition in the book; in the proof, they say:     The subgroup $N$ of $F$ generated by   all squares of elements in $F$ is   normal, and $F/N$ is an elementary   abelian $2$-group of rank $|X|$. (If   $X$ is finite, $|F/N|=2^{|X|}$ finite;   if $|X|$ is infinite, $|F/N|=|X|$). $\square$   Is $N:=\langle w^2;w\in F\rangle$? What is an abelian $2$-group? Elementary? What and how does the above quote really prove? I'm guessing a free abelian group on $X$ is $\langle X|[X,X]\rangle\cong\bigoplus\limits_{x\in X} \mathbb{Z}$?  Can an isomorphism $\varphi:F_X\rightarrow F_Y$ not preserve the length of words? At least one letter words? Can we get a flag history for chat's moderator attention flags? I checked my  to see whether I can find something similar to the main-site flag-history for chat-flags, but didn't find anything. I recently had the (dis)pleasure of regularly having to deal with a user, that has been deleted multiple times. Whenever they show up (with the same nick-name) again I have to flag them again. I'd like to get an overview of how often I had to do that, and whether my flags were helpful for the moderators. As such I propose the implementation of a flag-history as it is already in place for the main-site for chat-flags, that request moderator intervention. To be completely clear I am not talking about the 10k user flags, which are acted on in a matter of sometimes seconds with instantly visible results, but about moderator attention flags from this menu: I am stuck on how to calculate the following limit: $$\lim_{x\to\infty}x\left(\left(1 + \frac{1}{x}\right)^x - e\right).$$  Definitely, it has to be through l'Hôpital's rule. We know that $\lim_{x\to\infty} (1+(1/x))^x = e$. So, I wrote the above expression as $$\lim_{x\to\infty}\frac{\left(1 + \frac{1}{x}\right)^x - e}{1/x}.$$Both numerator and denominator tend to zero as x tends to infinity. I applied l'Hôpital's rule twice, but I got the limit equal to infinity which is clearly wrong. In the book, it says that the limit should be $-e/2$.  Any help please? Also, in case someone managed to solve it, please tell me which numerator and denominator did you apply your l'Hôpital's rule to in both cases? Thanks a lot  Also, guys can you tell me how to write equations in this forum? Thanks. I need a way of encoding the geometry line symbol. $\overline{AB}$ gives me the line segment symbol and $\overrightarrow{AB}$ gives me the ray symbol, I need a way to get a bar over the letters that has arrows on both ends. $\overrightleftarrow{AB}$ does not work.   Thanks! If $I$ and $J$ are ideals in a ring $R$ with $1$ such that $I+J = R$, show that $I^m$ and $J^n$ are co-maximal for all $m,n \in \mathbb{N}$ If $I$ and $J$ are ideals in a ring $R$ with 1 which are  co-maximal, i.e $I+J = R$, show that $I^m$ and $J^n$ are co-maximal for all $m,n$ in $\mathbb{N}$  Work done:     Should I proceed using    By taking $$K=I^m+J^m \neq R$$  Let $$S=\{I,J \in R \mid I^m+J^n \neq R \}$$ be the required partially order set ordered by inclusion then  $$I+J \subseteq I^n+J \subseteq I^n+J^m \subseteq \ldots $$  Then, I think this chain doesn't have an upper bound...as $I^m+J^n \neq R$ for all $ m,n \in \mathbb N$. Am I right??  Thanks for any help!! What are the main reasons the elves did not show up in force to defeat Sauron? During The Great Battle of the Last Alliance, there were an estimated 100,000 elves that fought with the armies of Isildur. This was one of the first scenes in the first LOTR movie. However, in the trilogy, it appears that only a small number of elves show up to Helms Deep and overall left the majority of the fighting to the humans. Why did the elves not participate during the rest of the war? How do I defeat the Kayran in the first chapter of the Witcher 2? In the first chapter you are supposed to slay the Kayran, this enormous beast:    I'm having a hard time with it. I drank the Mongoose potion for poison resistance and I have the Kayran trap, but it just hits me too often with its tentacles. Especially when the Kayran swings a tentacle sideways, not from above, I have a very hard time evading it.  Is there any trick besides not getting hit by the tentacles?  With a lot of luck I'm getting as far as the point where it's throwing stones. Any idea what I'm supposed to do then? Pygame - blitting from x and y cordinates of image