I'm using the package , setting the language to nynorsk. I notice, however, that polyglossia's feature for the abstract environment is incorrect, since Sammendrag is not Nynorsk. How can I override this and provide my own heading in this case?  \documentclass{article} \usepackage{polyglossia}     \setdefaultlanguage{nynorsk}  \begin{document} \begin{abstract} \end{abstract} \end{document}
I'd like to modify the names used to typeset some of my document elements. For example, the caption of figure floats should change from "Figure" to "Fig.", and my \tableofcontents sectioning heading shouldn't read "Contents", but "Table of Contents". How can I do that?  \documentclass{article} % \usepackage[english]{babel} \begin{document} \tableofcontents \section{foo} \begin{figure}[h] \centering \rule{1cm}{1cm}% placeholder for graphic \caption{A figure} \end{figure} \end{document}
Can "cattle" be singular? I've grown up on a farm, and my dad and his dad, apparently, always used "cattle" to refer to both the singular and plural forms of the domestic bovine. I've always assumed it's how the word "deer" is.  However, I've heard people say that this is incorrect and the singular is just "cow", but this has always offended us as a cow is a mother cattle, and is incorrect if you're referring to a steer, a bull, or a heifer.  So, is cattle singular as well as plural? If not, is there some general, non-gender-specific word that should be used instead? Axiom of Choice: Where does my argument for proving the axiom of choice fail? Help me understand why this is an axiom, and not a theorem. In terms of purely set theory, the axiom of choice says that for any set $A$, its power set (with empty set removed) has a choice function, i.e. there exists a function $f\colon \mathcal{P}^*(A)\rightarrow A$ such that for any subset $S$ of $A$, $f(S)\in S.$ Is this correct?  My question then is about proving this fact, so that we do not need to put it as an axiom. Now as per the research done on this single object- Axiom of Choice, I believe here that there should be some falsity in my argument. I do not find the mistake.  For any $S\in \mathcal{P}^*(A)$, since $S\neq \emptyset$, $\exists s\in S$. Define $f(S)=s$. Then $f$ is a choice function.  This was showing me that the axiom of choice is proved, but then why it had been put as an axiom? For example, in  book, the author asserts that      It is a metatheorem of mathematical logic that it is impossible to specify the function that assigns to each non-empty subset of $\mathbb{R}$, an element of itself.     There are several notes and books on axiom of choice, but here I am trying to understand through doing some argument for some problem, where problem actually arises. How to calculate the distribution of the minimum of multiple exponential variables? $X_1$, $X_2$, $X_3$ are independent random variables, each with an exponential distribution, but with means of $2.0, 5.0, 10.0$ respectively. Let $Y$= the smallest or minimum value of these three random variables. Derive and identify the distribution of $Y$. (The distribution function may be useful).    How do I solve this question? Do I plug in each mean to the exponential distribution? I would appreciate it if someone could explain this to me, thanks. Rules and guidelines for drawing good schematics There are a lot of poorly drawn schematics here. A few times people have actually asked for critiques of their schematics. This question is intended as a single repository on schematic drawing rules and guidelines can point people to. The question is  What are the rules and guidelines for drawing good schematics?     Note: This is about schematics themselves, not about the circuits they represent. Travel to US two day before B1 visa expires How do I search events between two set dates inside WP? How do I use method overriding in this case? Converting an array of objects to an array of their primitive types If you have an array of Java objects which have a primitive type (for example Byte, Integer, Char, etc).  Is there a neat way I can convert it into an array of the primitive type?  In particular can this be done without having to create a new array and loop through the contents.  So for example, given  Integer[] array   what is the neatest way to convert this into  int[] intArray   Unfortunately, this is something we have to do quite frequently when interfacing between Hibernate and some third party libraries over which we have no control.  It seems this would be a quite common operation so I would be surprised if there's no shortcut.  Thanks for your help! How should a bot earn enough reputation to perform the actions necessary for that bot? Looking for illustrator script to swap all objects with another I have a map with small circles for over 200 cities. I need to change all of the circles into map pins. Is there a way to do this? I think it's a script maybe.   I know how to select all objects of the same appearance and give them a new graphic style but that will only let me change the color, stroke, etc. not replace with a new shape. Let me edit a post in the close review, then vote to close it I think we need a button that says Edit and Close added to the Review Close button options.  Many of these closed posts will be around forever (and should be, closed should not just be a path to deletion), so they need editing.  If I edit it now it goes away, with the only option being a back click to get back to the review, and then click into the post and edit it.  We have an Edit and Reopen button, so this would fit in just fine. Switching to HTTPS - redirect question Show by induction that for all natural numbers n>3  $(1+\frac{1}{n})^n&lt;n$  Let $(1+\frac{1}{n})^n&lt;n$ be true !   We show that $(1+\frac{1}{n+1})^{n+1})&lt;n+1$  $(1+\frac{1}{n})^n(1+\frac{1}{n})&lt;n(1+\frac{1}{n})$   $(1+\frac{1}{n})^{n+1}&lt;n+1$  So now we just need to show that   $(1+\frac{1}{n+1})^{n+1}&lt;(1+\frac{1}{n})^{n+1}$  So here , If I show that :   $(1+\frac{1}{n+1})&lt;(1+\frac{1}{n})$   Does that mean im done with exercise ? Stone-Weierstrass theorem with $p(1/x)$ I am trying to prove that for a continuous $f\colon[1,\infty)\rightarrow\mathbb R$ and $f(x)\to a$ as $x\to\infty$ it could be approximated by $g(x)=p(1/x)$ where $p$ is a polynomial. Which one is correct?   Neither my friend nor I feel my best in the morning. Neither my friend nor I feel her best in the morning. Neither my friend nor I feel our best in the morning.    I already know that the verb agrees with the subject closer to the verb:   Neither my friends nor my brother understands me. (correct) Neither my friends nor my brother understand me. (wrong)   AND   Neither my brother nor my friends understand me. (correct) Neither my brother nor my friends understands me. (wrong) Why does centering not work with calligra? So I'm at that step where I am finally ready to Render my first big project. Aaaaaand it's been stuck on the first 4 tiles for the last 2 hours?   I am using a MacBook Pro Processor: 2.5 GHz Intel Core i5 Memory: 4 GB 1600 MHz DDR3 Graphics: intel HD Graphics 4000 1024 MB  (I include these because I have no idea what affects a computers ability to render but I assume it's one of them, most liekly the graphics card).  So anyways here are the pictures, as you can see I played with changing the resolution, the sample size and the max steps to see if I got different results but it just keeps getting stuck at those 1st four tiles. I've rendered a few other small projects successfully but this was my first time changing some values. I assume i've managed to accidentally change the wrong values and thats causing some conflict thats either stopping the render itself or is making it just too much for my computer.  My goal was the render this particular picture at a good enough resolution and clarity that it could then be made into a poster. So i wanted the resolution to be good and the sampling to be high.       Since writing this there has been no change to any of the numbers at the top of the render result (the time left, etc) How to correctly assess the correlation between ordinal and a continuous variable? I'd like to estimate the correlation between:  An ordinal variable: subjects are asked to rate their preference for 6 types of fruit on a 1-5 scale (ranging from very disgusting to very tasty) On average subjects use only 3 points of the scale.  A continuous variable: the same subjects are asked to quickly identify these fruits, which results in an mean accuracy for the 6 fruits.   Is Spearman rho the best method to analyze these data and/or are there other good methods I could consider? General solution of expected value of E(f(X))? This is maybe a trivial question I came up while solving a few examples and understanding Markov/Chebyshev inequalities and subsequently in evaluating Chernoff bounds. Suppose $X$ is a random variable with some distribution $p$ and we need to evaluate $\mathbb{E}[f(X)]$. Here, $f(X)$ may or may not have the same distribution as $X$. In my case, if $f(X) = e^{sX}$, where $s&gt;0$. I would work out this problem by letting $Z = e^{sX}$ and   $\mathbb{E}[f(X)] = \mathbb{E}[Z] = \int_{\infty}^{\infty}z \hspace{0.2em}p(z)dz$.   Now I find the distribution of $Z$ as: $P\{ Z \leq z \} \implies P\{ e^{sX} \leq z \} \implies P\{ X \leq \frac{\log(z)}{s}\} = \int_{-\infty}^{\frac{\log(z)}{s}}x.p(x)dx $  thereby substituting this into the expectation one gets $\mathbb{E}[Z] = \int_{\infty}^{\infty}z\hspace{0.2em} \left(\int_{-\infty}^{\frac{\log(z)}{s}}x\hspace{0.2em}p(x)dx\right)^{\prime} dz$  According to the Law of Unconscious Statistician , this approximates distribution of $Z$ as $p$. I understand the backward proof through calculus, I don't follow the measure theory approach. For example I don't follow how this works if say $X \sim Gamma$. Is there a source I can read through for someone with no measure theory background? Getting ssh to execute a command in the background on target machine