« first day (1549 days earlier)      last day (3368 days later) » 

12:10 AM
@DavidCarlisle Are there volunteers?
@DavidCarlisle what did you do your post-doc at Cambridge on?
 
@FaheemMitha I was working with the algebraic topology group, mostly working as I had on my thesis at Manchester with representation theory of matrix groups over finite fields
 
@DavidCarlisle Oh, I didn't know you used to do pure math. Did you get tired of it, or was the job situation too rough?
This was in the 80s, I guess?
 
@FaheemMitha yes thesis was 85 I remember once looking round a math department and there wasn't a member of staff who hadn't been there for 20 years, it seemed like not the best career. So I worked in theoretical computer science for 12 years as a post doc, then a further 2 back in math then decided that fixed term contracts were getting less and less fun each time, but actually I'm better off where I am in the end, funny really to be working at NAG as I hardly did any numerical math courses:-)
 
@DavidCarlisle well, academics aspire to stay in one place. it's called tenure. :-) You didn't want to stay in one place?
 
12:29 AM
@FaheemMitha at the time I would have done, but they were not appointing anyone. UK universities had undergone massive expansion in the 60's and basically they took on lots of people then and then ran out of money. that's what I meant by no one new for that period. If a department hasn't taken on any tenured pure mathematican for over a decade and you are on a 2-year post doc, the odds of getting tenure at the end are slim:-)
 
@DavidCarlisle I see. I think the situation has remained pretty tight.
Jobwise, that is.
I'm hoping I can interest someone in an optimization issue. Of course, this would depend on having some understanding of how datatool works. :-)
 
@FaheemMitha yes it comes and goes in waves but when you have a fixed term contract you can't always wait for the next upturn:-) But as I say things worked out for the best in the end, so no complaints really.
 
@DavidCarlisle Ok.
 
 
7 hours later…
7:30 AM
@ChristianHupfer shouldn't that be "I see dead operating systems"?
 
@ChristianHupfer Yay! How are your first impressions?
 
7:46 AM
@PauloCereda: Well, it looks nice and is faster, but I have a new machine with faster cpu and the OS is stored on a SSD. But I don't like Gnome.
 
@ChristianHupfer Cool. Try KDE with Fedora then. :)
 
@PauloCereda: I'll do, tomorrow, today is my long day at school, from 10 o'clock to 21 o'clock :-(
 
8:02 AM
@PauloCereda Good morning! Here's one for you to solve with Perl, Python, Lua or whatever:
2
Q: How to automatically create a book of abstracts of a scientific conference?

SisabeI'd like to prepare a book of abstracts of a scientific conference with about 650 articles. Suppose the articles are all the same document class and all have the following structure (feel free to change its structure): \documentclass{article} \usepackage{lipsum}% just for this example \newcomm...

@PauloCereda An easy bounty
 
@egreg Good morning! :) I had something done towards these lines (I wrote a quick Lua script), but I didn't finish. To be honest, I got a bit annoyed by the provided answer which seems to add an unecessary complexity layer and gave up coming up on my own answer. :( I think a Python script would be very efficient and not so painful. Although I'm really really tempted to show how arara 4.0 can do this. :)
 
@PauloCereda I mean, it would be easy adding code that writes the data out in a file, but then a script would be needed to collect all these files anyway.
 
@egreg Ah, I thought of a script that extracts info from every single .tex (sounds too dangerous and error-prone), but if data is consistently available, we could use a very simple template engine to do that. :)
 
@PauloCereda I think you can assume that titles are the argument of \title, authors the argument of \author and the abstracts are delimited by \begin{abstract} and \end{abstract}. Then it's the OP's business to provide a way for producing the booklet from the data.
 
@egreg Got it. I'll write a code later on today. :)
@egreg: how do you like the idea of a script gathering all info into a .csv file? Then datatool could be used.
 
8:18 AM
@PauloCereda That would be an idea.
 
yo'
@egreg I have a solution for this, however, it's completely mixed with the class file and 200 bounty is currently not interesting enough for me to spend time on it ...
 
 
1 hour later…
9:40 AM
@percusse one for you:-) walkingrandomly.com/?p=5662
 
10:07 AM
Guys, when verbatim is used inside a block environment in beamer, it adds some space before and after it. Any suggestions on removing such spaces?
 
