So I'm putting together a paper using LaTeX and I know that I want to place a specific figure at the bottom of page 1, another figure at the top of page 2, etc, and let the text just wrap around the figures.

However, I find that if I try something like \begin{figure}[b], it places the image not at the end of the current page, but rather at the end of the entire document. Is there no way to just say, "this figure goes at the bottom of the first page"?


Question: Matching BigInts in Scala
Answer: Write your own extractor:

object Big {
  def unapply(n:BigInt) = Some(n.toInt)
}

//usage
def f(b:BigInt) = b match {
   case Big(0) =&gt; "none"
   case Big(1) =&gt; "one"
   case _ =&gt; "many"
}


Obviously, this isn't the fastest solution, but I think, it's quite idiomatic...