« first day (943 days earlier)      last day (4007 days later) » 
00:00 - 18:0018:00 - 00:00

12:00 AM
@HarishKumar compare with this which works for me:
 *File List*
 article.cls    2007/10/19 v1.4h Standard LaTeX document class
  size10.clo    2007/10/19 v1.4h Standard LaTeX file (size option)
tikzpagenodes.sty    2012/09/16 v1.1 Special PGF/TikZ nodes for areas of the pa
ge
    tikz.sty    2010/10/13 v2.10 (rcs-revision 1.76)
     pgf.sty    2008/01/15 v2.10 (rcs-revision 1.12)
  pgfrcs.sty    2010/10/25 v2.10 (rcs-revision 1.24)
everyshi.sty    2001/05/15 v3.00 EveryShipout Package (MS)
  pgfrcs.code.tex
 pgfcore.sty    2010/04/11 v2.10 (rcs-revision 1.7)
@AlanMunn draw the board, or play the game?
 
@DavidCarlisle It's for drawing and recording games. So it doesn't play the game, but accepts a standard move syntax and draws the game incrementally.
 
@AlanMunn I spent two years as a post doc at Cambridge to the continuous sound of backgammon dice, but I never really played much:-)
 
@HarishKumar It seems the problem has been solved?
 
@DavidCarlisle It's a fun game with just enough skill for a good player to win consistently, but just enough chance for a not so good player to think s/he still has a chance. (Dangerous if playing for money...)
 
@GonzaloMedina @DavidCarlisle I can't believe it. I had tikzpagenodes.sty at three places (my misadventures ;-)...) causing trouble. It is resolved now. Thanks David and Gonzalo. :)
@GonzaloMedina Somehow I don't want to abandon miktex :-)
 
12:11 AM
@cmhughes Some sample output:
 
@AlanMunn I guess, if playing for money, every experienced player of any game will play in such a way that a not so good player will consistently think s/he still has a chance ;-)
 
@AlanMunn holy doubling cube, that's brilliant! very nice work!
 
@AlanMunn That's really nice!
 
@AlanMunn picture mode?
 
@GonzaloMedina @cmhughes Thanks. It's been fun. But I've been so busy lately this year that I haven't really had time to finish it. The main thing is to fix the move parser to use the standard syntax that backgammon folk are used to. My initial version used my own syntax.
@DavidCarlisle Be my guest. :)
 
12:17 AM
@AlanMunn so you mean stuff like 6/4*
 
@cmhughes Yes, exactly. Since I'm really just a recreational player, I wasn't really familiar with that.
 
@AlanMunn I'm only recreational too :) I'm trying to become more proficient- I'm currently reading Magriel's book, some folks call it 'the bible of backgammon'
 
@AlanMunn Now we know what you're gonna be doing in your sabbatical.
 
@GonzaloMedina Shhh.
 
@cmhughes: Is there any DLC for backgammon? :)
 
12:20 AM
@PauloCereda downloadable content?
:)
 
@cmhughes Yep. :)
 
@PauloCereda not as far as I know :) lol!
 
@cmhughes Let's convince Alan to join a game network so he can play against backgammon players around the world. :)
 
@PauloCereda lol :)
 
@cmhughes: we can also find someone who still has Tetrisphere 64 for the glorious N64. :)
So David won't feel lonely. :)
 
12:26 AM
Ok I have to go. Good night everyone.
 
@AlanMunn Good night!
 
@AlanMunn Good night, Alan! :)
 
@AlanMunn good night!
 
@cmhughes: Hey Chris, @Gonzalo is a Wii player! :)
 
@PauloCereda sweet, what games @GonzaloMedina?
 
12:29 AM
@cmhughes It's not really me. It's my daughter. I only play Mario's games with her.
 
How about this?
 
 
6 hours later…
6:10 AM
Joseph Wright has added an event to this room's schedule.
 
kan
6:54 AM
user image
6
@Paulo ^^
 
7:21 AM
Anyone know much about CSS? I'm trying to work out if it handles conditional formatting, but all of my searches pick up engine conditionals. I'm after for example 'Space after h1 should be 1 em unless followed by another heading, in which case ...'
 
7:58 AM
@HarishKumar overfull hbus
5
 
8:08 AM
hello
 
@JosephWright I can't find a way to do what you describe. Perhaps a workaround is this: jsfiddle.net/yK2b9
with the + selector you can get the next element
 
8:43 AM
@JosephWright you specify the default and then specify the second with a higher prioity in the cascade (although normally of course, you just dont)
 
8:54 AM
@DavidCarlisle Does that deal with the situation I've outlined?
 