@PauloCereda verbatim is a one item list so presumably it has \topsep+\parskip or \partopsep+\parskip above it
 
@DavidCarlisle Ah I see!
 
@PauloCereda probably \begin{minipage}{}\begin{verbatim sets things to zero if you don't want to mess with length params
 
@DavidCarlisle Ah it's a shame but I can understand it. After seeing this, I'm also wondering if I did the right thing astropython.org/blog/2014/4/…
 
10:31 AM
@DavidCarlisle Thanks. :)
 
10:54 AM
user image
3
.... words are not enough ....
 
@percusse @egreg's favourite musical form
 
@DavidCarlisle Somehow I can't dismiss that option immediately :)
 
@percusse You have to learn playing the bagpipe or the format won't be created.
 
@egreg I'm curious about the restless mind who managed to make it this far with its own format and whatnot.
 
@percusse WAT
 
yo'
11:10 AM
@PauloCereda I thought that this is your favourite. You don't write your CS papers on bagpipe tunes? Well, maybe that's the reason why you struggle to get them accepted :P
 
@yo' LOL
 
yo'
@PauloCereda :)
 
11:30 AM
I have a fan:
0
Q: cryptic plain TeX: Twelve days of Christmas

Silvio LevyMany years ago, probably in TUGboat, I saw a shortish piece of \TeX\ that immediately deploys catcodes and very quickly becomes completely unreadable, but when typeset produces the old "twelve days of Christmas" ditty (benefitting from recursion due to the repetitive nature of it). I tried to ...

 
11:45 AM
@DavidCarlisle and great tagging too. Sums up the whole story in that order
 
@percusse indeed; thanks for sharing that!
 
@percusse I improved the tag. :)
 
@PauloCereda Hahaha nice.
@PaulGessler My pleasure
 
@percusse :)
 
@PauloCereda The definition does not sound correct though
copy pasted from wikipedia but still doesn't make too much sense
 
11:50 AM
@percusse Indeed.
Recursion is a operation expressed in terms of itsef. <- maybe?
 
aaah that's the mathematical definition. It should have been copied from the computer science one.
 
@percusse CS definition: get an interactive thingy and make the very shame sh*t happen without it? Got it? That's recursion.
:)
 
@PauloCereda How about now?
 
@percusse Perfect, sir. :)
 
Should we include the definition of GNU or TikZ as examples ?
 
11:56 AM
@percusse Or factorial. :)
 
bah too nerdy. As is would do for now
Your example is fun enough to provide context
 
recursion: means the definition of functions via recursion.
3
@percusse ^^
 
@DavidCarlisle For a moment I was tempted too but have mercy on poor souls who are trying to understand the concept
Stupid thing to say to the author of xii.tex though
 
@percusse perhaps there is a reason I didn't end up being a lecturer as a profession
 
@DavidCarlisle Hahaha. Today I'm going to solve the problems that we will encounter next week that uses material from today's lecture
 
12:39 PM
@StefanKottwitz Clearly your book is to blame:
0
Q: ! LaTeX Error: Missing \begin{document}

DavidI am new to LaTex. I am reading the book "Latex" by Stefan Kottwitz, but under "creating our first document" I was supposed to write the following: /documentclass{article} /begin{document} This is our firstdocument. /end{document} When I write this in Texworks, I only get this message in the c...

 
@DavidCarlisle :-)
@StefanKottwitz How is the new book going?
I have a big one to proof read for @NicolaTalbot (and lots of reading for work, too, so not getting very far!)
 
 
2 hours later…
2:14 PM
It's good to have package documentation to back you up:
4
afterpage is working as documented in two column mode. The footnote to the first sentence of the documentation says: This implementation does not work in two column modeDavid Carlisle 2 mins ago
 
 
1 hour later…
3:43 PM
Can someone please help me to understand why the \drawline command with an optional argument works OK inside \caption but needs to be \protected if the argument is mandatory?
\documentclass{article}
\usepackage{tikz}

