How to get smallcaps for a font that doesn't support it? I have a few artistic fonts that I use in XeLaTeX with the fontspec package. However, they don't support smallcaps out of the box.  Is there a way to tell LaTeX to "fake" smallcaps by capitalizing everything and scaling the lowercase letters down a bit, similar to how Word or OpenOffice do it?   Minimal example, even though it's pretty obvious:  \documentclass{report}  \usepackage{fontspec}  % Really any font that doesn't include small caps definitions \newfontfamily\titlefont{Old London Alternate}  \begin{document} \titlefont \scshape Test Text \end{document}   The Test Text is not rendered in small caps, as it would be if the font supported small caps.  Thanks for pointing me to , which works fine in general, but has the drawback that it fails on UTF-8 encoded files with non-ASCII characters, which I need to use. If you have an idea how to modify that answer to also support non-ascii characters, please let me know.
Fake small caps with XeTeX/fontspec? Using XeTeX and fontspec, I use the Liberation font family in of my documents. Unfortunately those fonts (esp. Liberation Serif) do not natively support small caps.  Is there a way to enable fake small caps in fontspec?
I'm in a numerical analysis course right now and it's pretty rigorous but I'm enjoying it a lot. I took a lower level course before that was more oriented towards implementation of numerical methods, so it's not my first time with the material.  Anyway, my professor wrote his own course notes and they're fantastic but I wanted some reference material since I'm currently outlining my own notes. Just wondering what the big ones out there are  edit: I would say I'm at an advanced undergraduate level Trying to remember a book about a human male travelling to alien planet I listened to this on audiobook and it was great.  The premise was a human ends up travelling to an alien planet. The aliens have a perimeter to their 'base' that is under constant attack from the planet's animals. It is revealed towards the end that there is some sort of signal being transmitted that is making all the animals and plant life attack a certain point on the planet (where the aliens are).   Other major plot points I remember: The human traveller falls in love with an alien. The aliens have a sort of virtual training environment that simulates life outside the perimeter, where plants attack you etc. There is a secondary alien group that the human ends up with, and although they are rivals to other group, they have a trade set up.   Any help much appreciated! Thanks. For US federal tax, whether a taxpayer is subject to AMT is determined by a complicated way in Instructions for Form 1040, Line 45, which involves an incomprehensible "worksheet to see if you should fill in form 6251".  By simplification and approximation, is there a rule of thumb for an estimate of a salary value of a taxpayer, so that a salary above the value might cause the taxpayer to pay AMT with a big possibility, and a salary below the value might not with a big possibility?  Why do the following two sources seem to differ greatly in estimates of the boundary salary value:    says that  the possible boundary salary value for a single taxpayer  to pay AMT is $53,900.  says that      Taxpayers with small incomes fall within the AMT exemption limits.   That leaves the upper middle class to face the tax, especially those   with incomes between $200,000 and $500,000    Thanks. Elantech Touchpad not working on Ubuntu 16.04 and Arch Linux So I have and Asus R558UF notebook with an Elantech Touchpad. After installing Ubuntu 16.04, the touchpad worked once but after restarting, it failed to work and has not been working ever since.  This is output of xinput:   ↳ Elan Touchpad                            id=12   [slave  pointer  (2)]   In Mouse and Touchpad settings, the touchpad is enabled. What should I do to fix this? How can I use function's parameter in it? I know you can create a rounded-corner rectangle; but, how do you create a triangle with rounded corners in Photoshop?  I am actually interested in making it from scratch, not basing it on a custom shape that is available in Photoshop. Thanks. When I learned about the Minkowski Space and it's coordinates, it was explained such that the metric turns out to be $$ ds^{2} = -(c^{2}dx^{0})^{2} +(dx^{1})^{2} + (dx^{2})^{2} + (dx^{3})^{2}   $$ where $ x^0,x^1,x^2,x^3 $ come from $ x^{\mu} : \mu = 0,1,2,3 $, and $ c $ is the speed of light. The first resource I had access to--I have to do a bit of digging for the exact paper--of course addressed that this invariant takes the tensor form: $$ ds^2 = g_{\mu \nu}dx^{\mu}dx^{\nu} $$ as well. This two things I've seen in all of my texts and online resources regarding resources. The element in question that varies between authors, is the time coordinate, $ x^0 $. When it was first explained to me, it was using the standard Cartesian representation for the spatial portion of the coordinates, and the time coordinate was labeled as $ x^0 = ict $. Squaring gives $ (x^0)^2 = -c^2t^2 $, and applying differential calculus, we get $ (dx^0)^2 = -c^2dt^2 $. Sensible and expected to have the tensor formula spit out the Minkowski Metric. The author then later explicitly states the coordinates are $ x^0 = ict, x^1=x,x^2=y,$ and $x^3 = z$.  My questions is then, why is it most authors on the subject omit the imaginary unit on the time coordinate? For example, .   The only reason I can fathom omission is if the author is using metric signature $ [+,-,-,-] $, where I started off learning the theory with signature $ [-,+,+,+] $ which may be the reason seeing the time coord with no imaginary unit seems dissonant to me. All help appreciated!  Edit: After reading the other answers, my questions is now one of why and how (mathematically) do we obtain the Minkowski Metric Signature. More specifically the one element with a different sign. How to redirect users to custom lostpassword page? How do I run a file on localhost? On average, how many times must I roll a dice until I get a $6$?  I got this question from a book called Fifty Challenging Problems in Probability.   The answer is $6$, and I understand the solution the book has given me. However, I want to know why the following logic does not work: The chance that we do not get a $6$ is $5/6$. In order to find the number of dice rolls needed, I want the probability of there being a $6$ in $n$ rolls being $1/2$ in order to find the average. So I solve the equation $(5/6)^n=1/2$, which gives me $n=3.8$-ish. That number makes sense to me intuitively, where the number $6$ does not make sense intuitively. I feel like on average, I would need to roll about $3$-$4$ times to get a $6$. Sometimes, I will have to roll less than $3$-$4$ times, and sometimes I will have to roll more than $3$-$4$ times.  Please note that I am not asking how to solve this question, but what is wrong with my logic above.  Thank you! Does the Hong Kong metro map give interchange direction suggestions? On the , some of the interchange symbols have little lines and half-circles in them. They're a bit small to read on some maps, but if you zoom in they get a big clearer:    Are these suggestions for where to change depending on the direction you're going + changing to? Or do they have some other meaning?  .  Bonus marks - Assuming I am right that that these are direction interchange suggestions, what does it mean if it's an empty circle, or a "T" in one? Prove by induction that $n! > n^2$ How does one prove by induction that  $n! &gt; n^2$  for $n \geq 4$ A star's collapse can be halted by the  due to the Pauli exclusion principle. In extreme relativistic conditions, a star will continue to collapse regardless of the degeneracy pressure to form a black hole. Does this violate the Pauli exclusion principle? If so, are theorists ok with that? And if it doesn't violate the Pauli exclusion principle, why not? Let $A$ be the set of all functions $f:\mathbb{R}\to\mathbb{R}$ that satisfy the following two properties. Let $A$ be the set of all functions $f:\mathbb{R}\to\mathbb{R}$ that satisfy the following two properties:  (1) $f$ has derivative of all orders, and  (2) for all $x,y \in \mathbb{R}$, $f(x+y)-f(y-x)=2xf'(y)$.  Which of the following sentences is true?  (a) Any $f\in A$ is a polynomial of degree less than or equal to 1  (b) Any $f \in A$ is a polynomial of degree less than or equal to 2  (c) $\exists f \in A$ which is not polynomial  (d) $\exists f \in A$ which is a polynomial of degree 4  It is a problem from TIFR GS-2018. I have found polynomials upto degree 2 hold this properties but have to exclude the possibility of (c) and (d). I also found out if $f'(x)$ has at most one real root and clearly graph of $f$ is symetric about that root. How can I proceed further? Android/Java - Date Difference in days How can I delete a (null) app in usage? In my usage list(settings>general>storage &amp; iCloud usage>manage storage), there is an app that registers as (null) with no icon, a version number that doesn't match anything I've previously downloaded, and it's taking up storage space. I first noticed it about a week or two ago. And no, I can't download recent apps to find the one that it is, because I downloaded multiple apps recently, and didn't notice the (null) app until my storage was critically low and I was looking to delete something. I am running iOS 9.2.1 on an iPhone 5C. If $g\circ f$ is injective and $f$ is surjective then $g$ is injective Angle Constructions Over the numerous math tests I've taken, I have yet to understand what angle can be constructed and what cannot. From my understanding, 30, 45, 60, and 90 degree angles can be constructed. You can then use these angles and subtract or add them to create other angles like 15 or 75. Also, any angle can be bisected. Are there any other basic angle measures that can be constructed like 30, 45, etc.? So 82.5° is an angle measure  that can be constructed because you can add 60+60+45 to get 165 and then bisect it. Name for categorical product inside a monoid If a monoid is a category with a single object, is there a "monoid-theoretical" concept that the categorical product translates to? As an analogue, in a poset the product translates to the notion of meet (and the coproduct to its dual, the join).  Just by unwinding the definition one can see that this boils down to the existence of two monoid elements $p_1$ and $p_2$ such that for every $x$ and $y$ in the monoid there's a unique element $\langle x,y \rangle$ that factors as $x = p_1\langle x,y \rangle$ and $y = p_2\langle x,y \rangle$; the question is whether the concept is a known and/or useful one.  Incidentally, if the monoid in question is a group then the existence of a product makes the whole thing collapse into the trivial group; this might or not hint that the concept I'm looking for is "too boring" to have a name. In fact it suffices for one of the projections to be right cancellable, or for the pair $\langle x,x\rangle$ to be left cancellable for some $x$, to make the whole thing collapse. Boats from Manaus, Brazil to Leticia, Colombia? I've heard of and met a few people who have done this route, and I hope to do it at the end of this year or early next year.  However, the descriptions were mostly sketchy, and I'm wondering if it's a regularly scheduled service, or more ad-hoc.  So I guess the question is, how can I find out which boats go from Manaus to Leticia, and when they go?  Ideally this wouldn't be a tour, but a 'locals' boat.