Now I am tempted to write a paper titled “Not much…

by on Oct.31, 2014, under Tweet

Now I am tempted to write a paper titled “Not much”, followed by “Even less”, and then “Pfff”. notmuchmail.org

If we are strong our strength would speak for itse…

by on Oct.29, 2014, under Tweet

If we are strong our strength would speak for itself, and if we are weak we could always change the topic.

No love lost between the us administration and Net…

by on Oct.29, 2014, under Tweet

No love lost between the us administration and Netanyahu. Chicken shit had been heard. theatlantic.com/international/…

Getting resizable parentheses to work correctly in LaTeX

by on Oct.26, 2014, under LaTeX, Research

So, writing in latex is sometime a low level affair. One of the irritating thing about latex is its handling of resizable parentheses. The default way to do this is quite tedious:
 $\left( whatever \right)$
The true LaTeX believers think one should never use this directly – instead one should use the amsmath \bigl(, \Bigl(, \Biggl(, \bigr),...  commands, and handling resizing of parentheses explicitly, because it looks better (especially for summations with subscripts, automatic resizing of parentheses results in monstrously large parentheses).

Nevetheless, if you are lazy like me, the natural thing is to write a little macro:
\newcommand{\pth}[1]{\left( #1 \right) } Usage: $\pth{ whatever }$
Which works great, except that it doesn’t:
$$\text{With pth: }f\left( x \right)\text{ compared to regular }f(x).$$ This demonstrates the problem with the spacing generated – latex adds a tiny space before a left command.

There is a tedious way to solve this, but it involves adding negative space to the macro, and then being careful to remove this space when using \pth in a subscript (which is what I was doing for a long time). Luckily, there is a latex package that solves this problem: mleftright. Doing:
 \usepackage{mleftright} ... \newcommand{\pth}[1]{\mleft( #1 \mright) } ... 
Works correctly in all situations (at least so far).

The latest emacs (24.4) has a browser built in.

by on Oct.23, 2014, under Tweet

The latest emacs (24.4) has a browser built in.

Walk in Crystal lake park: http://t.co/UKvyr1xodW…

by on Oct.20, 2014, under Tweet

Walk in Crystal lake park: sarielhp.org/pictures/peopl… http://t.co/5kPCwnh1Ml

Wo sind meine Millionen?

by on Oct.17, 2014, under Tweet

Wo sind meine Millionen?

From some reason my German learning app things it is an important sentence for me to learn. Hmmm.

Done with the required yearly ethics cleansing. Ho…

by on Oct.15, 2014, under Tweet

Done with the required yearly ethics cleansing. Hopefully this is the closest I would ever get to a genocide.

SoCG 2015: http://t.co/64GevvJb7n

by on Oct.15, 2014, under Tweet

“My wife is more important to me than my sister.Or…

by on Oct.14, 2014, under Tweet

“My wife is more important to me than my sister.Or my mother or my father OK? And she was the mother of my children.” nytimes.com/2014/10/15/us/…

The church of google now accept requests to be bot…

by on Oct.13, 2014, under Tweet

The church of google now accept requests to be both forgiven and forgotten for online sins. Redemption is only for paying customers.

Via reddit: “More Americans have been dumped by Ta…

by on Oct.12, 2014, under Tweet

Via reddit: “More Americans have been dumped by Taylor Swift than have died from Ebola.”

ε-Nets for Halfspaces Revisited. A new note: http:…

by on Oct.12, 2014, under Tweet

ε-Nets for Halfspaces Revisited. A new note: sarielhp.org/p/14/enet/

Plagiarism is to fail to put old words in a new or…

by on Oct.11, 2014, under Tweet

Plagiarism is to fail to put old words in a new order. With new technology it is only a question of time till all orders would be exhausted.

Voted using absentee ballot. You can call me Mr. V…

by on Oct.10, 2014, under Tweet

Voted using absentee ballot. You can call me Mr. Voter now.

Research in progress… Pretty funny. http://t.co/…

by on Oct.09, 2014, under Tweet

Research in progress… Pretty funny. researchinprogress.tumblr.com

US News ranks this universe as #7 on this year lis…

by on Oct.07, 2014, under Tweet

US News ranks this universe as #7 on this year list of the best of all possible worlds.

Nirman Kumar phd thesis… https://t.co/RxpARDZvMn

by on Sep.26, 2014, under Tweet

Nirman Kumar phd thesis…
ideals.illinois.edu/handle/2142/50…

The problem with one trick pony is that sooner or…

by on Sep.17, 2014, under Tweet

The problem with one trick pony is that sooner or later the neighbors, by mistake, are going to run over it with their SUV.

The forest can the hear the sound of a tree fallin…

by on Sep.09, 2014, under Tweet

The forest can the hear the sound of a tree falling, but only if it is caught on an elevator camera and released to the web.

“His Excellency has just referred to the Jewish pe…

by on Sep.08, 2014, under Tweet

“His Excellency has just referred to the Jewish people”

1 Comment more...

Temporary breast enlargement. If we just had a sim…

by on Aug.31, 2014, under Tweet

Temporary breast enlargement. If we just had a similar thing for the brain… nytimes.com/2014/08/21/fas…

1 Comment more...

So latex output for $i_j$ and $i^{}_j$ is differen…

by on Aug.29, 2014, under Tweet

So latex output for $i_j$ and $i^{}_j$ is different. One way to make the subscript to go lower. That is all.

A secret tweet: *** * *** *** ** *** **** ** *** *…

by on Aug.26, 2014, under Tweet

A secret tweet: *** * *** *** ** *** **** ** *** *** ** ***! **** * *** **, *** ** ** *** *** *** (** ***) ********** * ****? **. *****!!!

New semester ceremony #1: Mounting of the director…

by on Aug.25, 2014, under Tweet

New semester ceremony #1: Mounting of the directories – figuring out how to mount the server directories using nfs on linux. [1 hour]

Pictures from the trip to lake Tahoe. http://t.co/…

by on Aug.24, 2014, under Tweet

Pictures from the trip to lake Tahoe. sarielhp.org/pictures/trave…

In support of ACM, North Korea decided to no longe…

by on Aug.24, 2014, under Tweet

In support of ACM, North Korea decided to no longer hold events in collaborations with SoCG. Spontaneous demonstr’s in support are reported.

Is the refusal of the feds to give retired nuclear…

by on Aug.23, 2014, under Tweet

Is the refusal of the feds to give retired nuclear bombs to police departments leave them outgunned in their war against unarmed teenagers??

1 Comment more...

“My Parents Open Carry” Best reviews ever. http://…

by on Aug.23, 2014, under Tweet

“My Parents Open Carry” Best reviews ever. amazon.com/Parents-Open-C…

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Blogroll

A few highly recommended websites...

Archives

All entries, chronologically...