@JosephWright I suppose you want me to make a MWE:-) Need to do a bit of work stuff but will post a tested example later (with css you always need to test:-)
 
@David this answer isn't complete yet ;)
 
@DominicMichaelis you could ping Heiko instead:-) (I may look later)
 
Who is heiko and why is it his fault ?
 
9:09 AM
@DavidCarlisle OK: I'm wondering about templates
@DominicMichaelis Heiko maintains hyperref, amongst many other things
 
@Heiko hello
sometimes I have the feeling I am the only retarted TeX user ...
 
@dıʞsdoʇ Right: my impression as much the same (that there is no native ability)
There is a context to these questions!
 
@JosephWright vvv
 
@joseph good you pinged topskip :D
 
<!DOCTYPE html>
<html>
<head>
<title>Joseph's head</title>
<style>
h1 {
color:red;
text-align: left;
font-size: 200%;
}


h1 + * {
margin-top: 2in;
}

h1 + h2 {
margin-top: .1in;
}

h2 {
color:blue;
text-align: left;
font-size: 150%;
}

</style>
</head>
<body>
<h1> a main heading</h1>
<p>some text</p><p>some moretext</p>

<h1> another main heading</h1>
<h2> a sub heading</h2>
<p>some text</p><p>some moretext</p>
</body>
</html>
 
9:15 AM
@DavidCarlisle Thanks
So you can do 'if h1 is followed by h2' but not 'if h1 is followed by another heading command' in a more general sense?
 
@JosephWright Not possible. You have to list all the cases
 
@dıʞsdoʇ OK, makes sense. Probably not so bad.
 
what you can do is to add a class "heading" to all your <h*> elements and look if the next element has class heading
 
@JosephWright not really as there isn't (in css 2) any kind of pseudo element for "heading" so although you may think of h1 h2 h3 as logically related, to css they are not. You could of course list them all, or of course use something like .head and then if you have <b class="head"> then that would be a heading too.
 
Context is I'm thinking about how to handle the same thing in an L3 situation. There has been a lot of work on CSS, and I'm wondering how easy it would be to pick up the same ideas.
 
9:19 AM
@JosephWright oh, please, please, please, please do!
 
@DavidCarlisle Right
 
enjoy the kerning
 
@dıʞsdoʇ I've been thinking about it for a while, but wanted to be sure that this actually makes sense. CSS3 looks quite sensible.
Now I need some code
 
ach
Are there any people who use math + Linux Libertine ? If so, does anyone have a good suggestion for what math font might make a good companion ?
(I know @egreg uses Libertine, but he doesn't seem active right now)
 
@ach I sometimes use Linux Libertine, never when math is involved.
@ach You can try \usepackage[libertine]{newtxmath}
 
ach
9:23 AM
@egreg .. but you don't think it looks any good ?
do you know of another (nont-times) serif font that goes well with maths ? I am using txfonts at the moment, but I don't really like the look of the text all that much
 
@ach \usepackage{fourier} or \usepackage{kpfonts}
 
Was there an update of upquote? The following MWE doesn't work anymore.
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{minted}
\usepackage{upquote}
\begin{document}
\mint[fontfamily=tt]{python}|'banana'|
\end{document}
 
ach
@egreg thank you, I will try them out
 
@DavidCarlisle, @dıʞsdoʇ Another question. I take it that you can only specify stuff in CSSS based on what follows, not what comes before. So you can't say 'if h2 is preceded by an h1, the skip above should be reduced ...'.
 
@JosephWright you can add a negative margin-top to h2 if it follows an h1
 
9:38 AM
@dıʞsdoʇ How's that done?
 
@JosephWright ... skip above of what?
h1 + h2 { margin-top: -1em } should do that (untested)
 
@dıʞsdoʇ That applies to the h1, not the h2, as far as I can see
 
@JosephWright no, it applies to h2
 
@dıʞsdoʇ Am starting to get the hang of this
 
@MarcoDaniel Strange, I get different results on two machines. But \listfiles gives the same output.
 
9:41 AM
@JosephWright The TeX world and CSS world take really different appoach
We add spaces between items, CSS only has spaces around items
 
@egreg Really strange. The question popped up yesterday tex.stackexchange.com/questions/46880/…
 
@dıʞsdoʇ Yes, there is that
@dıʞsdoʇ Currently mainly wondering if the syntax of CSS makes sense for TeX-based systems
 
@MarcoDaniel However, on one machine cm-super-ts1.enc is loaded (where the quotes are upright) and on the other it isn't.
 
@JosephWright Oh, yes - While you can surely do more with TeX syntax, CSS is really quick
 
@dıʞsdoʇ I'm thinking about a LaTeX3 design layer, where what you want to do is much the same as CSS
 
9:46 AM
@egreg I have only one machine available and you are right the file cm-super-ts1.enc isn't loaded.
@egreg When I use lualatex or xelatex with fontspec it works.
 
@MarcoDaniel On the machine where the quotes are upright, I have pygmentize version 1.1.2; on the other one it is version 1.6
 
@egreg Indeed. pygmentize 1.6
 
@MarcoDaniel So it's probably a change in the lexer.
 
@JosephWright I think some of the ideas (and even perhaps some of the syntax) of css can be ported but I wouldn't try a too literal copying of the semantics or syntax, the context is so different. The syntax of the more expressive selectors is very warped by the needs of backward compatibility, and the semantics is optimised towards rapid reflow in the face of dynamic updates to the page elements. Neither really apply to L3. Although the basic idea of a declarative way to style is same in css and ldb
 
@DavidCarlisle As I said, I'm trying to get a feel for what CSS has achieved and what we can learn
@DavidCarlisle We really do need to do something in this area if we are ever to deliver [plus of course xor :-)]
 