\newcommand\drawline[1][black]{%
  \begin{tikzpicture}
    \draw[#1] (0pt,0pt) -- (15pt,0pt);
  \end{tikzpicture}%
}
%\newcommand\drawline[1]{%
%  \begin{tikzpicture}
%    \draw[#1] (0pt,0pt) -- (15pt,0pt);
%  \end{tikzpicture}%
%}
\begin{document}
\listoffigures

\begin{figure}
\caption{test \drawline[ultra thick]}
%\caption{test \drawline{ultra thick}}
\end{figure}

\end{document}
 
@GonzaloMedina \newcommand automatically uses the LaTeX2e protected mech. for commands with optional arguments
@GonzaloMedina Use \DeclareRobustCommand or \protected\def
 
@JosephWright Ah, thanks!
@JosephWright Why is that? I mean, what's the reason for automatically protecting commands with optional arguments and not those with mandatory ones?
 
@GonzaloMedina Partly space, partly logic :-) The logic part is that testing for an optional arg uses \futurelet and so cannot be expandable. Thus any command with an optional argument needs protecting. On the other hand, mandatory args are grabbed without any tests so can occur in expandable commands.
@GonzaloMedina Space wise, robust commands need two csnames, fragile ones only one (pre-e-TeX)
@GonzaloMedina Seriously, use \protected\def or etoolbox and \newrobustcmd: the engine mechanism is much more powerful than the LaTeX2e one
 
yo'
@egreg You gotta love people with the idea: "Let's confuse and obscure" :D
2
A: Is there a notation for being a finite subset?

lisyarusProbably use ordinal/cardinal numbers? $$|A| < \omega$$ $$|A| < \aleph_0$$

 
4:04 PM
'RTFM': answer or close?
0
Q: mciteplus - sublist

MatthewI was not able to find any help so far, that's why I turn to tex.stackexchange again. I would like to use the sublisting mode of mciteplus. Strangely, it just doesn't create a sublist. By reading through the manual I didn't get further and examples from other websites also did not create the subl...

 
@JosephWright why not both? :) On a more serious note: close it. :)
 
@yo' True. The best "notation" will always be "A is a finite subset"; I don't quite understand why some people dislike using plain words and think that introducing more symbols makes life easier...
 
@JosephWright: another blog spam?
 
@yo' Yes! One of the comments is enlightening: “if such a notation doesn't exist, it means it's unneeded”.
 
4:34 PM
@PauloCereda Zapped
 
4:52 PM
@DavidCarlisle I'm planning to do a blog post about font encodings, Unicode engines, etc.: hope this is OK
 
yo'
@GonzaloMedina yeah. Well, as I tried to explain there: Of course, if you need it a lot, let's shorten it. But otherwise ...
 
5:10 PM
@JosephWright what are you going to say: "we're all doomed"?
 
@DavidCarlisle No :-)
@DavidCarlisle More an examination of the issues
@DavidCarlisle Feel there should be some advice/warnings/... on this area
 
@JosephWright yes there should, I still feel there can be a solution as well, but not quite there yet. Anyway let's see what you post....
 
@DavidCarlisle I am planning to say something to the effect that work is ongoing
 
@JosephWright sounds about right
 
@DavidCarlisle OK, will see what I can come up with later today
 
5:16 PM
@JosephWright About the half is done, I just don't know if I'm on the right track as I don't have feedback besides from the publisher
 
@StefanKottwitz Ah
@StefanKottwitz Packt again?
 
@JosephWright Yes, again. This time I send hi res bitmaps :-)
 
5:31 PM
@StefanKottwitz :-)
 
It, just, i, ... I really don't wanna read another one of those discussions. windows.uservoice.com/forums/265757-windows-feature-suggestions/… Crossref: latex-community.org/forum/viewtopic.php?p=87132#p87132
 
yo'
Is there a difference between $A$ and $A_{}$ (in general, empty subscript to something in math mode)? I mean, other than the problem with double subscripts...
 
@yo' yes
 
yo'
@DavidCarlisle ok, I'll avoid it then :)
 
@yo' it can affect the position of superscripts and I think can affect inter-letter kerns but I'd have to check
 
yo'
5:39 PM
@DavidCarlisle ok, none of these two is gonna happen I think, but doesn't matter, I'll avoid it by \ifx\\#1\\ :)
(just kidding, it seems that \IfNoValueTF is the tool here, but that's pprobably from the future for @David anyways)
 
@yo' @egreg would have you use \if\relax\detokenize{#1}\relax but that's etex so pretty much the future as far as I'm concerned
 
@yo' It's an empty superscript that can affect the position of a subscript, not the other way around. Of course, an empty subscript also inserts the \scriptspace, so it affects the width of the object.
@yo' So $A$ is 7.5pt wide, but $A_{}$ is 8pt wide.
 
yo'
@egreg ok, thanks
 
@egreg ah yes, sounds about right:-)
 
