I'm brand new to TeX and am making my first beamerposter.  I'm using XeLaTeX and I like the package pxfonts for the math and the body text.  However, I'd like to have sans serif text in the block headers, and I don't like the default sans serif font that results from the pxfonts package.  Can someone explain to me, in simple terms, why I cannot use the package fontspec to modify the sans serif font after I have loaded pxfonts?  And what should I use instead?  Consider the code below.  How can I change the font of the sans-serif part while keeping the first paragraph and the equation as they currently appear?  \documentclass[11pt]{article} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{pxfonts}  \begin{document} \blindtext  \[ \int_0^1 x^2 \, dx = 1/3 \]  \sffamily \blindtext %This is the text whose font I wish to change to something already loaded on my computer. \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):
There several types of graphics files. In no particular order .jpeg .eps .pdf .png .tif .jif (and no doubt others). Some work with latex, dvips and some work with pdflatex. How am I supposed to know which?  Just to confuse matters, metapost produces .eps but I can use these with pdflatex as long as I put in a four line incantation.  Can anyone explain this? How can I improve the performance of Minecraft? Probability of asymmetric random walk returning to the origin Consider the random walk $S_n$ given by $ S_{n+1} =  \left\{   \begin{array}{l}     S_n+2 &amp; \text{with probability $p$}\\     S_n - 1 &amp; \text{with probability $1-p$}   \end{array} \right. \ $  Assume that $S_0 = n &gt;0 $. What is the probability of eventually reaching the the point $0$?  Seems that the probability for this must be less than one; since it is not symmetric, it is not guaranteed to reach the origin if $p&gt;0.5$. It also seems like the positive starting value not being at the origin matters too, but I'm not sure how to compute the probability of eventually reaching the origin. The question  only deals with flights in the US sourced from the  . Is there some similar source for EU, Asia etc? Finding Stack Overflow/Exchange users based on geographic area? I am very confused. Unless I am mistaken, I know "it" has to be a noun of some sort, but I am unable to figure out what noun "it" is referring to.   What is "it" in the following sentence:      It is clear that Bob likes doughnuts.   Heres another couple of examples:     It is impossible to fly. How can I find my Apple ID on my iPad? My mum can't find her apple ID on her iPad. I'm not with her at the moment and do not have an iPad so I don't know where to look.  She already has an Apple ID set up on this iPad, so I don't want to set up another one. {5,15,25,35} is a group under multiplication mod 40 Show that the set $\{5,15,25,35\}$ is a group under multiplication modulo $40$. What is the identity element of this group. Can you see any relationship between this group and $\mathbb U(8)$?   I am very stuck on this question and I think my knowledge of abstract algebra is my liability at the moment. Right now I'm most confused by the fact that I learned: An element of a group of this nature must be relatively prime with the working mod.  Obviously here this is not the case, so I don't really know where to begin.  Do I need a Cayley Table?  Thanks. I just installed Call of Duty 4 and when I try to run the single player mode nothing happens. I just see a quick flicker on the desktop but the game doesn't launch. When I try to run it again, it gives me this message:      It appears that cod4 did not quit properly the last time it ran. Do you want to run the game in safe mode?    Multiplayer seems to work fine and when I try to switch to single player from the multiplayer menu the same thing happens, it just goes back to my desktop and that message shows up again What does echelon mean? When you solve a system of linear equations, you write down the augmented matrix and reduce this to reduced row echelon form. What is the meaning of the word echelon? Wouldn't it be a good idea to be able to vote for questions to be moved to any Stack Exchange site? For example, I just voted  as off topic, but that was all I could do. I wish I could've voted it be moved to .  It's OK to have the predefined list of sites that is now when voting to move, but it would be nice to have a more link, where we could pick any Stack Exchange site.  Here's a quick mockup of how I see this implemented:    When the more link is clicked, a list of all the Stack Exchange sites should appear. Problem:  $F = \frac{(G m_1 m_2)}{r^2}$  An object of unknown mass is placed directly between the Earth and the Moon such that the forces of gravity acting on the object are equal from both the Earth and the Moon. The distance from the Moon to the object is exactly one-tenth of the distance from the Moon to Earth. Using the above formula, determine the distance from the Moon to the Earth.  Given is:  The factor $G≈6.67∙10−11\mathbf{N(\frac{m^2}{kg^2})}$ is a universal constant.  Mass of Earth $≈5.972∙10^{24}\mathbf{kg}$   Mass of the Moon as $≈7.348∙10^{22}\mathbf{kg}$  Mass of unknown object = $m$  My solution:  $F = \frac{(6.67 *10^-11) m (7.348*10^{24})}{R^2}$  $F = \frac{(6.67 *10^-11) (5.92* 10^22) m}{10R^2}$  As gravitational force acting on the object is equal   $\frac{(5.92\cdot 10^22)}{100r^2} = \frac{(7.348*10^{24})}{r^2}$  $R = 1.24 \cdot 10^4 KM$  Is this a viable solution to the problem? Please provide feedback. Thank you! At the end of the movie we are shown      a bowl with berries in it and Seneca Crane looked like he was locked in a room with them and was supposed to eat them. Did he eat them?   Why did that happen? How to get the current URL within a Django template? When I gain control of a creature, do I also gain control of any auras or equipment attached to it? What would happen if I 'd a creature that had been enchanted by a bestow creature and cast a spell to give it protection from the enchantment's color on it to remove the bestowed creature?  For instance:  They have just bestowed a  on a  and passes the turn. I use Portent of Betrayal to take control of the Asphodel Wanderer, attack and in the second main I cast Gods Willing to give the Asphodel Wanderer protection from black. Nighthowler detaches and where does it go, my control, opponents control or graveyard?  As an additional question, in the same vein:  What if I destroyed the creature while it was on my side? So change the gods willing to a hero's downfall in the example.  Relevent (under state-based actions):     704.5n If an Aura is attached to an illegal object or player, or is not attached to an object or player, that Aura is put into its owner's graveyard. Why is a conservative force defined as the negative gradient of a potential? I'm learning about work in my dynamics class right now. We have defined the work on a particle due to the force field from point A to point B as the curve Integral over the force field from point A to B. From math I know that if a vector field has a potential, we only need to evaluate the potential at point B minus the potential at point A to get the result of the curve Integral. In the text that I'm reading, it's explained that if the integral over a force-field is path-independent, then the force field $F = -{\rm grad}(V)$, where $V$ is the potential. Why is it defined as the negative gradient? Doesn't one determine the potential from $F$ mathematically. Why do we impose the sign on the potential? I have some difficulties with a task in algebra. I guess it's trivial and really easy but I can't figure out how to solve it.  I have a set $G$ and a binary operation on it, let it be $\circ$. I have that the operation is associative and that the equations $a\circ x = b$ and $x\circ a = b$ have unique solutions. I have to prove that $(G, \circ)$ is a group.  I already have that the operation is binary and associative, so I have to prove that there is unique identity element and unique inverse element and it will come from the equations, but how exactly? What is the difference between the two notions of computational and statistical indistinguishability? Is there a reason why ls does not have a --zero or -0 option Redirect www to non-www using Apache htaccess does not work