9:59 AM
@JosephWright you might want to look at the CSS3 flexbox model, that's a new css layout algorithm (implemented in webkit and I think firefox now as well) that is rather more tex-like in its nature. w3.org/TR/css3-flexbox
 
@egreg Maybe this can be the issue: bitbucket.org/birkenfeld/pygments-main/diff/pygments/formatters/… However I can't explain why lualatex and xelatex work.
 
@JosephWright yes agree with that:-)
 
Morning!
 
@tohecz ??? morning? Don't you live in a time zone where it's 12pm?
 
@dıʞsdoʇ well 12 pm seems to be early i nthe morning for a student :D
 
10:04 AM
@dıʞsdoʇ It's raining you know ... and when it rains, I always sleep late :p
 
@DominicMichaelis sunshine live at 17pm: Good morning students ;-)
3
 
@dıʞsdoʇ (well, tbh, it's seriously raining, so much that I almost switched from salndals to boots, but I stood up to it)
 
@DavidCarlisle So when do you start on xor? :-)
 
@JosephWright 1989
 
@DavidCarlisle :-)
@DavidCarlisle Perhaps the LDB/template system is more tempting?
 
10:11 AM
@egreg: This seems to work
\listfiles
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{minted}
\usepackage{upquote}
\AtBeginDocument{%
\def\PYZsq{\textquotesingle}%
}
\begin{document}
\mint[fontfamily=tt]{python}|'banana'|
\end{document}
 
ach
Does anyone (using KOMA or just typearea) know if there is a document level command that prints out the calculated DIV values etc. ? I notice in typearea.sty there is \ta@layoutinfo which seems to do it, but is there a wrapper for it somewhere ? scrguide was of little use
 
@ach There is no such command.
 
ach
hmm, it's weird
 
@ach Why? You can provide your own command ;-)
Or you can open the log-file.
 
ach
@MarcoDaniel it only seems to print to log file if you explicitly call it
not if it's callled as part of a KOMA script document class
 
10:24 AM
@ach ?
Package typearea Info: These are the values describing the layout:
(typearea)             DIV  = 10
(typearea)             BCOR = 0.0pt
(typearea)             \paperwidth      = 597.50793pt
(typearea)              \textwidth      = 418.25555pt
(typearea)              DIV departure   = -6%
(typearea)              \evensidemargin = 17.3562pt
(typearea)              \oddsidemargin  = 17.3562pt
(typearea)             \paperheight     = 845.04694pt
(typearea)              \textheight     = 595.80026pt
And the example is:
\documentclass{scrreprt}
\usepackage[T1]{fontenc}
\usepackage{blindtext}

\begin{document}
\Blinddocument
\end{document}
 
ach
@MarcoDaniel maybe because I have fumped by format with mylatexformat
though I don't really see why that should affect it
 
@MarcoDaniel I suspected something like that.
 
ach
ah yes that seems to be the cause
 
@egreg And xetex or luatex are using the correct symbol because they don't need a wrapper.?
 
ach
*fumped-> dumped obviously -_-
 