@DavidCarlisle About? :P
 
5:49 PM
@egreg not bad, for you.
 
6:34 PM
@StevenB.Segletes Just to know. This is my \listfiles for your answer at
5
Q: raising subscript with mhchem

ruffyI've tried to define a macro with staggered sub- and superscript and added a formula with mhchem to the superscript. the typesetting seems misaligned especially the subscript seems to be typeseted to high. is there a way to fix this? MWE: \documentclass[numbers=noenddot,plain,ngerman,a4paper,12p...

*File List*
scrbook.cls 2015/01/14 v3.15 KOMA-Script document class (book)
scrkbase.sty 2015/01/14 v3.15 KOMA-Script package (KOMA-Script-dependent bas
ics and keyval usage)
scrbase.sty 2015/01/14 v3.15 KOMA-Script package (KOMA-Script-independent b
asics and keyval usage)
keyval.sty 2014/10/28 v1.15 key=value parser (DPC)
scrlfile.sty 2015/01/14 v3.15 KOMA-Script package (loading files)
tocbasic.sty 2015/01/14 v3.15 KOMA-Script package (handling toc-files)
scrsize12pt.clo 2015/01/14 v3.15 KOMA-Script font size class option (12pt)
 
yo'
@karlkoeller You can't call the person this way I think (he's not reachable unless his name is offered in the auto-complete), you'd have to ask @Joseph to do that for you (if he were willing to)
 
@yo' Thanks. I didn't know that.....
@JosephWright How can invite @StevenB.Segletes here to see my message?
 
@StevenB.Segletes See above
@karlkoeller Mod ping
 
yo'
@karlkoeller @Joseph is the ruler here :D
 
@Joseph thanks.
 
6:45 PM
Stupid question (I should test it, actually): if one column value in a .csv file has, say, \foo{bar}, will datatool expand it?
@egreg: I decided to give the conference thingy a try. :) I'll write a nice script with a FSM. :)
 
@PauloCereda Flying Spaghetti Monster?
 
@JosephWright LOL I should use this acronym
 
@PauloCereda Touched by his noddly appendage
 
@JosephWright :)
 
7:00 PM
@karlkoeller Your installation is much more current than mine.
@karlkoeller This is my first chat, so I'm not too good at it. Don't know how to show my list, but rest assured, they are mostly 2013 or earlier.
Document Class: scrbook 2013/12/19 v3.12 KOMA-Script document class (book)
Package: scrkbase 2013/12/19 v3.12 KOMA-Script package (KOMA-Script-dependent b
Package: scrbase 2013/12/19 v3.12 KOMA-Script package (KOMA-Script-independent
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
Package: scrlfile 2013/12/19 v3.12 KOMA-Script package (loading files)
Package scrlfile, 2013/12/19 v3.12 KOMA-Script package (loading files)
Package: tocbasic 2013/12/19 v3.12 KOMA-Script package (handling toc-files)
 
yo'
@StevenB.Segletes Hi, well done :) (you're one of those who noticed the "fixed font" button popping up...)
 
@StevenB.Segletes welcome to the chat! :-)
 
@PaulGessler Thanks. I guess I'll lurk for a bit to see what goes on... By the way, I got here in response to a message. How does one get here directly? Are there multiple tex chat threads, or one for the whole site?
 
@PauloCereda :)
 
@StevenB.Segletes this is the main one, the others are mostly special-purpose rooms (for extended discussions migrated from comments on posts, for instance).
@StevenB.Segletes at the upper left of the main site, click on the SE logo. Then under "Current Community" you should see TeX - LaTeX - to the right of that is a link to the chat.
 
7:15 PM
@PaulGessler Aha! Thanks for the lesson.
 
@StevenB.Segletes Welcome here from me, too. So your installation is out-to-date and that problem doesn't arise. Strange.
@yo' in fact I've seen that popup and I've ignored it.... (stupid?)
 
yo'
@karlkoeller well, since you're one of many, maybe: bad UX?
 
@yo' Sorry for not understanding.... What does UX mean?
 
