@AymanElmasry: Yep, that's one of the "problems" :-) with asking questions. I think the FAQ here recommends that you pick the one that helped you the most (not necessarily the "correct" one).
@AymanElmasry There's no requirement that you accept any answer if you don't think it's appropriate. Of the questions I've asked, I haven't accepted (deliberately) two answers. On the other hand, Peter's right: you can accept the one that was most helpful to you, if you like.
Could someone please try my code in the following answer? It works for me, but not the questioner, but we're using the same versions of the main packages (beamer and PGF) so i don't know where the problem could lie. Thanks.
The following code works on my simple test, but I don't know if it will work with more complicated code. If it doesn't, please post some example code of the sort that you want to work with.
Here's the code:
\documentclass{beamer}
\usepackage{tikz}
\makeatletter
\newenvironment{inframe}[2][1]{...
@PauloCereda You should get six slides. What needs testing is what happens when the argument to the inframe environment is changed. By varying from 1 to 4 you should get different pictures appearing.
that is, the same picture, regardless of the argument to inframe
@AndrewStacey: I think the definition of the inframe environment had a mistake. You say it takes two arguments and the default is 1 for the optional argument. Thing is, you provide only one argument in the invocation and use #1 everywhere. So the default value of 1 is used. If I change it to take only one argument and no default value for it, the code works as expected.
Alternatively, you can just change #1 to #2 in the defintion, but since the other supposed argument is unused, that doesn't make much sense. Unless you had some intended use in mind for that second argument.
@wh1t3 A-ha! That's it. Thanks. (Explanation: I added the optional argument in the middle of writing the post - and after posting the code - since I figured out the need for adjusting beamerpauses. I thought I'd changed the posted code correctly but now that I look closely, I didn't.)
@wh1t3 Nor did I! I went digging. Don't know if you can see it, but I originally posted an answer based on a misunderstanding of the question. After realising that, I felt a moral obligation to at least try to answer the question.
Okay, could everyone try again, please? And please cut-and-paste from my answer rather than changing what you cut-and-pasted from before (since that was the source of the problem in the first place).
@BrunoLeFloch: nice question: tex.stackexchange.com/questions/43013 . I'm not sure it's easily achieved though. There's a voice echoing "reflection! reflection!" inside my mind, but I still need to figure out how to get there. :) Metaprogramming is very challenging, but the meta layer needs to be known for you to extract things from code. :)
@PauloCereda I think your feature request about the google+ icon was unfairly declined. Then I observed that the SO, SF and SU g+ icons are less saturated and therefore I made a new feature request: meta.tex.stackexchange.com/questions/2216/…
My bibtex style outputs
Newton, S. I. Opticks, or a treatise of the reflections, refractions,
inflections and colours of light [Text] / Sir Isaac Newton. [S. l.],
1730. 382 p. Google Books : XXu4AkRVBBoC.
for the following BibTeX entry
@BOOK{IsaacNewton,
author = {Newton, Sir Isaac},
...
Well, not that this directly answers your question but while Chemistry overlaps with other fields, particularly physics, there must be a dividing line that separate the two enough to have two schools of thought and therefore, that should be exploited here on SE
And as a chemist myself, I feel rather out of place in SE with regards to Chemistry related interests.
@PauloCereda I've been in chemistry for only 7 years really (short amount of time) but the only explosions we ever did were Calorimetry (quite boring really) and accidental ones.
Physical chemistry lab. A group of girls were doing bomb calorimetry and thought a slight variation in the packing sample weight was 'too small to matter.' One explosion and 12 ceiling tiles later, they reconsidered while being stripped to their knickers under the lab shower.
@LordStryker Ah, a variation on the less dangerous 'the name in the lab script looks similar to the one on this bottle: it's probably the same thing' approach
Well it seems as though in 1 yr. time they have reached 54% commitment level. So in another year I should perhaps expect an email announcing the beta phase. *sigh
With the original definition it should be sufficient to say \patchcmd{\@citex}{\hbox}{\marginpar{[?]}\hbox}{}{} (package etoolbox and the usual \makeatletter and \makeatother)
@JosephWright This might be; but of course it requires changing the document. A big problem is that people only look at the response of the front-end and ignore warnings.
Tell Bruno to implement sorting of sequences, I need it for an answer. :)
@BrunoLeFloch Is l3sort ready for me to check over and move to l3experimental?
@egreg I don't follow
Bruno has lots of ideas: the trouble is getting them from l3trial ('some ideas') to l3experimental ('release to the wider world') and on to l3kernel ('this really is a good idea')
@PauloCereda If you want to do that during a LaTeX run, then load xpatch and do \xshowcmd\cite; you need to run LaTeX from the shell, of course. It's faster than with \meaning that forces you to go and look at the PDF.
Bruno's argument was, more or less, that an expandable sort is all very clever but is slow, scales badly (quadratic, I think) and is not really that useful
Question
How can I apply selective kerning within the numerator and denominator of an inline fraction? Specifically, I'd like to:
Tighten kerning after the numerator if it ends in 7
Loosen kerning after the numerator if it ends in 4
Tighten kerning before the denominator if it begins with 4
Lo...
@egreg You are right, the second question was opened because the first one received a "status-declined" tag from the SE staff. Maybe it's better to keep the second one closed. :)
@egreg: Palmeiras announced today a new advertiser for the uniform: Kia Motors. :)