I'm using the mathpazo package so I can set arbitrarily large font sizes for a poster.  I set my font sizes in the preamble as such:  \renewcommand{\normalsize}{\fontsize{36pt}{48pt}\selectfont} \renewcommand{\large}{\fontsize{64pt}{100pt}\selectfont}   But when I use \large, the line space is 48pt not 100pt as it should be (note that 100pt is not the actual value I want on my poster, this is just for demonstration purposes here).  If I change the line space value of \normalsize to 100pt, then when I use \large the line space is 100pt.  Complete code:  \documentclass[letterpaper]{article}  \usepackage[utf8]{inputenc}  \usepackage[letterpaper,top=2cm,bottom=2cm,right=2cm,left=2cm]{geometry} \pagenumbering{gobble} \setlength{\parindent}{0cm} \linespread{1}  \usepackage{mathpazo} \renewcommand{\normalsize}{\fontsize{36pt}{48pt}\selectfont} \renewcommand{\large}{\fontsize{64pt}{100pt}\selectfont}  \begin{document}  test 1 test 2 test 3 test 4 test 5 test 6 test 7 test 8 test 9  {\large test 1 test 2 test 3 test 4 test 5 test 6 test 7 test 8 test 9}  \end{document}   Resulting document:    But if I use:  \renewcommand{\normalsize}{\fontsize{36pt}{100pt}\selectfont} \renewcommand{\large}{\fontsize{64pt}{100pt}\selectfont}   I get:    Hmmm...
If I type something like this:  {\itshape\LARGE   Dunt venim dolorerosto do odit   ametum vulla conum dolore   conulput in vero od el   Dunt venim dolorerosto do odit   ametum vulla conum dolore   conulput in vero od el }   it results in a block of 4 lines with narrow spacing between the 1st and 2nd line and between the 3rd and 4th line. Line spacing between the 2nd and 3rd line is normal.  I can't fully explaing it to myself so I am looking for a short description for this behaviour. I know for example that with a \par at the end of the text (inside the group), the calculation would correct. But I have no idea why...
C# Compiler should give warning but doesn't? Streaming large files in a java servlet I once had the task of determining the following performance parameters from inside a running application:   Total virtual memory available Virtual memory currently used Virtual memory currently used by my process Total RAM available RAM currently used RAM currently used by my process % CPU currently used % CPU currently used by my process   The code had to run on Windows and Linux. Even though this seems to be a standard task, finding the necessary information in the manuals (WIN32 API, GNU docs) as well as on the Internet took me several days, because there's so much incomplete/incorrect/outdated information on this topic to be found out there.  In order to save others from going through the same trouble, I thought it would be a good idea to collect all the scattered information plus what I found by trial and error here in one place. GBM vs XGBOOST? Key differences? I am trying to understand the key differences between GBM and XGBOOST. I tried to google it, but could not find any good answers explaining the differences between the two algorithms and why xgboost almost always performs better than GBM. What makes XGBOOST so fast? Create ArrayList from array I have an array that is initialized like:  Element[] array = {new Element(1), new Element(2), new Element(3)};   I would like to convert this array into an object of the  class.  ArrayList&lt;Element&gt; arraylist = ???; Intuitive explanation of the shape of the Maxwell-Boltzmann distribution At higher temperatures (for an ideal gas), the Maxwell-Boltzmann distribution is spread more widely and has a lower maximum. At lower temperatures, the spread is much more narrow and the peak is much higher. Why is this so? I was thinking that this is to maintain constant area under the curves, but the integration of the curve gives total energy—and total energy should not be constant since temperature is increasing.  So why does the distribution curve change thus? I’m looking for an explanation that’s intuitive or that involves math not surpassing first-year university level calculus. I would appreciate it if it could be explained without the Maxwell-Boltzmann distribution equation, since at this level I’m really treating this qualitatively. $a+b+c = 3$, prove that :$a\sqrt{a+3}+b\sqrt{b+3}+c\sqrt{c+3} \geq 6$ $a, b,c $ are positive real numbers such that $a+b+c = 3$, prove that :$a\sqrt{a+3}+b\sqrt{b+3}+c\sqrt{c+3} \geq 6$  Any ideas ? How to use `ybar interval` without skipping the last value I recently upgraded to Snow Leopard, from Leopard and I was using an awesome app called  that let you remap your keys, set scripts/macros and even had repeat functionality.   However, this app doesn't seem to be in active development anymore, and 10.6 broke the ability to bind certain modifier keys (Shift) with other keys.   I totally miss things like Shift+Insert for paste (Linux/Windows), setting Ctrl+Shift+Esc for Activity Monitor, and Ctrl+Alt+Del for the login window.   So, how can I achieve this instead? In propositional logic, the statement "If pigs can fly, then elephants can lay eggs." validates to true because the antecedent validates to false.  In other words, given $a \rightarrow b$, if a is false, the entire statement is true. Why?  Just because the antecendent is false doesn't mean that another fact depends on it, right? Ready to use leaderboard service. Is any? I'm looking for ready to use thirdparty leaderboard service where player's achivementes and scores can be placed. I'd intagrate it into my game to allow players push scores and locate themselves in the tables of tops. It would be nice whether anybody experienced share some points with me. When it's OK to omit "where?" I used Sound Juicer to rip a CD of audio for a language learning book so that I could listen to them on my Android. However, Sound Juicer seems to only have the option of numbering files without leading zeros. Like this:  track_1.mp3 track_10.mp3 track_11.mp3   This leads to some confused ordering on my music player. So, I want to add some zeros to the name, so that they're ordered properly, like this:  track_01.mp3 track_02.mp3 track_03.mp3   How do I accomplish this? I tried using GPRename, but while it has the ability to add numbers, it doesn't seem to have any options for adding leading zeros.  Is there a better program or something I can do at the command line? I am very confused about the probability formula $E[\min(X,k)]=\int_0^kxf(x)dx+k(1-F(k))$ I understand the proof of this first formula.  I am confused about where he got the first E[min(X, k)] formula. It seems to have just come out of nowhere. And also, can someone explain why the two formulas are correct please? Hyperref warning - Token not allowed in a PDF string Importance of series resistor at output of Rectifier Now that I have Firefox 49 or higher, how do I watch Netflix? Where does the question mark go — inside or outside the parentheses? Calculation of pressure from flow rate of water Anybody kindly help me to find how to calculate pressure in bar from flow rate. I have a pipe and from that I am transferring water at a constant flow rate of 5ml/min. At this flow rate, with a 0.5 cm diameter pipe, what will be the pressure generated by water? Every proper ideal is contained in a maximal ideal, in a commutative ring with identity. The statement is:     In a commutative ring with 1, every proper ideal is contained in a maximal ideal.   and we prove it using Zorn's lemma, that is, $I$ is an ideal, $P=\{I\subset  A\mid A\text{ is an ideal}\} $, then by set inclusion, every totally ordered subset has a bound, then $P$ has a maximal element $M$.  My question is why $M$ must contain $I$?