I have a book document with a lot of formatting, and I would like my dedication paragraph to appear in a font, that will just be used here, in the entire document. Let's say I want to use Tex Gyre Chorus () to be used in that paragraph.  How to do this, without breaking everything, and inadvertently affecting the fonts I use for the rest of my document?  Here is a toy example:  \documentclass[12pt]{book} \usepackage{lipsum} \usepackage{lmodern} \usepackage[sf=false]{libertine}  \begin{document} \lipsum Hello World! I would like this text to appear in Tex Gyre Chorus. \lipsum \end{document}
The standard font packages make global changes to the fonts in my document. What if I want to use a particular font for just a portion of my text?   How do I find the right name of the font? How do I select the font? How do I restrict the scope of the font change?     There are separate answers for different flavors of TeX (quick links):
I'm trying to recover a Windows system from backups and can't seem to find where Chrome saves its bookmarks.   Does anybody know where Chrome saves its bookmarks on Windows? Are The Lazarus Effect and Dune in the same universe? There are similar aspects between Dune, and the technology in The Lazarus Effect.   Noticeable similarities:   Lasguns - this weapon exists in both of the books, and has similar architecture in both books.   Merman and Ixians - are both technologically sophisticated in similar ways. Rely on mechanical technology as opposed to organics or similar.   Is this merely Herbert sticking to his original style? Distinct Sylow P subgroups New to both Ruby and Rails but I'm book educated by now (which apparently means nothing, haha).  I've got two models, Event and User joined through a table EventUser  class User &lt; ActiveRecord::Base   has_many :event_users   has_many :events, :through =&gt; :event_users end  class EventUser &lt; ActiveRecord::Base   belongs_to :event   belongs_to :user    #For clarity's sake, EventUser also has a boolean column "active", among others end  class Event &lt; ActiveRecord::Base   has_many :event_users   has_many :users, :through =&gt; :event_users end   This project is a calendar, in which I have to keep track of people signing up and scratching their name out for a given event. I figure the many to many is a good approach, but I can't do something like this:  u = User.find :first active_events = u.events.find_by_active(true)   Because events don't actually HAVE that extra data, the EventUser model does.  And while I could do:  u = User.find :first active_events = [] u.event_users.find_by_active(true).do |eu|   active_events &lt;&lt; eu.event end   This seems to be contrary to "the rails way".  Can anyone enlighten me, this has been bugging me for a long time tonight (this morning)? Do I need a transit visa for a layover via airports in the UAE, such as Dubai International Airport or Abu Dhabi International Airport? If so, what are the requirements for such a visa? Can I get the transit visa on arrival? If I have a tar file, bob.tar, which contains real_file and link_to_real_file, in which the latter is a symlink, is there a way to extract the contents of bob.tar so that link_to_real_file will not be a symlink, but be a copy of real_file.    I know this is indeed possible on the creation side, if I use the -h flag.    The command tar -cvhf bob.tar real_file link_to_real_file will dereference link_to_real_file, but I want to do this on the extraction side regardless of how the tar file was created. Can't Prove formula from Sakurai's Modern QM @ Perturbation Theory I am studying Perturbation Theory from J.J. Sakurai's textbook Modern Quantum Mechanics. I am having trouble proving formulas on page 299 (5.2.5) and (5.2.6) from the previous ones [mainly (5.2.4)]. Can anyone help?  This is a problem of working with perturbation theory when the non-perturbed state has degeneracy. To elaborate I do not get why $(E-H_0-\lambda P_1VP_1)$ is not singular.  More importantly is the equation below correct and if so why:  $$(E-\lambda P_1VP_1)|l \rangle = E_D^{(0)}|l \rangle $$  That is the core of my problem. If the above equation - in the framework of Sakurai's statement of the problem - is correct I can work out all the rest on my own. However I do not get why this equation would hold true. Why does shrinkage work? In order to solve problems of model selection, a number of methods (LASSO, ridge regression, etc.) will shrink the coefficients of predictor variables towards zero. I am looking for an intuitive explanation of why this improves predictive ability. If the true effect of the variable was actually very large, why doesn't shrinking the parameter result in a worse prediction? How can I replace a string in a file(s)? I am looking for a injective cochain map $\psi: C^*\rightarrow D^*$ such that the map $\Psi^i$ from $C^i$ to $D^i$ is injective, but the map $\psi^*$ from  $H^i(C^*)$ to $H^i(D^*)$ is not injective for any $i\geq0$. Possible Duplicate:           My name is Greg — this is Greg 's post.  If my name ended with an 's', I am aware of the proper apostrophe usage (James&nbsp;→ James'), but how should this be pronounced?  Phonetically, am I Jameses best friend or James best friend? Do you have to want to hurt someone for the cruciatus curse to work? New UI encourages askers to confirm or dispute duplicate votes My overall upgrade went well, but I am left with a critically lingering issue of mysql-server not being able to install itself, and nothing I am trying gets it to work.  This is the error I see when trying to install/reinstall it:  Setting up mysql-server-5.7 (5.7.11-0ubuntu6) ... Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details. invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing package mysql-server-5.7 (--configure):  subprocess installed post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of mysql-server:  mysql-server depends on mysql-server-5.7; however:   Package mysql-server-5.7 is not configured yet.  dpkg: error processing package mysql-server (--configure):  dependency problems - leaving unconfigured No apport report written because the error message indicates its a followup error from a previous failure.                    Processing triggers for systemd (229-4ubuntu4) ... Processing triggers for ureadahead (0.100.0-19) ... Errors were encountered while processing:  mysql-server-5.7  mysql-server E: Sub-process /usr/bin/dpkg returned an error code (1)   I've tried completely removing it, though doing so attempts to install MariaDB because of dependencies (?). Any suggestions on what I can do to fix this would be most welcome.  EDIT: Looks like I'm not the only one: How to convert a std::string to const char* or char* How can I convert an std::string to a char* or a const char*? Term for things like "naughty step" where the step is not what is naughty Can anyone remind me of the grammatical term for the apparent misapplication of an attributive adjective, as in the phrase "the naughty step" (where it is not the step itself that is naughty but the person consigned to it)? I'm talking about the movie  Spoilers ahead.  Walter (Daniel Radcliffe) gave the task or blackmailed the Four Horsemen to steal a chip from a lab which can access any digital device. So they did steal the chip. And when they rescue Dylan Rhodes (Mark Ruffalo) from drowning in the water, Jack Wilder said that the chip is fake.     Jack: Wait something is not right.      Atlas: What's wrong?      Jack: It's fake.   Then they assumed that Walter did not know that the chip is fake. So they came with a plan to bluff. They pretended that they had the real chip. After they got caught by Walter, they gave the fake chip to Walter. Walter checked the chip and declared it as real. The Four Horsemen were surprised.     Walter: I'm sorry to interrupt. But I have to say congratulations and   thank you. It's real.      Lula: What? It's real!!!!!      Atlas: What? Is it real?      Jake: What is he talking about?   What happened? I didn't get it. What did I miss? Was the chip real? Was Walter pretending it to be real? If so, then why? If not, who switched the real chip with the fake one? Who had the real chip before? windows 7 desktop icons: new icon placement When moving/saving/etc a new file on the desktop, the icon appears second (just after "Computer"). I find it annoying, since I want my "special" icons to be first (such as the recycle bin, "Network", etc.).  Can this behavior be changed? How to increase ping time/network connection latency on Windows? I need to permanently increase network latency in approximately 100ms, without losing packets.  Reason: On a certain server and internet game my ping is too much lower than the other people playing it. I have 15ms, when average is 150ms which gives me cheater-like advantages.  So also out of curiosity I'm looking for ways to increase my ping while keeping connection stable. What are my options if any?  I thought about VPN services, but it seems like a bad option since games use UDP?  Is there any router/software that would assist me on this?  I'm on windows. Does the Google spider render JavaScript?