yo'
well, UX means "user experience", but here, it should have been UI ("user interface"), sorry for that
 
@yo' No, I think UX were more appropriate than UI, in my case :-)
 
yo'
7:26 PM
@karlkoeller lol. Have you seen User Experience?
damn how does it (not) work? ah this: User Experience
 
@yo' What the .... is that site for?
 
yo'
@karlkoeller basically for people designing anything people will use
 
7:48 PM
@StevenB.Segletes mostly people come here for cricket news
 
@DavidCarlisle By the way, what do you think about Narine's withdrawal?
@StevenB.Segletes See? ^^
 
yo'
However, I get Undefined control sequence: \explaincricket after \expandafter\explaincricket\expandafter{\the\cricketnews}
 
8:17 PM
@GonzaloMedina I'm waiting for Psmith to give me the latest update before I comment (@PauloCereda)
 
9:05 PM
@egreg: does datatool deal with macros inside the .csv values?
 
I thought I could get LaTeX to print the current font size with \f@size, but apparently not. How do I do it?
 
@Gregory You did use \makeatletter before and \makeatother after, right?
 
@Johannes_B: No, I didn't. But I will now.
@Johannes_B
I'm getting that \makeatletter is an undefined control sequence.
 
9:21 PM
@Gregory I used it in tex.stackexchange.com/a/223584/37907 If you are a KOMA-user, this might be of interest :-)
 
Is there a package I need to use?
 
@Gregory Then you are not using LaTeX
 
pdflatex.
 
@Gregory \makeatletter is defined in latex.ltx (the kernel), so unless you've got a typo it will be defined
@Gregory Log?
 
Hmm, now I see. It's not \makeat letter that's undefined. Rather, it appears to be \f@size, which appears to have a line break between the f and the @. I'll post the log somewhere and get a link here in a minute.
 
9:27 PM
@PauloCereda Nicola would be better for the question.
 
Can't seem to upload the log, for some reason. But it's here: gist.github.com/pyrogerg/edc1d832fbd0239b94a1
 
This one was solved updating beamer so can be safely closed:
0
Q: Beamer Presentation Errors

thomasm51I have what appears to me to be a rather simple template code to produce a presentation using the Beamer package: \documentclass{beamer} \title{Presentation Title} \subtitle{Presentation Subtitle} \author{Your Name} \institute[My University]{Department of Mathematical Sciences\\MyUniversity} \da...

 
@egreg I wrote a nice code which does not depend on datatool, hold on. :)
 
9:51 PM
@PauloCereda I've never used datatool before but a quick test suggests that it doesn't expand the database entries.
 
@cgnieder Ah. :)
Thanks Clemens!
 
@PauloCereda :)
 
@Gregory that's tex's error format showing you how far you got it is saying \f is not defined and it hasn't seen @size yet, which means @ is not a letter so youv'e not used \maketletter or not used it in the right place
@Gregory well there you go: <argument> Specimen Name \makeatletter you can not use \makeatletter in the argument to a command (it is like \verb)
 
Aha! All I'm really trying to do is figure out the default font size for headings in the article class, but I thought that this would be a general solution to figuring out font sizes wherever.
So I was trying to use \section{Blah blah \makeatletter \f@size \makeatother}
 
@Gregory put \makeatletter outside but it's easier just to look in article.cls the path to which is in the log:
\newcommand\section{\@startsection {section}{1}{\z@}%
                                   {-3.5ex \@plus -1ex \@minus -.2ex}%
                                   {2.3ex \@plus.2ex}%
                                   {\normalfont\Large\bfseries}}
so it is \Large size.
 
10:00 PM
@DavidCarlisle That's very helpful. Thanks.
 
@PauloCereda I don't understand any line, but it's another story. ;-)
 
@egreg <3 I don't know enough Python to make complex things. :P
 
11:13 PM
@egreg if you don't like m I could change it to your favourite, \multirow
 
@DavidCarlisle I still have some votes for today, I'd happily spend one for you.
 
@egreg "the only way is up"
 
@DavidCarlisle Not sure. :P
 
@egreg anyway it doesn't matter: another well deserved tick awarded
 
11:29 PM
@DavidCarlisle Would you like to !!/battle?
 
@egreg we should only count deserved ticks, then clearly I'd be ahead
 

« first day (1549 days earlier)      last day (3368 days later) »