« first day (1004 days earlier)      last day (3937 days later) » 

11:06 AM
Joseph Wright has added an event to this room's schedule.
 
11:35 AM
I've been working on doing some pgfplots where I don't have any axis lines, just a few ticks. That's very much in Tufte's style (although that's not my reasoning). Would something added to tex.stackexchange.com/questions/29293/… make sense or should I ask a question and answer it myself? We don't seem to have a set of instructions for this particular case.
 
12:07 PM
Hi all! Quick question. Catcodes of characters are fixed as soon as they are scanned by TeX (rather than when they are evaluated). Is this not the case for mathcodes?
 
12:35 PM
@mhelvens No, they are more flexible: you can check this with a quick test
 
12:53 PM
@JosephWright I think a specific Tufte based question would be much appreciated. You can link that one anyhow.
To everyone, do you also get a tft-49 not found error with the following code?
 
@percusse Am writing one now!
 
\documentclass[tikz]{standalone}
\usetikzlibrary{plotmarks}
\begin{document}

\begin{tikzpicture}[transform shape, scale=0.5,decoration={zigzag,amplitude=1pt,segment length=1mm}]
\begin{scope}
\begin{scope}
\begin{scope}[rotate=90]
\draw[domain=0.6*pi/3:6.5*pi/3,
samples=50,draw=none,
mark=o*,
mark size=2mm,
mark options={fill=white},
mark indices={1,...,4,13,14,...,30,36,37,...,40,42,43,...,49}] plot[parametric] function{3*sin(t),0.1*sin(2*t)};
\filldraw[fill=white] (tpt-49) ++(10:2mm) arc (110:40:2mm) arc (-40:156:2mm) arc (65:5:2mm) ;
Oh darn. Please remove the first two \begin{scope}
 
Guys, what's the page parameter in the addtotoc key from pdfpages?
addtotoc={⟨page number⟩,⟨section⟩, ⟨level⟩,⟨heading⟩,⟨label⟩}
 
@JosephWright I did check. I just wasn't sure whether I made some mistake. This 'flexibility' is getting me into trouble, actually. Is there a simple way to store the 'old' character? That is: the same character but with the old mathcode? \tl_set_eq:NN doesn't seem to work.
 
@mhelvens You have to save the mathcode in a similar way that you do for the catcode: \edef\temp{\the\mathcode`\A}
Often set up in the form \edef\restoremathcodes{\mathcode`\A=\the\mathcode`\A}, etc.
 
1:05 PM
@JosephWright I understand. Thanks!
 
@percusse After adding decorations.pathmorphing, yes.
 
@TorbjørnT. Ah thanks. It's really strange it stopped working literally hours ago. Also I forgot to add
\usetikzlibrary{plotmarks,decorations.pathmorphing}
\makeatletter


\pgfdeclareplotmark{o*}
{%
\pgfcoordinate{tpt-\the\pgf@plot@mark@count}{\pgfpointorigin}
  \pgfpathcircle{\pgfpointorigin}{\pgfplotmarksize}
  \pgfusepathqfillstroke
}

\makeatother
I have no idea what happened in the mean time
 
@percusse Having also added shapes.geometric and calc libraries, it compiles.
 
@TorbjørnT. I can't be that stupid now can I? IS this a new world record?
 
And I removed an extra \end{scope}.
 
1:15 PM
@TorbjørnT. Strange it still doesn't compile for me
 
@percusse Hm. The following compiles for me.
\documentclass[tikz,border=1mm]{standalone}
\usetikzlibrary{plotmarks,decorations.pathmorphing,shapes.geometric,calc}
\makeatletter
\pgfdeclareplotmark{o*}
{%
\pgfcoordinate{tpt-\the\pgf@plot@mark@count}{\pgfpointorigin}
  \pgfpathcircle{\pgfpointorigin}{\pgfplotmarksize}
  \pgfusepathqfillstroke
}
\makeatother
 \begin{document}

 \begin{tikzpicture}[transform shape, scale=0.5,decoration={zigzag,amplitude=1pt,segment length=1mm}]
 \begin{scope}[rotate=90]
 \draw[domain=0.6*pi/3:6.5*pi/3,
 samples=50,draw=none,
 
@TorbjørnT. That's really weird. Let me check if it's due to the CVS version.
 
@percusse Perhaps, I'm running the standard version in TL 2013.
 
@TorbjørnT. Does it look like the following or lots cramped discs?
 
@percusse Like that.
 
1:23 PM
@TorbjørnT. OK. That means my adventure with MikTeX is coming to an end in a few days probably. First LuaTeX then these things......
 
aaaargh, addtotoc is using a page before the real one!
Got it.
@egreg: Can I ask you a question about imakeidx and index in general? :)
 
1:47 PM
@PauloCereda My connection is a bit unstable. Ask, please.
 
@egreg Ah no worries. :) I was trying to add an index entry before a PDF inclusion via pdfpages' \includepdf via \index{...}. I'm not sure why the generated .idx is empty. If I put \index in another part of the document, say, in a text, it works.
 
@PauloCereda \index entries are processed at ship out time. Can you add a MWE?
 
@egreg Let me try to strip down my real document. Just a minute. :)
@egreg: here:
\documentclass{memoir}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pdfpages}
\usepackage{imakeidx}

\makeindex[name=authors]

\begin{document}

\printindex[authors]

\index[authors]{Doe, John}
\includepdf{anypdf.pdf}

\end{document}
I can post a question in the main site too.
 
@PauloCereda You can't print the index before defining entries if you want the automatic processing of imakeidx. Of course with arara you can do it, use the noautomatic option to imakeidx
 
@egreg Uh-oh. I'm terribly sorry for this newbie question. :(
@egreg: Is this the correct behaviour? Even if I have noautomatic set, I can only generate the .idx properly if I comment \printindex.
 
2:05 PM
Can anyone check whether the code in writelatex.com/290051pqbpfn compiles ? Apparently @TorbjørnT can compile it. but I can't and writeLaTeX can't either
 
@PauloCereda Don't worry! Hmm; something's wrong. :(
 
@egreg Uh-oh.
@percusse Sir, I can't compile.
 
@PauloCereda Aaargh, WTF?
@PauloCereda You are on TL 2013 right
?
 
@percusse Yep. <3
 
How can that be possible?
Anyway.....
 
2:10 PM
@percusse A shotgun pointed to the monitor? :)
 
The other way around
 
\usepackage{samuelljackson}
 
More like a \usepackage{KurtCobain}
 
@percusse Grandma take me home, grandma take me home!
 
@PauloCereda Here it is: probably closing the index files should be done only when automatic processing is wanted.
\documentclass{memoir}

\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{pdfpages}
\usepackage[noautomatic]{imakeidx}
\usepackage{etoolbox}
\makeatletter
\AtBeginDocument{
  \patchcmd{\imki@putindex}
    {\immediate}
    {\ifimki@disableautomatic\else\immediate}
    {}{}
  \patchcmd{\imki@putindex}
    {\endcsname}
    {\endcsname\fi}
    {}{}
}
\makeatother

\makeindex[name=authors]

\begin{document}

\printindex[authors]

\clearpage
\index[authors]{Doe, John}
\includepdf{emka}
@PauloCereda Here it is: probably closing the index files should be done only when automatic processing is wanted.
 
2:22 PM
@egreg Oh my, thank you very much. Sorry for the trouble, I had no idea. :(
 
@PauloCereda As I said, this should be corrected. I'll do it in the next release.
 
@egreg Cool! :)
 
2:34 PM
@percusse I just realized, it requires --shell-escape.
 
2:48 PM
@TorbjørnT. I've checked that too. I have done basically nothing between yesterday and today. So something else is going on
 
@percusse Well, using lualatex without --shell-escape I got tpt-49 not known, with --shell-escape it works.
 
@TorbjørnT. I'm really about to go crazy :) It's been hours and I really don't have any clue
 
@percusse Are the gnuplot-files created correctly?
 
@TorbjørnT. Yes.
 
3:00 PM
@percusse Works for me (with LuaLaTeX and shell escape.) TL 2013 on a Mac.
 
@AlanMunn @TorbjørnT. OK. I've fixed the PDFLaTeX part.
 
@percusse It also works with pdfLaTeX too for me. (I just used LuaTeX because that's what @TorbjørnT. had done.)
 
@AlanMunn This must be related to the recent LuaTeX updates of MikTeX. I've basically ruled out every other thing.
After updating MikTeX and restarting the computer PDFLaTeX went back to normal.
Scratch that .... standalone version also works for me too
today is not my day
 
@percusse Time for a refreshing beverage.
@PauloCereda ^^^
 
@AlanMunn OMG
 
3:17 PM
hi there!
 
@Rico Hello!
 
@PauloCereda :)
everything fine here? had a lot to do, so I could not visit this channel as much as I'd liked to :(
 
@Rico World domination in progress, as usual. :)
 
@PauloCereda great, means I didn't missed anything important :)
I noticed, there are now packages for creating high detail timelines, including (hour) minutes second milliseconds . Or are there any sort of packages I just could not find
 
3:49 PM
@Rico I don't know any packages. :(
 
4:04 PM
@PauloCereda me nether. I'll do it with a tabular for now
 
@Rico What would it look like? The chronology package is pretty simple, so it might be easy to adapt to your needs.
 
@AlanMunn since I need some larger descriptions I was thinking of something vertical
 
@Rico So then maybe the tabular idea makes sense. But if you have any calculable values then using TikZ would probably make sense.
 
@AlanMunn there is not really something calculable. Maybe the elapsed time. I have the format hh:mm:ss,f where only the ss and f changes
 
@Rico I guess it depends on whether you want some scaling between values.
 
4:18 PM
@AlanMunn would be great, if there would be some scaling based on the amount of time that elapsed
 
@Rico Right, so that's why a TikZ solution might be useful over tabular.
 
@AlanMunn mh I'll finish my tabular and ask for some ideas on TeX.sx
 
 
1 hour later…
5:25 PM
Confirmed dupe:
2
Q: Aligning long entries in LOF using tocloft package

GeorgeI am facing a problem by left aligning long entries in the LOF using the tocloft package. Although my TOC for long entries looks perfect and aligned, the LOF is not :( . I am using the command \caption[Short caption]{long caption} to introduce shorter captions in my LOF. Here an example: ...

 
 
1 hour later…
6:34 PM
Ok, I went back to that document I was working on and change all the titles, since I was fighting with them so often
I assume that
\titlespacing*{\section} {0pt}{1ex plus .5ex minus .5ex}{1ex plus .2ex minus .2 ex}
\titlespacing*{\subsection} {0pt}{1ex plus 1ex minus .2ex}{1ex plus .2ex minus .2 ex}

is less ugly then adding \vspace{-6 pt} in a bunch of places, right? Since I did that, and changed my tables, I have removed about 90% of the custom altering I had to do to the title spacing. Also I found the [noitemsep] command to make my lists more compact.
 
In tex.stackexchange.com/a/98407/16595 @egreg used \f@encoding, \f@family to re-use font settings outside of the current math-mode. Does similar macros exist for saving the current math font settings (similar to \mathpalette and \mathchoice which give you the right math style)?
 
6:47 PM
\m@th?
 
7:30 PM
Oha, @PaulGaborit has updated the TikZ CVS version: perso.mines-albi.fr/~gaborit/latex/tikz-pgf.html | tex.stackexchange.com/a/63982/16595 :)
 
7:43 PM
@Qrrbrbirlbel I also have TikZ/PGF updates. :(
 
@Qrrbrbirlbel What font settings?
 
@PauloCereda Pardon?
@egreg If you have time, take a look at: tex.stackexchange.com/a/126239/16595.
 
I'm off by 2 days, but I'm building a daily version today. :)
 
Basically, $ math \sbox0{$\mathsf{f}$} math$ and $ math \mathsf{\sbox0{$f$}} math $ should give the same box 0.
@egreg As it looks now, the sf part for the math font is lost when doing an \hbox.
 
@Qrrbrbirlbel \mathsf uses a math alphabet.
 
7:48 PM
@PauloCereda Excellent! My machine and I am not suited for CVS-ing. :)
 
@Qrrbrbirlbel <3
 
@egreg Sure, but what does that mean? It seems that even \?phantom cannot handle this because it does only use a box itself:
\documentclass{article}
\fboxsep=-\fboxrule
\begin{document}
\fbox{$\mathsf f$} \fbox{$f$}

\fbox{$\phantom{\mathsf{f}}$} \fbox{$\mathsf{\phantom{f}}$}
\end{document}
tex.stackexchange.com/a/10642/16595 seems to do something like that what I want but apparently, that's not how TeX works (the easiest would be to "save" the current math font settings and "apply" them inside of \hbox/\sbox (or for example a TikZ node).
 
@Qrrbrbirlbel See this:
\documentclass{article}
\newcommand{\famphantom}[1]{%
  \edef\mycurrentmathgroup{\the\fam}%
  \phantom{\fam\mycurrentmathgroup#1}%
}
\fboxsep=-\fboxrule
\begin{document}
\fbox{$\mathsf f$} \fbox{$f$}

\fbox{$\famphantom{\mathsf{f}}$} \fbox{$\mathsf{\famphantom{f}}$}

\end{document}
 
@egreg Would you look at that? :)
 
@Qrrbrbirlbel Too many \pgf...
 
8:03 PM
Wouldn't this be a great "fix" for \phantoms or is it not safe enough? (I'm going to use this in my answers from this point on.)
@egreg Nah, I didn't mean my answer but your (chat) answer. It was a rhetorical question. ;)
 
@Qrrbrbirlbel For a single symbol it should work.
 
 
2 hours later…
9:39 PM
/me got a beautiful amount of reputation :) (19191)
hopefully nobody gives me an up- or downvote :)
 
9:55 PM
@topskip Yay! :)
 
10:29 PM
Hi @PauloCereda :-) I have a comment waiting for moderation in your "A new milestone" Blog Post in the "Tex.SX Community Blog" at tex.blogoverflow.com/2013/07/a-new-milestone Could you approve it, please?
 
@ricmarques Oh hello! :) Sure, let me take a look! :)
@ricmarques: I'm sorry, we don't get notifications on moderated comments; apparently the blog infrastructure simply puts the comments on hold and we don't get any feedback. Now it's fixed. :) Sorry.
@ricmarques: and you are right, @egreg = Enrico Gregorio. :)
 
@PauloCereda Thanks :-) Hmmm...Now, this is weird: the blog post now says "11 comments" instead of the previous 10, but my comment still does not appear. When you say "Now it's fixed" do you mean that you enabled some kind of notification setting OR just that you approved my comment?
@PauloCereda OK. My comment appears now :-) Probably the publication of a moderated comment is a multi-step process. Are all comments subject to moderation or was mine "caught" because it had several links? BTW: who can create Blog Posts in the Community Blogs?
 
10:45 PM
@ricmarques I approved the comment. :)
@ricmarques I believe your comment was caught. :( Maybe now that your comment is approved, you are now in a "whitelist". :) If you feel like joining the blog team, just tell us, then Joseph adds you the read/write privileges. :)
 
@PauloCereda Thanks for the info and for the invite :-) I admit that I don't feel up to that task... my "LaTeX"ing nowadays is limited to some mathematical expressions that I write for the Mathematical courses of a "Bologna Licenciatura" (3-years degree), that I'm now attending, in "Computer Science". I had a "pre-Bologna Licenciatura" - 5 years degree - in Business Administration.
 
@ricmarques oh my, I heard about the Bologna process. Sounds too complicated for me - we just have "licenciatura", that's all. :)
 
11:02 PM
@PauloCereda To confuse matters even more, I believe that, where you live (Brazil, right?), "Licenciatura" is a specific degree "in Teaching". Same word for totally different things, I guess - pt.wikipedia.org/wiki/Gradua%C3%A7%C3%A3o - I think that our (Portugal) "Licenciatura" is your "Bacharelado". To confuse matters even EVEN more, before Bologna, we also had a "BacharelaTo" degree ( note the "T" instead of the "D") that was a 3-years degree.
 
@ricmarques Oh my, that is confusing! :) You are right, "licenciatura" for us is a degree for teaching, the equivalent wording would be "bacharelado". :)
@ricmarques: in other news, I see we are Twitter buddies. :P
 
@PauloCereda Right. Thanks for confirming that my understanding of Brazil's "Licenciatura" vs Portugal's "Licenciatura" vs Brazil's "Bacharelado" vs Portugal's "Bacharelato" (a defunct degree, since Bologna) was right :-)
@PauloCereda Indeed, we're "Twitter buddies" :-) Although, I admit that I don't tweet often. Too busy between work and study :-(
 
@ricmarques Ah same here. :) Recently I removed all my tweets and started over. :)
 
@PauloCereda Right. I hadn't noticed your "Twitter reboot" :-)
 
@ricmarques To tell you the truth, I wasn't proud of some of them, so I cleaned up the crime scene. :P
 
11:13 PM
@PauloCereda LOL!
 

« first day (1004 days earlier)      last day (3937 days later) »