Is there an easy way to change the font type in ShareLatex? I've tried all of the instructions I could find on their website, but they do nothing.  Let's say, for example, that I wanted to use Windows font Arial in a beamer presentation. How would you do this?
A standard document (e.g. scrreprt) uses roman font family for text and Sansserif font family for titles etc. It is the other way round in beamer. How can I switch the two font families? Or why do beamer define the font families in this way?  For the background: I think this is my problem when using formulas, because they use the Sansserif font instead of the roman version. Formulas using the euler package look really poor.  P.S.: I compile with LuaLaTeX using TeXlive 2013.
Restrictive vs Non-restrictive Relative Clause Looking for a short story about a robot evolving to have supernatural powers I'm looking for a short story from about 50 years ago about a robot who escapes after being slated to be melted down and discovers while in hiding that it has evolved to have some supernatural powers. What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? The number of nonnegative integer triples with sum equal to $12$ How many triples $x,y,z$ satisfy  $x+y+z=12$, where  $x,y,z\ge 0$ are integers? Note that these are not ordered: $ (12,0,0)$ and $(0,12,0)$ are treated as same. Progress I have tried the formula ${13\choose 2}$ to select values of $x$ and $y$ from $0$ to $12$ as  $z$ would keep changing according to $x$ and $y$. (That is, $z=12-x-y$.) The problem is that that certain combinations of $x$ and $y$ would give value of $x+y$ greater than $12$. I can't seem to get around this. C++ Program communicating with MySQL Database Does anyone know of a simple way for a C++ program to communicate directly with a MySQL database?  I have looked at MySQL++ and found it to be very confusing.  If anyone knows of a very simple way of doing this, please let me know.  Thanks  P.S. I am developing on a Windows machine.  PHP and MySQL web web application setup.  C++ setup to talk to the serial port.  Thus why I need a way for C++ to talk to the MySQL database directly. No Indian (and Bengali) keyboard layout in Ubuntu 17.04? I've upgraded from Ubuntu 16.10 to 17.04 today. I'm from Bangladesh, and Bengali is my native language. There was an option to set keyboard layout to Bengali in all previous Ubuntu versions I've used. But there's no such option in 17.04, strangely. I can use Bengali by installing the package ibus-m17n,  so I thought maybe there was some problem during my upgrade. But then I checked my friend's PC which runs ubuntu 16.10 and found that ibus-m17n was not installed in 16.10 but there's option for Bengali keyboard layout. So is Bengali keyboard support really removed from 17.04, or was there a problem during my upgrade? Recently, the TeX.SE question  got onto the Hot Network Questions list.  Like many questions on TeX.SE, it contains some TeX markup in its title.  Unfortunately, on , this markup gets parsed and rendered as math:    I propose that either:   the entire Hot Network Questions sidebar should be excluded from MathJax parsing by styling it with the tex2jax_ignore class, or at least, any hot questions from TeX.SE should be so excluded from MathJax parsing.   Or I suppose we could always implement , which asks for all questions with TeX in the title to be excluded from Hot Network Questions entirely.  That might be throwing out the baby with the bathwater, though.    Ps. This issue is partially masked by , which causes MathJax not to be rendered in many elements that are hidden by default and revealed using jQuery .show(), such as all but the first five questions in the Hot Network Questions sidebar.  The  user script contains a generic fix for that bug, so users who have it installed will see this issue more frequently, but it occurs even without SOUP whenever a question with TeX markup in the title happens to show up among the top five hot questions that are always visible by default. How do I remove hidden backup files? I have files ending in ~ in my home directory, and I want to delete them. How do I do that? How do I prevent this backup functionality? Content is not allowed in Prolog SAXParserException Looking to identify a short story I read in a sci-fi anthology as a child, about an angry, bullied somewhat misanthropic boy who is given immense near-omnipotent powers by an alien intelligence. I read this in English, sometime in the late 1990s/early 2000s. He goes on to use this power to destroy the human race, which causes him to age terribly in a very short amount of time. At the end of the story he is a lonely old man stripped of the powers he held briefly, and is alone on an isolated Earth. The aliens then proceed to invade Earth. MWE:  \documentclass{minimal} \usepackage{commath, tikz} \begin{document} \begin{tikzpicture} \node {$:$}; \end{tikzpicture} \end{document}   When I compile this, pdfTeX enters an infinite loop. Why? Integrating $\int\frac{x^3}{\sqrt{9-x^2}}dx$ via trig substitution What I have done so far: Substituting $$x=3\sin(t)\Rightarrow dx=3\cos(t)dt$$ converting our integral to  $$I=\int\frac{x^3}{\sqrt{9-x^2}}dx=\int \frac{27\sin^3(t) dt}{3\sqrt{\cos^2(t)}}3\cos(t)dt\\ \Rightarrow \frac{I}{27}=\int \sin^3(t)dt=-\frac{\sin^2(t)\cos(t)}{3}+\frac{2}{3}\int\sin(t)dt\\ \Rightarrow I=18\cos(t)-9\sin^2(t)\cos(t)+c$$ Which is where I'm stuck. I can substitute back in for the $\sin(t)$ terms but don't know hot to deal with the $\cos(t)$ terms and back out information about $x$.   edited: because I miswrote the problem, I am sorry. Are commands complete sentences? seems to indirectly ask the question, but the upvoted answer says &quot;the actual sentence is...&quot;. So my question is this: Are commands considered to be grammatically sound, complete sentences in the English language? Some examples:  Go. Add a note. Do work. Reasons why not to update an Ubuntu version to a newer/older kernel version Is it feasible to compile Python to machine code? I am a final year PhD in UK in a scientific discipline and I am writing my thesis. I have already published 2 journal papers and I have submitted 2 more papers for publications. My department does not allow a "publications-based" thesis so I need to write a thesis in the context of a book etc.   As I write my thesis in a couple of places, especially in the literature review, I tend to reuse sentences from my publications. I try to restate them a bit, maybe change some words for their synonyms etc. but it is practically me writing about what I wrote before. It goes without saying that I cite/quote me at the end of a passage if I say something non-obvious (I found that slightly funny. :) ). The problem is that occasionally I am just explaining for instance how a certain estimation technique works; in that case I cite the original authors and not myself. The syntax in those occasions though is practically the same as the original passage I used in my publication; as I have explained it once and was consider good, I find no reason to reinvent myself (I do a mild rewording as I mentioned but that is quite insignificant). Same things goes for listings. I do cite my paper in the beginning of a big list as the list's source but the list itself is almost identical as the one in "my" paper; in those cases I don't use quotations, just attribution "[]".  Is there an obvious guideline? The basic definition of plagiarism "reproducing the work of another person's as your own" is not (directly) applicable to me because I am the other person (almost *); if I am using other people's work I do cite them but I don't cite myself, citing them, in quotation marks!  I am a bit "fuzzy" about how not to plagiarize myself in my thesis (I have had no problem regarding my journal publications).  (* In all publications mentioned I am the first -but not sole- author.) I would like to know where gravity gets its energy to attract physical bodies?  I know that the law of conservation states that total energy of an isolated system cannot change. So gravity has to be getting its energy from somewhere, or else things like hydropower plants wouldn't be able to turn the power of the falling water into a spinning rotor.  Just to be clear, Lets create an example:  Lets say we have two objects with equal mass close to each other. So gravity does its job and it pulls each other closer, this gets turned into kinetic energy. This is where I'm lost. According to the law of conservation energy can't be created or destroyed and the kinetic energy comes from the gravitational pull so where does the gravitational pull gets its energy.  If that energy isn't being recycled from some where else then that means you have just created energy, therefore breaking the law of conservation. In which Comic Book series is Batman actually Thomas Wayne? I've heard people say that there is a series of comics where Batman is actually Thomas Wayne instead of his son, Bruce.   Where can I find this? What is the series called? Show that if $f$ is integrable on $[a, b]$ then $\lvert f \rvert$ is also integrable. Hint: Show that $$U (P , \lvert f \rvert) − L(P , \lvert f \rvert) ≤ U (P , f ) − L(P , f ).$$ I have: $$U (P , \lvert f \rvert) \ge U (P , f )$$ and $$ L(P , \lvert f \rvert) \ge L(P,f)$$ Thus, $$U (P , \lvert f \rvert) − L(P , \lvert f \rvert) ≤ U (P , f ) − L(P , f ).$$ If I were to attack with a 4/4 indestructible creature and it's blocked by a 4/2 creature with first strike, would my indestructible creature still attack during the second combat damage step, or would it just tap, not assigning any damage?