| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 2 years, 1 month |
| seen | yesterday | |
| stats | profile views | 104 |
|
2d |
answered | What are the various units (ex, em, in, pt, bp, dd, pc) expressed in mm? |
|
2d |
comment |
Decimal comma: extract one feature from babel-spanish rather than doing complicated things with active characters, perhaps adding some mark-up to the source is a simpler option: $\np {12.34}$, with the \np macro from the numprint package, which is configurable (\npdecimalsign{,} for example; see the doc page 14). You also need option np to use the abbreviated form rather than \numprint. |
|
May 16 |
comment |
Making calculations using counter @RyanReich: yes, the way I formulated things in that earlier comment is rather poor. |
|
May 15 |
comment |
amstex: operator definition error @egreg "sen" has a more sensual look than "sin"... ok, sorry, and apologies to the OP for this digression. |
|
May 15 |
comment |
amstex: operator definition error @egreg it's not "arctan" which I dislike but the way it has raised to pre-eminence. I must be deeply conservative. Actually I am, I guess. |
|
May 15 |
comment |
amstex: operator definition error @egreg: I can't resist mentioning that "arctg" is traditional in France too, but hand-held calculators have initiated thirty years ago a slow but constant decline, much to my dispair. |
|
May 15 |
answered | Making calculations using counter |
|
May 15 |
comment |
Making calculations using counter yes, simpler indeed! my answer builds expandably the complete thing and only at the end re-inserts it in the token stream... (professional deformation due to work on a package). |
|
May 15 |
comment |
Making calculations using counter @DavidCarlisle I have to lose weight, this gives me a distinctive advantage... just had a light soup... |
|
May 15 |
comment |
Making calculations using counter and I forgot to say that this code uses no counters at all... |
|
May 15 |
answered | Making calculations using counter |
|
May 15 |
comment |
Making calculations using counter Well, sure, but I need to have a bit more of context, perhaps you need a so-called expandable loop. Do you just want some code to produce the lines as shown in your image? are you going to need it also for, say 77, rather than 10? I will post a tentative answer, which may not fit the bill. I am confident some answers by others will show up quickly also. |
|
May 15 |
comment |
Making calculations using counter LaTeX's counters are not really for computations (one has to prefix with \c@ the counter name to get the underlying TeX count register). Try \newcount\cnti (once), and \the\numexpr 2*\cnti-1\relax in your constructions (\advance\cnti\@ne) |
|
May 15 |
comment |
How to redefine an environment to produce no output? The reason this answer deals with the proof environment is that I was working on this other question when it got closed as duplicate. |
|
May 15 |
answered | How to redefine an environment to produce no output? |
|
May 15 |
answered | Specify minitoc for each chapter |
|
May 15 |
answered | Setting a column of an align environment at a fixed distance from the margin |
|
May 14 |
comment |
How retrieve items in a list of words by number? Glad it helps! the idea is to automatize the creation of macros such as \SkillToAdj2 which expands to Fair. But to get 2 inside the macro name one uses the \csname primitive, here hidden in LaTeX \@namedef. Conversely \AdjToSkillFair is defined to expand to +2. It could have been done simply by \def\AdjToSkillFair {+2}. But I used also \@namedef as there were various other strings to use, besides Fair. As the +2 may be input in various ways, like 2 or 1+1, it was filtered through \numexpr. Text strings should also be filtered for more robust code allowing spaces. |
|
May 14 |
comment |
Automated generation of equation key This is not what you want, but if you are ready for special mark-up of the source like people do when thy want to index things, say \x{\dot{D}} rather than \dot{D}, \x\tau rather than \tau, etc... then a not too complicated solution would be easily feasible. (not by me, as I don't know anything about glossary). |
|
May 14 |
answered | How retrieve items in a list of words by number? |