Where or how do I find the documentation for a given Latex command?
For example, in R I get the documentation for mean() with ?mean or at the manual pages http://stat.ethz.ch/R-manual/R-patched/library/base/html/mean.html. In Java there are the Javadocs to tell me what parameters a method takes ...
I am on OS X (10.6 Snow Leopard) using TeXLive-2011 to typeset a simple .tex file I am editing in Vim and trying to learn. My problem is: how do I...
gradually learn about what TeX can do for me
get detailed information about how I can use a specific command (e.g. get the full "command syntax" ...
@izabera well it depends what you want to avoid, you said you wanted to specify a line spacing of 1ex and what I did does that (you might also want to add \setlength\lineskip{0pt}) but tex will only keep to the specified linespacing if you don't use characters higher than an 1ex tall.
@JosephWright Re tex.stackexchange.com/questions/57884/… the combination of table-space-text-post={**} and table-align-text-post=false leads to too much space on the right side of the column (siunitx 2013/07/31 v2.5s)
@DavidCarlisle now the line height in the colored pictures is perfect, so i'm back to the first problem: how to force the line height to stay the same when characters are taller?
@izabera beware how you start the para if using smash is all I meant, consider these three cases:
\documentclass{article}
\begin{document}
X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X
\smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X}
\smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \smash{X} \…
@AndrewZabavnikov: If the unlikely case you can't divide by 2.84526 in your head should occur nevertheless, you can have a look into the calculator package, see page 15
@PauloCereda: We don't have cats here in our flat, and there is a street with a lot of traffic, so it is too dangerous for them. But in a few months, we can rusticate again (hopefully) and then we will two cats
@AndrewZabavnikov the silence package can help control messages from latex packages but messages from tex (eg full paths of input files) can't be controlled
Hi all, I forgot the name of the package which lets you put braces next to some (i.e., more than one) selected equations in {align} and friends. Anybody help, pleeeease?
@egreg: Just read that Allianz Parque will have free wi-fi! So we will be able to live broadcast games here in the chat and update our TeX distros while watching the game. :)
@Pleasedon'ttouch It's not really clear from the multido docs that the assignment is not simply a plain TeX one (for which my solution would fail): I did a quick trace of the code to work out what was going on.
If \GPT@sin expands to a negative constant, the two minus signs disappear as part of the \if and the absolute value remains; otherwise the positive value disappears as part of the true text and the negative is used.
@egreg There's a reason I've got the LaTeX3 team to set some slightly more taxing engine requirements! (We require pdfTeX >= 1.40.0 and I'm keen to move on the requirements for the other engines a bit, particularly LuaTeX)
Got this on in the background while I do other stuff: at around 32 minutes they are talking about the new algorithm for detecting bad posts. One measure is whether there are any capital letters: Barbara may be in trouble :-)
@Johannes_B: Is your little girl not satisfied with "Papagei" and "arara" any longer. Or is this a question for TeX.SX: Need to draw a Macaw properly -- How to do it, with TikZ
@Johannes_B: One problem is, that we have got many questions concerning issues with thesis-templates, often weirdly designed and basically no documentation on that. Basically none of them is to be found on a central web site such as CTAN, for example. It would be very difficult to keep track of them, if those scarce documentation should be handled as well.
@Johannes_B: You want package docs.... correct. I mentioned templates as well for documentation and stated, they need doc too, you wrote, that they lack doc....
@ChristianHupfer \tl_expandable_uppercase:n (to be removed at some stage) or \tl_upper_case:n (probably to be renamed at some stage): all a bit experimental but quite doable
\tl_upper_case:n isn't in the release version just yet: going to CTAN this weekend. It can handle UTF-8 input with XeTeX/LuaTeX
Currently one of the 'areas of interest' for the team
@ChristianHupfer Arguments for expl3 functions are referred to by type: n is a braced set of tokens, but if you do \tl_upper_case:n <some tokens> with no braces then only the first will get grabbed
You probably want \tl_mixed_case:n, which upper cases the first char and lower cases the rest (actually, it uses the special 'title case' for the first char if there is one: see Unicode docs)
@ChristianHupfer You can just do something like \usepackage{expl3}\ExplSyntaxOn\cs_new_eq:NN\specialcasing\tl_mixed_case:n\ExplSyntaxOff and use \specialcasing (or whatever name you like) if you want
We need to encourage @egreg to finish his expl3 book
@ChristianHupfer Cool. As I said, \tl_mixed_case:n, etc. not in the CTAN release of expl3 just yet but will be probably on Saturday so in TeX Live hopefully by say Tuesday
Or you can grab the burning edge version, of course: github.com/latex3/svn-mirror (and texlua build.lua install)
I see I need to prod Will yet again about the mirroring
@egreg On the l3keys question, see comments below my answer. Thoughts welcome.
@JosephWright: Yes, I can wait until the weekend. It's just a small feature for generating command names, not really important. I came across and wondered, if there is such a command in a package or in core LaTeX2e at all
@ChristianHupfer Doing it expandably and in a general sense is a bit tricky: we use e-TeX and \pdfstrcmp (post-e-TeX) to get there, so it's out-of-the-question for the 2e kernel.
@egreg Currently working on l3candidates: I'm wary of adding 'bits and pieces' for 'testing' then never discussing them, leaving us in an awkward place
@JosephWright: Well, I can imagine, that it is not an easy task. For me it would 'suffice' to get it working in a `\csname \CapitalizeTheFirstLetter{#1} \endcsname context.
@ChristianHupfer l3 is of course a more systematic framework but... \defCapitalizeTheFirstLetter#1{\zz#1}\def\zz#1{\ifx a#1A\else\ifx b#1B\else#1\fi\fi}
@egreg Yes, I noticed it gets used quite a bit. Frank pointed out a while ago there was an issue with the name, but last time I raised it we sort-of ran out of steam in the discussion. This time I seem to have people's attention.
@egreg I've given you nearly 18 months to make a change
@ChristianHupfer Will work with \tl_mixed_case:n, though arguably 'upper/lower/title' case is for 'text' (this is one of the reasons this stuff is experimental!)
@JosephWright yes ifcase might be a bit better that eoulf br \ifcase\numexpr`#1-`a\relaxA\or B \or C...
@JosephWright at times:-) but point remains that people often balk at a dozen lines of code but are happy to load half a million lines of tikz or expl3
@JosephWright final aim should certainly be to use l3 just as its better to use latex than use plain and roll your own all the time, but still latex3 code doesn't have any back door into the tex engine it is still just an awful lot of macro expansion (not that I'm telling you anything you don't know:-)
@JosephWright yes it's not really any different in principle is it (just a bit safer the ifx version I put above would go very wrong if anything other than character tokens was met