10:31 AM
\def\%(cp)sZbs{\char`\\}
\def\%(cp)sZus{\char`\_}
\def\%(cp)sZob{\char`\{}
\def\%(cp)sZcb{\char`\}}
\def\%(cp)sZca{\char`\^}
\def\%(cp)sZam{\char`\&}
\def\%(cp)sZlt{\char`\<}
\def\%(cp)sZgt{\char`\>}
\def\%(cp)sZsh{\char`\#}
\def\%(cp)sZpc{\char`\%%}
\def\%(cp)sZdl{\char`\$}
\def\%(cp)sZhy{\char`\-}
\def\%(cp)sZsq{\char`\'}
\def\%(cp)sZdq{\char`\"}
\def\%(cp)sZti{\char`\~}
@MarcoDaniel If you don't say Ligatures=TeX for the mono font, the quotes used are the straight ones; the file latex.py says
I can't check now the old version.
 
@MarcoDaniel The addition breaks upquote; other adjustments are necessary, for double quotes, for instance.
 
@ach in that case it will be in the log written at the time you made the format. The commands you put in the format are not re-executed
 
ach
@DavidCarlisle good point
 
!!/texdef -t latex -p amsmath textnormal
 
10:37 AM
@ach If you want it to be executed each time, in your dumped format have \AtBeginDocument{\ta@layoutinfo} so it does it again on each document
 
\textnormal:
macro:->\protect \textnormal


\textnormal :
\long macro:#1->\ifmmode \nfss@text {\normalfont #1}\else \hmode@bgroup \text@command {#1}\normalfont \check@icl #1\check@icr \expandafter \egroup \fi
@tohecz It's not different from the usual definition.
 
ach
@DavidCarlisle you don't need to change the catcode of @ for that ?
 
@tohecz ...
$ latex \\let\\protect\\show\\textnormal
This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012)
 restricted \write18 enabled.
entering extended mode
LaTeX2e <2011/06/27>
Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman-x-2012-05-30, ngerman-x-2012-05-30, afrikaans, ancientgreek, ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian, czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, ethiopic, farsi, finnis
h, french, friulan, galician, german, ngerman, swissgerman, monogreek, greek, h
@ach well @ has to be a letter at the time you make the declaration yes
 
@DavidCarlisle well, I was just too lazy opening a terminal :)
texdef -t latex -p amsmath textnormal

\textnormal:
macro:->\protect \textnormal


\textnormal :
\long macro:#1->\ifmmode \nfss@text {\normalfont #1}\else \hmode@bgroup \text@command {#1}\normalfont \check@icl #1\check@icr \expandafter \egroup \fi
 
@tohecz Just call me Psmith
 
ach
10:46 AM
@DavidCarlisle the preamble log does the job well, thank you for the pointer.
 
11:43 AM
how about making an easteregg in LaTeX3? If you type \pagestyle{pain} instead of \pagestyle{plain} you gonna load the font comic sans
 
@NicolaTalbot: Hi Nicola! :) I was reading some news this morning and I found out this new game being developed: kotaku.com/… I think we might start copyrighting our ideas. What comes next?! A duck game?! :)
 
@PauloCereda Ooh! But that's not as cool as a hat wearing duck :-) Perhaps we should write a duck package that uses animate to have a TeX game.
 
11:59 AM
I think Codefolding is a really neat thing :)
 
@NicolaTalbot ooh that would be awesome! :)
 
@DavidCarlisle Have done
 
@PauloCereda how about this: Whenever you have a overfull box this package prints a duck next do it and pointing :here is the bad box
 
@JosephWright yeh! one less vim question on the site.
 
@DavidCarlisle :-)
@DavidCarlisle Stuff on CSS3 is interesting: now have a much better idea of how it works. Will be raising on the team list at some stage: hopefully you'll have useful input!
 
12:08 PM
@DominicMichaelis Here it is
\documentclass{article}
\makeatletter
\def\ps@pain{\gdef\familydefault{phv}\selectfont\ps@plain}
\makeatother

\pagestyle{pain}

\begin{document}
This is text
\end{document}
@DominicMichaelis That's as horrible as I can bear.
 
@egreg oh thats great
are there some commands which can't be redefined? for example \def would be a canditate or ?
 
@DominicMichaelis Nothing 'can't' be redefined, but you may have some trouble if you alter say \relax
 
@DominicMichaelis Every command could be redefined. But redefining some would probably break all macros relying on them.
 
@DominicMichaelis You can set up a format to move all of the primitives (see the LaTeX3 experiments or TeX as a daemon)
 
@DominicMichaelis Try \renewcommand{\fi}{something} in an otherwise empty preamble. You'll get a surprising error message.
 
12:17 PM
One thing to note is TeX sometimes uses a token with a fixed name: \par has to be available in some form, for example
 
ach
I just found out about texdef --source -t latex , life just got a lot better :)
 
missing \begin{document} ? :D and \begin{document} is undefined ...
 
@DominicMichaelis Yes, and LaTeX stops precisely at \begin{document}. :-)
 
@egreg That means LaTeX reached my level of productivitiy. Oh no !
 
@DominicMichaelis :)
@DavidCarlisle Hey!
 
12:42 PM
@DominicMichaelis most of them.
@PauloCereda something wrong?
 
@DavidCarlisle You could have written a vim answer. :)
 
@PauloCereda I was going to answer install auctex and use C-h v
 
@DavidCarlisle :)
 
ach
is it me or is the KOMA script manual not set out according to its own principles at all ?
or do I misunderstand something there ?
it has hardly any white space around the text body
 
@ach you know KOMA makes a european design, this behavious is intentional ;)
 
12:44 PM
Mar 26 '12 at 19:37, by David Carlisle
@Canageek moral of the story: never read the documentation, bad things happen
 
@ach The KOMA script manual (at least the German one) is IMO against all rules of typography that I know of.
@ach the idea of the "no margin" pdf is that it can be read on the iPad and such without zooming in
 
An emacs answer on a vim question won't last. Think of natural enemies. Like vim and emacs users. Or vim and pico users. Or vim and ed users. Or vim and other vim users. Damn vim users! They ruined vim!
 
@dıʞsdoʇ I've never liked it
 
@JosephWright Many font mixtures and such
 
ach
@dıʞsdoʇ ah right, that's why. It's pretty painful to read, and even weirder because it's quite adamant about typographic rules
 
12:48 PM
@dıʞsdoʇ but the idea of the iPad is never to read anything on it :D
 
ach
is there a human version ?
I guess not
 
@ach sure: scrartcl.cls
 
ach
haha
 
much easier to read than the manual :)
 
@dıʞsdoʇ :-)
@dıʞsdoʇ @NicolaTalbot is a big fan of KOMA
 
12:49 PM
@dıʞsdoʇ not everyone does have the super powers of david and co :/
 
@JosephWright :-)
 
@JosephWright I like KOMA, too (although I don't use much LaTeX lately :))
 
ach
Is @NicolaTalbot actually a fan or was that ironic :) ?
@dıʞsdoʇ LeyTIY eh ????
oh right
 
@ach was a joke against the LaTeX way of writing
 
@ach I use KOMA in all my tutorials.
 
ach
12:51 PM
L@tely
@NicolaTalbot and do you tell your students to brave the manual or do you have a better way ?
I just find it so weird to read all about how normal people are bad at typography, etc. in a document that seems so poorly typeset
 
@ach I show the basics and refer them to the manual for the more advanced stuff.
 
ach
allright fair enough
 
I seem to be the only one who has never seen this manual, I suppose I'd better look:-)
 
@PauloCereda My drawing isn't very good, but what do you think?
\documentclass{article}

\usepackage{tikz}
\usepackage{animate}

\newcommand{\duck}{%
   \draw[fill=yellow] (60, 130) .. controls (70, 100) and (90, 80) .. (110, 80)
    .. controls (137, 83) and (153, 107) .. (160, 130)
    .. controls (160, 160) and (170, 190) .. (180, 200)
    -- (280, 230)
    .. controls (300, 230) and (320, 210) .. (340, 190)
    .. controls (310, 240) and (300, 330) .. (196.25, 321.25)
    .. controls (167.5, 317.5) and (140, 310) .. (100, 190)
    .. controls (90, 160) and (70, 160) .. (60, 130)
@DavidCarlisle The manual is a bit of an acquired taste, but the KOMA classes are good.
 
@NicolaTalbot OMG it's awesome! :)
 
ach
12:55 PM
That's some british understatement there
"aquired taste" hah!
 
I wonder what PDF viewer supports animate... :)
 
@NicolaTalbot I like this bit best:
user image
2
 
@DavidCarlisle Oops
 
@PauloCereda As far as I can tell, it's just Adobe Reader. I've managed to get it running under wine. There doesn't seem to be a 64 bit Linux version.
 
@NicolaTalbot Oh.
 
12:58 PM
@JosephWright I assume the Koma classes haven't fixed all the problems with latex's marginpar support:-)
 
ach
@DavidCarlisle ;)
 
@DavidCarlisle xor
 
ach
there are many gems to pick from
p. 73 a blank page with just a hrule
 
@JosephWright ooh!
 
@PauloCereda Seriously, if we can xor sorted it really should address a lot of stuff
 
1:04 PM
@JosephWright Wait for @David say that he needs dandelion to be finished first so he could test xor. :)
At the end of the day, it's all my fault. :)
 
@PauloCereda The xor tests are rather different to the standard ones: basically one really big document and a big log file to check
 
@JosephWright ooooh I like the sound of it. :)
 
ach
"MAIN ISSUE: the code is currently broken since I started to build balance
support (and then got sidetracked) ..."
nice
 
@ach Oh, there are lots of issues, don't worry
 
ach
1:08 PM
@JosephWright is it a stress-test for l3 ?
 
@ach The output routine is famously tricky
@ach xor is enormous
It all needs revising properly, hence the not-entirely-joking prods of @DavidCarlisle!
 
ach
ahhh, xor = x output routine .... sigh, and here I was thinking of XOR
Reading the comments and error messages always brings a smile
~LaTeX~will~insert~a~break~and~hope~for~the~best!
+1
 
@ach Frank has a certain style: I'm much more formal
 
@JosephWright That's from one of the error helpers in TeX: My plan is to forget the whole thing and hope for the best.
3
 
1:24 PM
@egreg Frank's comments have something of a pattern
 
1:57 PM
Hola a todos
 
@MarioS.E. Buenos dias! :)
 
2:20 PM
I think we should all learn how to say small things in different languages
"Labas Ritas" is good morning in lithuanian
 
2:33 PM
¡Las llamas son más grandes que las ranas!
 
@PauloCereda Quem não arrisca não petisca
 
@MarioS.E. :)
 
@PauloCereda Por acaso fez-me lembrar de isto: youtube.com/watch?v=VYTaKTlVPXE
 
3:09 PM
@DavidCarlisle, @JosephWright: I saw in BBC how the British press is shocked by how Brazilian law works. :) Suddenly, Brazil vs. England game will happen after all. :)
 
@PauloCereda Are you guys feeling confident England is going to take the World Cup?
 
@MarioS.E. They don't stand a chance. :P
 
@PauloCereda To be honest, I have a feeling this might be a German cup
 
!!/help
 
@PauloCereda Although it would be great for Brasil to become champions (again) in their own field
 
3:20 PM
@DavidCarlisle Oh Psmith! Hold on.
 
@DavidCarlisle No, Psmith is not Beckham
 
!!/help
@PauloCereda Psmith, the TeX bot: Good afternoon! I'm Psmith, the friendly TeX bot - the p in my name is silent, as in pshrimp. I'm here as a companion to our fellow users in the typographic land. As you probably noticed, I always reply under Paulo's account, but do not despair, I say, my replies are always preceded by my own name. Enjoy your stay at TeX.sx! If you need any help, just ask our chat residents. Cheerio!
 
!!/eightball will Brazil win the world cup?
 
@DavidCarlisle Psmith, the TeX bot: The great 8-ball says: If i recall correctly, yes.
 
@PauloCereda I think Psmith recalls 1970
 
3:22 PM
@PauloCereda joke of the day ;-)
 
@MarcoDaniel Are you german?
 
@MarioS.E. He's from Mexico. :)
 
@MarioS.E. Yep
 
@MarcoDaniel Hey! <3
 
@PauloCereda :-)
 
3:24 PM
Sorry guys, world cup will be for the squadra azzurra. :)
 
@PauloCereda Is this the name of Germany?
 
@MarcoDaniel You guys have no blue! :)
!!/answer Squadra Azzurra
Psmith, the TeX bot, in fixed font mode:

square | color blue

(drawn with rotation angle 0°)
vertices | 4
edges | 4
LOL fail
 
@PauloCereda miserably :P
@MarcoDaniel Howcome you have an über latin name? Are your parents latins?
 
@MarcoDaniel: Squadra Azzurra = Italy. :)
 
@PauloCereda Do you know why Italy plays blue and brasil yellow? I once heard a myth (?) it was because before color TV to distinguish from both teams
 
3:30 PM
as Psmith has joined us, may as well...
!!/battle
 
@DavidCarlisle Psmith, the TeX bot: The current score is egreg 210 vs. 275 David. So far, David is winning.
@MarioS.E. If I recall correctly, Italy plays blue because that was the color of the Italian royalty. When Italy became a republic, the croce di Savoia was replaced by the colours of the Italian flag (@egreg can confirm or rebut this story). Now, Brazil's first uniform was green, and changed to yellow later on. :) For some reason, yellow and blue match perfectly. :) >>>
And the second uniform (blue and white) has a religious background, since it's the colour of the mantle of Our Lady Aparecida, patron saint of Brazil. :)
 
@PauloCereda by the last three words you can deduce who was to ask Psmith :p
 
@tohecz LOL
 
@PauloCereda More or less, although the choice was made in 1911 and the reasons are vague.
 
Palmeiras, an Italo-Brazilian team, had a blue uniform as an homage to Italy not so long ago. :)
@egreg Ah sorry, that's the story I heard in here. :)
 
3:38 PM
@egreg So... still no decisione ufficiale?
 
@PauloCereda I'm not saying it's false. Only that the reason is very plausible, but it may be a post facto explanation. It's possible that they chose to play with a blue uniform for some other reason and then decided to keep it because it was also Savoy's family color.
 
@egreg Ah good point. :)
 
@PauloCereda You know that Juventus black and white has been chosen by chance. In those days one had to play with what was available.
 
@egreg Oh I didn't know that! :)
 
@PauloCereda They got a set of uniforms prepared for Nottingham Forest.
 
3:42 PM
@egreg :)
 
@PauloCereda @egreg So, if Italy is to win the WC... who do you think the final will be against?
 
@MarioS.E. Brazil vs. Italy, the revenge. :)
@PauloCereda We'll win at the penalties.
 
@egreg: I was watching the Calcio one day (I think it was a Palermo game) and the commentator said that Palermo's uniform (pink) was originally red, but since the quality of the fabric was quite poor at those times, the colours faded and turned into pink. :) Sounds more like a urban legend to me. :)
@egreg No please, not penalties! :)
 
@PauloCereda That's been your strong point, these days.
 
@egreg Let's see how Brazil will set up the team for the Confederations Cup. :) We play against Italy in the groups phase. :)
 
3:52 PM
As a health-area professional, I strongly advice against watching penalties on a WC final. Last time (1994) my Nonna almost had a heart attack
 
@JosephWright Is there any way to add another duplicate link to this question? tex.stackexchange.com/q/117004/2693 Werner's answer here tex.stackexchange.com/q/111280/2693 is really nice and should pretty much be the canonical duplicate to point to.
 
Just saw this on Lifehacker: Apparently Mac OSes have a porn incognito mode for folders, if you want to hide a folder from Spotlight, simply add .noindex to the folder name and everything inside it won't pop up in Spotlight.
 
@AlanMunn Seems not (at least without reopening)
 
@JosephWright Yes, I tried to edit the question but the duplicate text doesn't show up. (I thought it might for you.) I seem to recall being able to edit that text in earlier times, but maybe I'm mistaken.
I've left a comment to that question and if we upvote the comment it will bounce relatively high on the list.
!!/cricket
 
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last cricket results:

- Somerset 310/10  v Yorkshire 450/5 &  104/4 *
- Worcestershire 288/2 * v Essex 215/10
- Kent 105/1 * v Leicestershire 186/10
- Lancashire 310/10 &  146/5 * v Gloucestershire 222/10
- Northamptonshire 109/4 * v Hampshire 206/10
- Derbyshire 452/10 * v Surrey
- Botswana Under-19s 125/10 * v Uganda Under-19s 245/7
- Kenya Under-19s 121/10 * v Namibia Under-19s 173/10
- South Africa 341/3  v Netherlands 236/9 *
 
4:08 PM
@AlanMunn No, you are right: it used to just be auto-edited in but alterable
 
@PauloCereda Looks like both Somerset and Yorkshire need some better bowlers.
 
@AlanMunn Oh my, I'm gonna add you in the list of cricket experts! :)
 
@PauloCereda I think that @DavidCarlisle and I may be equally expert in cricket. The only true expert here is @NicolaTalbot I think.
 
@AlanMunn No, not me. I just got to watch my dad and brothers play it a lot when I was a kid.
 
@NicolaTalbot But didn't you create a package for the scores? You must know more than most of us.
 
4:16 PM
@AlanMunn I'd forgotten about that package. I wonder if they'd be any point in putting it on CTAN. I'm not sure if they'd be any demand for it, but you never know.
 
@JosephWright It seems like this was a fairly recent change: meta.stackoverflow.com/q/22063/170190
 
4:47 PM
What is the default rule width macro? Is there such one?
For example, using \hrule or \vrule. I "know" it's set to 0.4pt, but is there some length that contains this?
 
@Werner Related to the texbook this is the default value and so it is defined in the TeX kernel (I guess).
 
@MarcoDaniel Yah, thanks...
 
Guys, maybe you can help me... I want to make a gray box. I'm trying to make a module (a box) with three submodules... Is there any package for this? I'm guessing Tikz... but perhaps there is something a little "easier"?
example: google.pt/…
 
5:05 PM
@MarioS.E. You mean like the first image there? TikZ is probably the easiest, unless @DavidCarlisle has a low-tech picture mode solution.
 
@MarioS.E. if you want rounded corners tikz (or ready made solutions like mdframed ot tcolorbox) otherwise color package and \colorbox[gray]{0.5}{stuff in the box}
 
@MarioS.E. you can do this:
 
@DavidCarlisle Teach me master!
 
@MarioS.E. there's a big red button that says upload to the right of the text box, gives same menu as image upload on the site
 
5:09 PM
@DavidCarlisle I just realize it becomes "available" only before writing.
@DavidCarlisle If you start writing it dissappears
 
@DavidCarlisle Surely you can make a grey box with rounded corners without TikZ?
 
@MarioS.E. Something like this:
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{positioning, fit,backgrounds}
\begin{document}
\begin{tikzpicture}[
module/.style={draw,very thick, align=center,text width={1.5cm}}
]
\node[module] (A) at (0,0) {First module};
\node[module,below=of A] (B) {Second module};
\node[module,below=of B]  (C) {Third module};
\node[module, right=of A] (D) {Fourth module};
\node[module,below=of D] (E) {Fifth module};
\node[module,below=of E] (F) {Sixth module};
\begin{pgfonlayer}{background}
    \node [rounded corners, inner sep=20pt,fill=black!15,fit=(A) (B) (C)
And now @Jake can show how to do it even more efficiently. :)
In fact, you don't actually need to specify all the fit nodes: just fit=(A) (F) will work.
 
@AlanMunn Yes!!! Exactly like that! Thank you very much!
@AlanMunn I really appreciate it, examples like this for help me learn A LOT
 
@MarioS.E. There's a similar example in the TikZ manual on p. 49.
 
@AlanMunn I was actually looking at page 78
@AlanMunn I was searching for "rectangle", "module"... it doesn't seem to be the right way
 
5:25 PM
@MarioS.E. The key keywords in this case are 'fit' and 'background'. Be careful with the TikZ manual, though. The code fragments never tell you which libraries are required for the code to work, it assumes you've been reading the whole text, so sometimes you have to hunt a bit to find the right library to make any particular fragment work.
 
@AlanMunn Hehe, no no, that's a very nice solution!
You could use a matrix, though, if you wanted:
 
@Jake How does it work?
 
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{matrix}
\begin{document}
\begin{tikzpicture}
\matrix [
	matrix of nodes,
	fill=gray!35,
	rounded corners,
	inner sep=0.5cm,
	row sep=1cm, column sep=1cm,
	nodes={
		text width=1.5cm,
		align=center,
		draw,
		rounded corners=false,
		inner sep=0.2cm
	}
]{
First module & Second module\\
Third module & Fourth module\\
Fifth module & Sixth module\\
};
\end{tikzpicture}
\end{document}
 
@Jake Yes, that was my second option, depending on how regular the image would be.
 
@AlanMunn I'm sorry, but my inexperienced eye is not able to see a big difference in the output... are there any advantages involved of using Jake's code?
@Jake Any special advantages of using your code over Allan's?
 
5:36 PM
@MarioS.E. In a simple case like this (where all the nodes are equal or similar size): Only the syntax.
 
@MarioS.E. I think a lot depends on the rest of the diagram, and whether you want to connect the modules with arrows or whatever. In my solution, each module gets a symbolic node name, in Jake's solution, each module is referable via a coordinate system internal to the matrix. So assuming the matrix was called modules the nodes would be (modules-1-1), (modules-1-2) etc.
In my solution, doing things with particular nodes is simple; in Jake's it's slightly more cumbersome. However, Jake's solution lends itself to automation in a way that mine doesn't (or at least not so much.)
 
@AlanMunn You can assign individual names or styles to the nodes using |(A)|First module & |[draw=red](B)|Second module\\
 
@Jake Right, I left that out so as not to complicate matters overly. And to do that with every node sort of defeats the purpose of using matrix in the first place, I think.
 
@AlanMunn, @Jake Thank you very much, this has been very informative
 
@AlanMunn Yeah, definitely.
 
5:41 PM
@AlanMunn, @Jake One last thing... If I would like to write some text in the right lower corner of the gray rectangle... how do I do it?
 
@MarioS.E. You can refer to the matrix like to any other node, so you could place the text using \node at (matrix.south east) [anchor=south east, font=\small] {A comment.};
 
@MarioS.E. And the same solution will work for my code too. Just give the grey node a name and use that instead of matrix in @Jake's code.
 
@Jake Where do I place it? after \matrix?
 
@MarioS.E. @Jake forgot to name his matrix in the code he posted. So first you need to add \matrix (matrix) ... instead of just \matrix in his code. Then you can add the line adding the text after the whole matrix code.
(The name is the element in ( ) and can be anything you like.)
 
@AlanMunn Thanks!!!
@AlanMunn I was trying to have two lines in each module, so I wrote this: `Wearable device \newline Subsystem \`
...the second line seems centered, but the first one not. Using \centering just messes things up. What am I missing_
?
 
5:58 PM
@MarioS.E. If you put the text in braces you can use \\ inside and it should align properly. Make sure that you have align=center in the nodes specification of the matrix.
 
@AlanMunn Costa rican word for that: "chanchullo" Thanks :)
 
00:00 - 18:0018:00 - 00:00

« first day (943 days earlier)      last day (4007 days later) »