I'd like to add some small caps to the headers. How could I do that? This is my MWE:  \documentclass[a4paper,12pt,twoside]{book} \usepackage[utf8]{inputenc} \usepackage{fontspec} \setmainfont{Baskerville} \usepackage{lipsum} \usepackage{fancyhdr}    \pagestyle{fancy} % We don't want chapter and section numbers \renewcommand{\chaptermark}[1]{\markboth{#1}{}} \renewcommand{\headrulewidth}{0pt} \fancyhf{} % sets both header and footer to nothing \fancyfoot{} \fancyhead[LE,RO]{\thepage} \fancyhead[CE]{\textsc{A title}} % even pages: chapter title \fancyhead[CO]{\textsc{\leftmark}} % odd pages: book title  \begin{document}  \chapter{A title}  \lipsum  \end{document}
MWE:  \documentclass[a4paper,12pt,twoside]{memoir} \usepackage{DejaVuSerifCondensed} \usepackage[T1]{fontenc} \begin{document} \noindent\scshape{Hello World}\\ \textsc{Hello World} \end{document}   Explanation and question:  As you can see, I am working with a memoir document class and I've load a font DejaVuSerifCondensed, I am trying to obtain small caps for my header (which I did not place in the MWE as unnecessary). However I can't obtain the desire effect with the \scshape command nor with the \textsc{}.  I've seen other questions like     .   But either they do not adapt to my problem (for what I can see) or they do not solve the problem (following the instructions there and "inserting" the piece of code in mine).  Question here is: is there a general method (piece of code or something) to obtain small caps from a custom font (even if that is one I upload with a ttf)?, if not, what would be the piece of code to select the standard small caps font?
Beamer, Babel and Tikz conflict Why are there so many different ways to measure disk usage? I have my local.machine, the proxy.machine and target.machine. local.machine doesn't have direct contact with target.machine, but needs to go through proxy.machine.   I want to scp a file from target.machine to local.machine. Is this possible to do with just one command from local.machine? What equipment and settings do I use for panning shots of moving objects? Let $f\colon X\to\overline{\mathbb{R}}_{\geq 0}$ be a measurable function. Show that     $$ \int f\, d\mu=\int\limits_0^{\infty}\mu(\left\{x\in X: f(x)&gt;t\right\})\, dt. $$     (The right integral is to be read as an Lebesgue-integral.)      Hello, my idea is to approximate $f$ by the functions $$ f_n:=2^{-n}\sum\limits_{k=1}^{\infty}\chi_{\left\{x\in X: f(x)&gt; k/2^n\right\}}. $$  With this approximation by simple functions I got $$ \int\limits_X f\, d\mu=\lim\limits_{n\to\infty}\int\limits_X f_n\, d\mu=\lim\limits_{n\to\infty}\sum\limits_{k=1}^{\infty}\frac{k}{2^n}\cdot\mu\left(\left\{x\in X: f_n(x)=k/2^n\right\}\right)\\=\lim\limits_{n\to\infty}\sum\limits_{k=1}^{\infty}\frac{k}{2^n}\cdot\mu\left(\left\{x\in X:f(x)&gt;k/2^n\right\}\right) $$  This is the point where I do not come along anymore... is that right to this point and if yes: How can I continue in order to get the desired right side?  With regards When I right click the Filezilla icon, the only options are "launch" and "properties". How do I remove it from the top panel? For many of my datasets I have the same imported data duplicated numerous times, each iteration displaying the data values for a different column (in my case it's fish catch weight per gridded cell per year, so lots of iterations of the same grid, with a different pattern of values per year).  For presentation purposes, it strikes me as helpful to use the same scale for each year, so I go to the original data and divide the maximum value into (arbitrarily) 10 classes and manually input the values and labels after setting the desired colour ramp and input data field:   This is extremely tedious, not just the manual excel calculation part, but also the input interface for the values &amp; labels*, hence my intention to make use of the 'save style' option. HOWEVER: when I save the style as QML and load it for the next layer, it saves everything - including the data field (in my case, year). When I change this field, QGis automatically generates the values &amp; labels based on the data for that field, ditching all of the values &amp; labels I set.   Is there any way to avoid this happening &amp; thereby duplicate class number, values and labels for each field by simply loading a style? (somewhat meta) Am I going around this the wrong way, OR, is there a different face I could use to climb this mountain? macOS Catalina File Structure: Cannot remove &gt; sudo rmdir /sw rmdir: /sw: Read-only file system  &gt; mount | grep read /dev/disk1s5 on / (apfs, local, read-only, journaled)  &gt; sudo mount -o rw / &gt; mount /dev/disk1s5 on / (apfs, local, journaled) &gt; sudo rmdir /sw rmdir: /sw: Operation not permitted     root /&gt;$ mkdir a root /&gt;$ rmdir a root /&gt;$ rmdir sw &lt;b&gt;rmdir: sw: Operation not permitted&lt;/b&gt; root /&gt;$ rmdir opt &lt;b&gt;rmdir: opt: Operation not permitted&lt;/b&gt; root /&gt;$ rmdir mnt &lt;b&gt;rmdir: mnt: Operation not permitted&lt;/b&gt; root /&gt;$ rmdir home &lt;b&gt;rmdir: home: Operation not permitted&lt;/b&gt;   What exactly is preventing me from removing these directories even with SIP disabled? Convert quaternion to a different coordinate system OSVR has a right-handed system: x is right, y is up, z is near.  I need to convert orientation data from a sensor in OSVR to a different right-handed system in which x is forward, y is left, and z is up.  I need to calculate the transformation that will convert a quaternion from one system to the other.  I naively tried:  void osvrPoseCallback(const geometry_msgs::PoseStampedConstPtr &amp;msg) { // osvr to ros     geometry_msgs::PoseStamped outputMsg;      outputMsg.header = msg-&gt;header;     outputMsg.pose.orientation.x = msg-&gt;pose.orientation.y;     outputMsg.pose.orientation.y = msg-&gt;pose.orientation.z;     outputMsg.pose.orientation.z = msg-&gt;pose.orientation.x;     outputMsg.pose.orientation.w = msg-&gt;pose.orientation.w;      osvrPosePub.publish(outputMsg);     ros::spinOnce(); }   But that made things really weird. Facing north pitch is pitch, facing west, pitch is yaw, facing south, pitch is negative pitch...  How can I convert my OSVR quaternion to the a corresponding quaternion in the new coordinate system? probability question ("birthday paradox") $n$ people attend the same meeting, what is the chance that two people share the same birthday? Given the first $b$ birthdays, the probability the next person doesn't share a birthday with any that went before is $(365-b)/365$. The probability that none share the same birthday is the following: $\Pi_{0}^{n-1}\frac{365-b}{365}$. How many people would have to attend a meeting so that there is at least a $50$% chance that two people share a birthday?   So I set $\Pi_{0}^{n-1}\frac{365-b}{365}=.5$ and from there I manipulated some algebra to get $\frac{364!}{(364-n)!365^{n}}=.5\iff (364-n)!365^{n}=364!/.5=.....$   There has to be an easier way of simplifying this. Recovering *permanently* deleted emails from Gmail person in distress here.  Dont ask me how, but I ended up deleting all my 12,000 inbox emails from Gmail into Trash and then erased my Trash as well. Gmail gave me a warning box and took 20 seconds to delete. This was not what I intended. I have searched high and low to check if there is any way of recovering my 10 years worth of emails and could not find any.  Any one here know of a way, ANY WAY, to recover my accidental permanent deletion of all my 10 years worth of email (deleted from Trash as well)? I understood the very basic concept of how to use /etc/network/interfaces, but all I find online are examples, example after example, which I can copy-paste from. What I miss is an explanation of the syntax, an explanation of the meaning of the commands and which order the commands require. I want to understand, because most of the time copy-paste is not enough, because I'm not working on a fresh machine, so I can't just overwrite existing configurations because it would break a lot of stuff. man interfaces was not very helpful since it is written very complicated.  Example questions I have: what does inet in an iface line mean exactly (I could not even find it in the manpage), what does manual in an iface line mean exactly (many examples use it, but according to manpage it needs an extra config file then, which the examples don't present), when do I use or need them? When not? When I create a bridge, what exactly happens to the interfaces? Why use a z test rather than a t test with proportional data? why arcane legacy steps to boot from USB with GPT and UEFI? To run the live AVG rescue "disk" on USB for Windows 10, how is it made to work with a GPT and UEFI system?  (Possible solution listed below.)  I enabled the boot menu so that pressing F12 will display a list to select from.  Also, I put everything USB at the top of the boot sequence and Windows and the HDD at the bottom.  However, I hadn't realized GPT and UEFI are so different from a BIOS.  Because the USB flash drive isn't compatible with GPT it's not being picked up?  This  was suggested:   Open the notebook and press quickly F2 to enter the BIOS. Under the MAIN menu, enable the F12 Boot Menu option. Under the BOOT menu, select Legacy boot and press F10 Save &amp; Exit. While the notebook is rebooting, press F2 again to enter the BIOS. Under the BOOT menu, select as your first boot option the USB HDD stick (your USB stick). Press F10 Save &amp; Exit.    Perhaps this will work, but what is the problem that prevents UEFI boot from registering the thumb drive?  Because it's using GPT and not an MBR?  I don't want to switch to legacy, but stay with UEFI.  The laptop: Moving Around Other creatures      You can move through a nonhostile creature's space [but] you can't willingly end your move in its space.   Is that "end your move" at the end of your turn or if you stop to attack? I had a player who wanted to move into another friendly character's space, attack a hostile, then sidestep behind a wall. How to use Mathematica functions in Python programs? Are there any disadvantages to using your companions for transporting Power Armor After I read that companions don't drain the fusion core of a Power Armor when wearing it, I decided to try giving my armor to Nick so I'll always have it close by if I need it.  But I was wondering if there are any other drawbacks to that. For example, does the Armor get damaged or destroyed when the companion is under fire? Proving $\frac{1}{n+1} + \frac{1}{n+2}+\cdots+\frac{1}{2n} &gt; \frac{13}{24}$ for $n&gt;1,n\in\Bbb N$  To solve it I used induction but it is leading me nowhere my attempt was as follows:  Lets assume the inequality is true for $n = k$ then we need to prove that it is true for $k+1$  so we need to prove $\frac1{k+2} + \frac1{k+3}+\cdots+\frac1{2(k+1)} &gt; 13/24$  I don't know where to go from here please help. I'm trying to make a command block that spawns an item in front of you if you are holding an item with a specific name. I've got these two working scripts;  /testfor @p[r=10] {Inventory:[{tag:{display:{Name:"Item Name"}}}]}  /testfor @p[r=10] {SelectedItemSlot:0,Inventory:[{Slot:0b,­id:"minecraft:diamond_sword"}]­}   but I can't get them together. The block should only look for an item in the active slot. Why use "the" for oceans/seas/rivers etc. but not lakes? Possibly two questions in here: Are these sentence constructions logical, and if they are, why are they different?     I swam across the Ocmulgee River.   I swam across the Pacific Ocean.   I swam across the Red Sea.   I swam across Lake Winnipeg.   I can't think of a way of phrasing the lake example while using an article with a proper noun. I thought at first it was because Lake Winnipeg is different; it's generic portion (the "Lake") comes first and the name of that body comes second, but I swam across Falls Lake is the same.   Yet the sentence I swam across the lake sounds right to me. ...Why?