I am required to embed fonts in my document, in order to ensure the printing of my thesis goes well. The recommendation is to include \usepackage{lmodern}. Unfortunately, my document uses bold small caps, which renders as bold lower case when I use lmodern.  (The thesis should look similar to the default template. Thus I can not use a completely different font)  (I currently use \usepackage[T1]{fontenc}, although I do not know if that is relevant)  How can I embed bold small caps?  MWE (removing \usepackage{lmodern} causes desired output):  \documentclass[pdftex,10pt,b5paper,twoside]{book} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[lmargin=25mm,rmargin=25mm,tmargin=27mm,bmargin=30mm]{geometry}  \usepackage{lmodern} \usepackage[]{glossaries} \makeglossaries \newacronym{sqp}{\textsc{sqp}}{sequential quadratic programming} \newacronym{doe}{\textsc{d}o\textsc{e}}{design of experiments}  \begin{document} \printglossary[type=\acronymtype, title=Acronyms ]  \section{Demo} In text ok: \acrshort{doe} and \acrshort{sqp} \end{document}   Edit: I included lmodern to ensure embedded fonts.  This broke bold small caps. When I removed lmodern, and checked if the fonts are embedded, this was the case.  Thus I do not need the package, and I think my problem is solved.
I just ran into the problem of embedding fonts while trying to publish with lulu.com. Although everyone apparently is 'supposed' to handle those 35 standard fonts for some strange reason they won't accept pdf's without them included. So one way that according to  is supposed to work (I haven't tried yet, but hopefully it does work) is to convert the pdf to ps and then back to pdf and include the fonts at that time:  pdftops file.pdf ps2pdf14 -dPDFSETTINGS=/prepress file.ps   But this feels at least to me like the wrong way of doing things. Is there some way of passing the parameter directly to pdflatex to tell it to embed those fonts?   And, if not -- How do we go about getting such a feature? (Because it can't only be me who has this sort of problems)
How do people come up with difficult math Olympiad questions? Evaluating $\int_0^\infty \frac{\log (1+x)}{1+x^2}dx$ Can this integral be solved with contour integral or by some application of residue theorem? $$\int_0^\infty \frac{\log (1+x)}{1+x^2}dx = \frac{\pi}{4}\log 2 + \text{Catalan constant}$$  It has two poles at $\pm i$ and  branch point of $-1$ while the integral is to be evaluated from $0\to \infty$. How to get $\text{Catalan Constant}$? Please give some hints. Proof of a formula involving Euler's totient function: $\varphi (mn) = \varphi (m) \varphi (n) \cdot \frac{d}{\varphi (d)}$ The third formula on the  states that $$\varphi (mn) = \varphi (m) \varphi (n) \cdot \dfrac{d}{\varphi (d)} $$ where $d = \gcd(m,n)$.  How is this claim justified?  Would we have to use the Chinese Remainder Theorem, as they suggest for proving that $\varphi$ is multiplicative? Find the minimal polynomial for $\sqrt[3]{2} + \sqrt[3]{4}$ over $\mathbb{Q}$  I havent covered galois theory, this is an exercise from the chapter algebraic extensions in gallian.  I can see that $\sqrt[3]{2} + \sqrt[3]{4}$ $\in \mathbb{Q}(2^{1/3})$, after this I am clueless.  Need hints will finish the proof. Install MySQLdb (for python) as non-compressed egg The install instructions are:  $ python setup.py build $ sudo python setup.py install # or su first   This gives me an .egg file. How do I tell the install to dump the files as a normal, uncompressed library?  Thanks! Is there a particular reason that using clone = obj *1 is avoided when "cloning" objects? Is wildcard search possible in Gmail? Tourism on Schengen business visa? I am an Indian citizen living in UK on a tier 2 visa. Recently, I have received Short stay Schengen visas (multiple entry, business trips for 1 year) for travelling to France. (Applied at French embassy Edinburgh)  Unfortunately, the tickets I have provided in my visa application needs to be cancelled as my business trip got cancelled. And I will be travelling for business probably after 4 months.  So, for now, I am planning my first entry to France for tourism purpose.  Is it okay to travel with Short stay Schengen visas (business) for tourism purpose for the very first entry to France?   I am worried because my itinerary provided for visa application is changed now. And moreover it is now for a tourism purpose. How to fill gaps in SLC-Off Landsat 7 ETM+ Images with QGIS? Explanation of the problem:     On 31 May 2003 the Landsat 7 Enhanced Thematic Mapper (ETM+) sensor had a failure of the Scan Line Corrector (SLC). Since that time all Landsat ETM+ images have had wedge-shaped gaps on both sides of each scene, resulting in approximately 22% data loss. These images are available for free download from the USGS GloVis website and are found in the L7 SLC-off collection.   source:   Can I use Qgis instead of proprietary software (ENVI, Erdas....) to fill the gaps? Why am I getting authentication errors for packages from an Ubuntu repository? I'm experimenting with VPNs, so I wanted to install pptpd.  john@desktop:~$ sudo apt-get install pptpd [sudo] password for john:  &lt;snip&gt; The following extra packages will be installed:   bcrelay The following NEW packages will be installed:   bcrelay pptpd 0 upgraded, 2 newly installed, 0 to remove and 11 not upgraded. Need to get 90.5 kB of archives. After this operation, 442 kB of additional disk space will be used. Do you want to continue [Y/n]? y   And everything runs fine until I get down to here:  WARNING: The following packages cannot be authenticated!   bcrelay pptpd Install these packages without verification [y/N]? n E: Some packages could not be authenticated   No authentication?  I'm no security expert, but I'm fairly sure that's a bad thing.  So I .  john@desktop:~$ apt-cache policy pptpd pptpd:   Installed: (none)   Candidate: 1.3.4-3ubuntu1   Version table:      1.3.4-3ubuntu1 0         500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages john@desktop:~$ apt-cache policy bcrelay bcrelay:   Installed: (none)   Candidate: 1.3.4-3ubuntu1   Version table:      1.3.4-3ubuntu1 0         500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages   They're coming from Ubuntu.com and not being properly authenticated?  What's going on here? A friend of mine has some very old photos where the deterioration process seems to have increased in the past few years, and the owner is worried about the preservation of these old memories.  They have been stored inside an album within plastic sleeves. The owner is not aware of the display method prior to that.   I have been informed by the owner that since being in their possession, they seem to be looking worse than when first viewed and seem to be falling apart.   He is looking for the best way to preserve these photos inside an album, but not really sure what would be the best method. I have suggested for the albums as a whole to be stored in vacuum sealed bags for now, but I'm not even sure if that is good!  I am looking for any suggestions or personal experiences from anyone who has had to deal with such photos and what they did to preserve their memories. Google Chrome won't install on 17.04 I had to remove Chrome to have enough space to upgrade from 16.10 to 17.04.  I downloaded the latest version from Google.  But when it opens in the Ubuntu Software Manager, and I click on "Install", nothing happens. The sum of powers of two and two's complement – is there a deeper meaning behind this? VirtualBox 5.0.40 crashes the whole host since update to kernel 4.13.0-26-generic a command to list all packagas installed on the system and their installed files, how? What is the best way to vertically center the content of a div when the height of the content is variable.  In my particular case, the height of the container div is fixed, but it would be great if there were a solution that would work in cases where the container has a variable height as well. Also, I would love a solution with no, or very little use of CSS hacks and/or non-semantic markup. What apps are people using to record voice meetings on the iPad? Find children of the process In an  about The Force Awakens, the author suggests that:      Rey is Luke’s daughter.   I’ve missed any indicators of any such relationship while watching the movie.       For instance, I took neither Luke’s lightsaber calling out to Rey, nor her hug of consolation with General Organa as such. Is there any evidence that Luke is Rey’s father?    Is it known who Rey’s parents are? Where are some places to get reference images for modeling? I'm a newbie.  I've gone through a number of tutorials and want to get some actual experience with modeling. But, I don't know where to go to get good reference images for modeling with front/sides views.  Can anyone recommend the best places to find such images?