I want to use epigrafica font as "sans serif" in sections and chapters but I don't have any idea how to do it. I found here a solution in pdftex. Is there a chance to do something similar using pdflatex?
I'd like to use epigrafica specifically for chapters and sections, but like to use times font for main texts.  \usepackage{epigrafica}          % for chapter/section \usepackage{newtxtext,newtxmath} % for main text   Is there any way to do this? I can only use pdftex.
Where are executables for programs stored in Ubuntu?  An application (Komodo Edit) is asking me to identify an application to be used as a web browser. I've become used to just entering the application name as a command for situations such as these, but this scenario got me thinking.   I know in Windows it would just be the relevant application folder in the 'program files' folder, but I'm assuming things are a bit different on Linux?  I thought somewhere like bin would be logical but this appears to standard Linux/Unix applications. Where would I find the binary executable for applications stored on my system? I can't find a definitive answer for this. As far as I know, you can't have multiple __init__ functions in a Python class. So how do I solve this problem? Suppose I have a class called Cheese with the number_of_holes property. How can I have two ways of creating cheese objects...  One that takes a number of holes like this: parmesan = Cheese(num_holes = 15) And one that takes no arguments and just randomizes the number_of_holes property: gouda = Cheese()  I can think of only one way to do this, but this seems clunky: class Cheese():     def __init__(self, num_holes = 0):         if (num_holes == 0):             # Randomize number_of_holes         else:             number_of_holes = num_holes  What do you say? Is there another way? Idea of paying for things with time I recently read the .  This book had the idea of the time you live as something that can be used to pay for things. When you run out of "money" you die.  I was wondering is this the original source for this idea? Or does anyone know of an earlier book with the same idea? Training involved to ride 175 miles (281 km) in a day I want to be able to ride 175 miles (281 km) in a day (to do the ). I used to be able to do about 60 miles (96.5 km), only once hitting 80 miles (128 km), but I'm out of shape now. Wondering how I can systematically train to get to 175 miles at an average of 15 mph (24 km/h) Are there guides out there to help with this?  What's some advice?  [update] The  will happen each year, so my intention isn't to ride this year, rather what do I need to do to ride it in some future year? I am curious as to why "nay" replaces the simple unequivocal "no" in the context of voting.  My research in Merriam-Webster tells me that "nay" means "no" (not the other way around) and the first known use of "nay" appeared in 1400s. Since the use of "no" existed before 1400 and the word remains to be used afterward, why would "nay" become the preferred choice of word when it comes to voting. Any idea? Find the last $2$ digits of $$\large7^{7^{7^{10217}}}$$   So far I have: $17\cdot 601=10217$ and $7=7 \pmod{10}$. Any help greatly appreciated. Android – Listen For Incoming SMS Messages What should I do when I have lenses with different filter thread sizes? So the question is really hard I think. I tried using a simple way by calculating the probability of each combination that makes a sum divisible by six, but it would take forever. Does anyone have any ideas?  Suppose that we roll a six-sided die ten times. What is the probability that the total of all ten rolls is divisible by six? How do I close a tkinter window? How do I end a Tkinter program? Let's say I have this code:  from Tkinter import *  def quit():     # code to exit  root = Tk() Button(root, text="Quit", command=quit).pack() root.mainloop()   How should I define the quit function to exit my application? Is an irrational number times a rational number always irrational?  If the rational number is zero, then the result will be rational. So can we conclude that in general, we can't decide, and it depends on the rational number? When should "Mom" and "Dad" be capitalized? I am trying to understand capitalization rules with Mom and Dad. I believe I have it correct below, but please let me know if I do not.     The one thing I learned from my dad was that it was good to earn the trust of one's children. Dad has shown me how good that a dad can be. One day when I went to his house, and Dad wasn't there, I ran outside....   The above passage is just made-up just so that you would see what I mean about capitalization. Let's put numbers by each one, like so:     The one thing I learned from my dad(1) was that it was good to earn the trust of one's children. Dad(2) has shown me how good that a dad(3) can be. One day when I went to his house, and Dad(4) wasn't there, I ran outside....    This is one where I'm not certain. I believe in this sense I'm showing possession here with "my", and it just didn't seem right saying "my Dad". I don't know what the grammar rule is here, or if I even have it right. This one is obvious—it starts the sentence. In this case, I'm using Dad like a name instead of saying "Larry". Therefore, it should be capitalized. Again, just like 3. Key Derivation Functions vs. Password Hashing Schemes Key derivation functions, such as HKDF (standardized in ), are meant to stretch some initial keying material having enough entropy, like a Diffie-Hellman shared value, into one or more strong cryptographic secret keys.   Password-hashing schemes, such as the  winner , are meant to hash usually low-entropy passwords with the goal of making the hash digest inversion as costly as possible for an adversary with respect to CPU and memory consumption, as well as parallelization.  Is it exact to consider that password-hashing schemes are actually key derivation functions specialized for low-entropy inputs? Or is there any other essential difference of theoretical nature between these two types of cryptographic schemes? Does sensor size affect lens distortion? There was recently a video posted about how different focal lengths affect portrait photography, specifically how distortion at smaller focal lengths have more distortion and are less flattering.   So the question is that, because we always talk about how Canon's cropped sensors have a 1.6x crop factor so the lenses are essentially longer, does the distortion caused by the lens change when used on a cropped sensor?  My initial thought is "no" given that my idea of how a cropped sensor works is like printing off a 8x10 picture and then cutting out the 4x6 that I like: the picture doesn't change, only my view of it.   However, if distortion is least prominent at the center of the photo and most prominent at the edges, then the perception of the net effect of the distortion would be changed by using a cropped sensor and I get confused again.   Any thoughts? How to find multiple blank lines in Notepad++ and join the the separated text lines with a macro?  Below is screenshot of the file, where I want a macro to find out this blank line and correct the SEE and FIGURE should come to one line. How to calculate $\int \frac{x^2 }{(x^2+1)^2} dx$? I'm trying  to calculate $\int \frac{x^2 }{(x^2+1)^2} dx$ by using the formula: $$ \int udv = uv -\int vdu $$  I supposed that $u=x$ s.t $du=dx$, and also that $dv=\frac{x}{(x^2+1)^2}dx$, but I couldn't calculate the last integral. what is the tick here?           the answer must be: $ \frac{1}{2}arctan\ x - \frac{x}{2(1+x^2)} $ + C If moderators can view , can we see comments we've deleted? We can see our deleted answers, but why not our deleted comments? How do you detect where two line segments intersect? When a vehicle makes a turn, the two front wheels trace out two arcs as shown in the figure below. The wheel facing towards the inside of the turn has a steering angle that is greater than that of the outer wheel. This is necessary to ensure that both front wheels smoothly trace out two arcs, which have the same center, otherwise the front wheels will skid on the ground during the turn.   During a turn, do the rear wheels necessarily trace out the same arcs as the front wheels? When mounting an NFS share manually using mount and a path of the form &lt;domain/ip&gt;:&lt;path&gt;/&lt;path&gt; or &lt;domain/ip&gt;:/&lt;path&gt;/&lt;path&gt;, umount fails to find the path in /proc/mounts, despite the fact that the path is in fact listed in /proc/mounts.  This is the same problem as in this question:   Steps to reproduce:  # mount --version mount from util-linux 2.24.1 (libmount 2.24.0: debug, assert) # mkdir mountpath # mount 192.168.2.101:/devices mountpath # umount mountpath /home/.../mountpath was not found in /proc/mounts # grep mountpath /proc/mounts 192.168.2.101://devices /home/.../mountpath nfs4 rw,[snip],addr=192.168.2.101 0 0   How can I unmount this mount?