« first day (798 days earlier)      last day (4150 days later) » 
00:00 - 18:0018:00 - 00:00

6:01 PM
@JosephWright @PenguinNurse or hit the "fixed font" button ;)
 
@tohecz You only get that if you have the multiple lines to start with
 
@percusse Yes, that's the usual way. It's really rare to have people identify themselves in a review I think.
 
@JosephWright yes I know ;)
how do I write # to file using \immediate\write ?
 
kan
6:18 PM
@percusse I am not quite sure what's wrong with this. Typographical or Mathematical?
And, hello folks!
 
@kan Hi!
 
@tohecz Something like {\catcode`\#=12\gdef\SafeHash{#}} would be where I'd start
 
@JosephWright or \edef\SaveHash{\expandafter\@secondoftwo\detokenize\#} ?
@JosephWright this works
 
@kan Capital I's are imaginary numbers.
 
kan
@percusse uh-oh! :(
 
6:26 PM
@percusse Do you come from a land down under? :)
 
kan
@PauloCereda I always used i for the square root of -1. However, using I and even J or j is not unheard of in the coders' circles. :)
 
@PauloCereda Do you want a Vegemite sandwich?
 
@AlanMunn I only asked if he spoke my language. :)
@AlanMunn: carried away by a moonlight shadow.
 
6:46 PM
@kan The problem is that they all should be lowercase letters. I didn't put those I's there.
@PauloCereda and let Sheila E played the drums.
 
@percusse Yes! <3
!!/answer Down under.
@PauloCereda Psmith, the TeX bot: I'm sorry, no answers.
 
@tohecz No, it doesn't: \detokenize requires { after it.
 
How come?!
 
@tohecz \edef\SafeHash{\string#}
 
kan
@percusse I realised that's what you had meant! :)
 
6:54 PM
@egreg or \immediate\write\sh@file{\string#!/bin/bash}
@egreg so \expandafter\@gobble\detokenize{\#} ?
 
@tohecz Why be so complicated? \detokenize{#} suffices
But \string# as well
So \immediate\write\out{\string#} is good.
 
@egreg damn, still some things I don't understand
 
@tohecz \string<token> produces the "textual" representation of <token> as characters with category code 12 (but spaces have still 10). So \expandafter\string\csname a token\endcsname` will produce \a token: seven category code 12 characters and the space with category code 10.
 
Hi guys, we have one more question about the viewers precision (circles being rasterized), does anybody have a quick link to one? I just scoured, but cant seem to find the correct search word.
2
Q: Tikz plots distorted mark

rkmyloConsider the following code: \documentclass{minimal} \usepackage{tikz} \usetikzlibrary{plotmarks} \begin{document} \tikz{\draw (0,0) -- plot[mark=o] (0.5,0) -- (1,0);} \end{document} It seems that the mark is not smoothly drawn: Using the smooth option does not have any effects since the ...

Found one!
5
Q: Tikz Pattern lines are not exactly straight

StephanI do have a short problem with Tikz \documentclass{article} \usepackage{pgf,tikz} \usetikzlibrary{patterns} \begin{document} \begin{tikzpicture} \fill[pattern=north east lines] (0,0) -- (0,1) -- (1,1) -- (1,0) -- cycle; \end{tikzpicture} \end{document} I simply want to fill differently shaped ...

However, we should create a question and use that for general "dublicate for", wouldn't that be more sensible? Or what do people feel about this?
 
@zeroth Maybe also this one
6
Q: TikZ borders showing through when they shouldn't (overlapping circles)

UiyIf you draw two circles that are exactly the same in all aspects (location, size, etc...) except they have different colors, then the "border" of the underlying circle is showing through. \documentclass[10pt]{book} \usepackage{xcolor} \usepackage{tikz} \begin{document} \begin{tikzpicture} ...

 
7:07 PM
and this
@percusse, yes that one is also related.
1
Q: My .eps images appear to lack resolution, but turn out crisp after compiling my document, what's going on?

cjohnson318I have produced some .eps images of graphs (using the Python matplotlib module) and they look very shoddy, e.g. the crosshatching looks like a very rough plaid, but when I compile my document with xetex, all of my images are crisp and clean again. Can anyone explain why my .eps images look poor b...

What would the correct wording of the question be? The question is obviously not only related to TikZ. It is for any vector graphics that gets rasterized by the viewer.
 
@zeroth It's not only anti-aliasing issue unfortunately. Tikz also guilty about it as it saves these plotmarks and reuses which might introduce those effects
If you scale up the picture say 5 6 times you can see that the behavior doesn't improve
 
@percusse hmm, I didn't know that. But aren't the symbols reused as vector graphics? I.e. no precision loss?
 
@egreg damn, so complicated
 
@percusse, but still in both his links I see no difference in my viewer at least.
 
@tohecz No, why? Of course I didn't take \escapechar into consideration. ;-)
 
7:15 PM
@zeroth I think the culprit is the reusage. Might be scaled via resizebox type of mechanism which is forcing additional pixeallation but I'm just guessing here. But I can see certain amount of noise.
 
@egreg be quiet!
 
@percusse, ok, so what do we do about these things. Either way, it would be nice to have a general question to refer to about these things, but should the question then contain answers about both the symbols and lines in general? Or is it just too much...
 
@tohecz So if you want to print a shebang line you can do {\escapechar=`\#\immediate\write\out{\string\!/bin/bash}}
 
@zeroth Compare the circles in this one
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{plotmarks}
\begin{document}
  \begin{tikzpicture}[scale=5]
		\draw (0,0) -- plot[mark=o] (0.5,0) -- (1,0);
		\draw (0.5,0) circle(1mm);
	\end{tikzpicture}
\end{document}
 
kan
A nice article: @Paulo, @egreg @tohecz might be interested: www1.ams.org/samplings/feature-column/fcarc-harmonic
 
7:18 PM
@egreg I think that doing so much in a place of \string# is an overcost
The following lines are non-problematic, no $#_^\{}
 
@tohecz No, no space because \! is a control symbol.
 
Lo :-)
 
@tohecz You just have many possibilities.
 
@NicolaTalbot Hi! :)
 
@percusse @zeroth \pgfuseplotmark{o} yields good rendering in osx preview while i can see the issue with the rendering in the plot too
 
7:22 PM
@kan GC has a heavy math background. :)
 
@PauloCereda when I was to select a bachelors project topic, computer graphics was one option, but theoretical informatics won due to a very good eventual supervisor
 
@tohecz Wise choice. :)
 
@percusse, ok, that is a really good example, I can see that. But it is not much.. :)
@bloodworks, yes, i agree. The result is very satisfactory.
 
@PauloCereda yeah, and this supervisor is my supervisor until now ;)
 
kan
@NicolaTalbot Hello! An interesting video for you: youtube.com/watch?v=zkWMcRlE1mQ . Tell me how you like it. :)
 
7:27 PM
@percusse, would you mind answering the question in question? You know more about these plotmarks than I do, and it would probably be good to have this.
 
@kan Takes me back to my childhood ;-) Ah, nostalgia's not what it used to be.
 
!!/list
 
@tohecz Psmith, the TeX bot: I'm able to recognize the following commands: help, list, cricket, ctan, texdef, eightball, answer, choose. You probably noticed that all commands must start with !!/ followed by the command name, didn't you? Splendid!
 
!!/texdef -t latex sloppy
 
Psmith, the TeX bot, in fixed font mode: Here's the output from texdef:

\sloppy:
macro:->\tolerance 9999\emergencystretch 3em\hfuzz .5\p@ \vfuzz \hfuzz
 
kan
7:30 PM
@NicolaTalbot :-)
 
leo
!!/eightball is it ie8 a good browser?
 
@leo Psmith, the TeX bot: The great 8-ball says: outlook good.
 
kan
!!/choose David's starred messages, Paulo's starred messages.
 
@kan Psmith, the TeX bot: The great oracle says: Paulo's starred messages.
 
@egreg Surely you don't care, but finally texlive update is done and everything is working good. Thank you very mach at all.
 
7:35 PM
@zeroth Well, I don't think I have the answer. We need to wait for ChristianFeuersänger for that.
 
kan
@PauloCereda That means Paulo is working on !!/paulo :)
 
@percusse, ok. Great. Thanks for your help! :)
 
@zeroth No problem at all.
!!/answer Do you like Siri?
 
@percusse Psmith, the TeX bot: Do you like (enjoy, ...)? | Yes, I do. :: Siri | Siri is a personal assistant application for iOS. The application was first available from the App Store, then came standard on Apple's mobile devices starting with iPhone 4S. Siri uses natural language processing to answer questions and perform actions by delegating requests to an expanding set of web services, including Wolfram|Alpha. ::
 
@percusse he seems not be be quite emotional about her .... ;-)
 
leo
7:41 PM
:-)
 
I want more space in my iPod shuffle. :(
 
@PauloCereda Use a crowbar and prize open the back, that should give you some space.
 
@DavidCarlisle :P
 
@PauloCereda defrag it :)
 
@percusse LOL
 
leo
7:47 PM
 
Trying to find a specific question about how to enable Preview.app as the default PDF-reader when using pdflatex.
On lyx, that is.
 
@kan Speaking of Ronnies, here's another favourite Ronni of mine: youtube.com/watch?v=9TuCn8xA6SI
1
Q: LyX: change PDF viewer

Ricky RobinsonIn LyX, how can I set Ubuntu's document viewer (Evince) as the preferred PDF reader for the generated PDF files? All of a sudden it started using Okular, which I don't like all that much.

 
Speaking of Ronnies (as I'm watching snooker at the moment): youtube.com/watch?v=btmB-p_0QFg
5
 
@AlanMunn Thanks! I have a Mac though. But I solved it finally with these specific instructions: osxdaily.com/2011/10/31/set-default-pdf-viewer-mac-os-x.
 
@socialli Oh, I thought you meant for LyX specifically, not for the Mac overall.
 
8:05 PM
@AlanMunn Do you have LyX installed? :)
 
@PauloCereda I think it's on my machine. It's part of the Good Samaritan package.
2
 
@AlanMunn :P
 
@TorbjørnT. you watch? nice :)
 
Cricket described by Ronni channeling Posh youtube.com/…
 
@TorbjørnT. well, the today's play is quite boring...
 
8:16 PM
@tohecz Yes, occasionally. I don't follow the tournaments closely, but I like watching the odd game.
 
@TorbjørnT. "the odd game" = "snooker"? :)
 
@tohecz No, more like "a game (of snooker) now and then". (At least, I think that's roughly what the phrase means, but I also think I'm sometimes guilty of using English phrases without really knowing their meaning ...)
 
leo
What does it mean "It su­per­sedes both enu­mer­ate and md­wlist" in here?
 
@leo that you don't need enumerate and mdwlist package when you use enumitem
 
leo
okay
 
8:28 PM
@leo "Supersede" comes from Latin "supersedeo, supersedere", which literally means "to sit over", so "take the place of "supplant". In Italian there is "soprassedere" that comes from the same root, but in the modern language it means something completely different (to delay).
 
leo
@egreg I see. Don't know if there is something similar in spanish but it should I think
 
@leo I don't think there is a cognate of 'supersede' in Spanish or Portuguese.
 
My Linear Algebra solutions manual is typeset with LaTeX ^.^
 
leo
@AlanMunn why?
 
It uses Latin Modern, too :D
 
8:42 PM
@Gnintendo You wrote it?
 
no, I'm taking the class :p
 
@Gnintendo cool :) well, most of the handbooks at our facutly are written in LaTeX, and most of them are written by students themselves
 
@leo The vagaries of history, I guess. The word that means 'supersede' is 'suplantar'. Why the Latin word didn't make it into those languages is relatively unknowable.
 
@tohecz Well you are maths people, so that's not surprising
 
It's nice, because my entire differential equations solutions manual/handbook used a typewriter-style font
(not just monospace, typewriter-styel)
 
leo
8:45 PM
@AlanMunn I see. I just say because I've never heard something like that, but there is a lot of spanish I've never heard
 
@JosephWright yeah, however, I'm especially happy about the "student" part
 
To make it worse, it was printed with an excessively low DPI
and the letters are really thick
it looks horrendously ugly D;
 
leo
@Gnintendo missping
 
even I wrote a handbook for General Algebra ... I was writing it down simultaneously with the lectures ;)
 
It's the same way that we don't really know why certain British or American usages happen. When American English diverges even more from British English we'll wonder why some words have disappeared.
 
8:46 PM
@leo what?
 
leo
@Gnintendo nothing. I've reply to you but I wanted to reply to Alan
 
oh
 
@leo you mean @Alan ;)
 
seriously the font in this textbook looks like a bolded high-resolution dot matrix font (high for a dot matrix font, at least)
in the style of a typewriter
 
leo
yep
 
8:49 PM
@tohecz For gratuitous beeping.
What is that notification sound anyway? It's not really a beep.
 
@AlanMunn I dunno, speaker off here now
 
ok so
I looks through the solutions manual
 
@Gnintendo Possibly due to a low-resolution printer and successive xeroxing
 
and I guess I better get used to typesetting a ton of matrices
 
@Gnintendo I wrote a Linear Algebra solutions manual more than 20 years ago. In Plain TeX. :)
 
8:53 PM
@egreg Right, but it's almost worse than that: I want to say it was originally printed with a low-resolution printer, but they then scanned it and reprinted
one sec let me see if I can see if they are made up of smaller dots
@egreg :P
 
@Gnintendo This should explain the appearance.
@Gnintendo I had devised some (probably horrible) macros for typesetting Gauss Elimination process. But they worked.
And yes, there were tons of matrices!
 
@egreg The weird part is the last chapter and the intro have an "expected" font quality for a modern printing
 
@Gnintendo Later additions?
 
and I can't see the individual dots from those, so if I'm assuming the other section is printed with the same printer then I wouldn't be able to see the dots
I could always take it to the radiation lab and look at it under a microscope to be CERTAIN
but I don't care that much :)
@egreg That's my guess
At any rate, my Linear Algebra solutions manual looks beautiful :P
 
leo
9:17 PM
@cgnieder I have reading the documentation of exsheets package for a while. Is it possible to do something like: \includequestions[topic=limits,random=5]{calculusExercises.tex}?
where topic is an already defined question property
I ask because it seems the use-topics options is ignored
 
@leo
\SetupExSheets{use-topics=limits}
\includequestions[random=5]{calculusExercises.tex}
should work
@leo tests seem to indicate there's a bug somewhere (sigh) need to investigate...
 
leo
@cgnieder thanks :-). I'm trying to create a command \makeexam{limits,continuity,derivatives} then it selects 5 random questions of each topic and do and exam. So far I have just the way to write the exam: titles, foots and headers, etc. I'm toying with your package to achieve that
 
9:43 PM
@AlanMunn "suplantar" is the term in Portuguese. :)
 
@PauloCereda "suplovat" in Czech is when a teacher is not present and another teacher has to take his classes ;)
 
kan
@tohecz The so-called Substitute-Teacher who supervises the students... :)
 
@tohecz That's from the Latin "supplere", which basically means "to fill". "Suplantar" is from "subplantare", literally "to put under one's feet" ("planta" is in the sense of "sole of the feet").
It's not surprising that Latin terms have come to your language, particularly in the field of teaching, as it was done in Latin in the ancient universities.
 
@PauloCereda Right, and there's no word in modern Portuguese or Spanish (or French, for that matter) that seems to be derived directly from Latin 'supersedere'.
 
@egreg yeah, the classes in the high-schools of 6 or 8 years of studies are named "prima" to "sexta" or "octava" ;)
 
9:59 PM
@leo even with the bug I just found fixed it won't be working properly: first the random questions are chosen and then the topics are chosen which means you probably will end up with less than the chosen number... I'll try to correct it this week
 
@AlanMunn as in german... the loanword dictionary knows no word that could has it's origin form supersedere
which makes me wonder, cause we have so so many latin loanwords
 
leo
@cgnieder It can be handled by having a file per topic and then just choose random from them
 
Does anybody recommend Eco's Il cimitero di Praga? The reviews are not positive so far.
 
@leo yes, of course, but it's nevertheless a (let's call it) unexpected feature :)
 
@egreg How certain are you that 'supersedere' was actually a Latin word (as opposed to made up in Latin later)? It's quite odd that it has no cognates in any of the other Romance languages.
 
@AlanMunn According to Lewis and Short it's found in Caesar, Cicero, Suetonius, ...
 
leo
@cgnieder yes indeed
 
De nihilo nihil.
@egreg: speaking of Latin, I once saw a curious sentence in a bottle of wine: In vino veritas. :)
 
@PauloCereda It's quite difficult to keep control after a few glasses of wine, so people tend to say what they're really thinking.
 
@egreg ooh clever! :)
Italians. <3
 
10:14 PM
@PauloCereda But like for many proverbs also the contrary can be said.
 
@egreg Indeed.
 
@egreg yeah. If everything what people say when drunken were true, all my friends would be gays :D
 
@egreg Good enough for me. :) So it's odd how none of the derived languages kept it.
 
@AlanMunn It passed into English from Old French "superseder"; I don't think it's in French nowadays.
 
@egreg i always wonder what lies in beer, when truth lies in wine....
 
10:22 PM
@bloodworks Songs?
 
@egreg remember the problem of finding the mathchar of implicit characters? xetex makes things more interesting \alpha expands to \mitalpha which has been \let to a character, but \show or \meaning show > \mitalpha=the letter ???. l.19 \show\mitalpha with real ascii question marks (which bm then happily typesets.... arrrrggggg
 
@bloodworks tummys
 
@tohecz lol
 
@bloodworks I'm Czech, you know ;)
 
@DavidCarlisle I believe this is a known bug of \show and \meaning in XeTeX. :( Ask Khaled Hosny
 
10:25 PM
@egreg tummy is a result of XeTeX bug? :D :P
 
@tohecz one of our phd students was a czech.. he was very fond of beer
 
Max
Hello, has anyone written a package for generation of QRcodes with tikz so far, that I just can't find? Or does it just noch exist
 
@tohecz Sorry, wrong linking.
 
@egreg I think we figured it out:-)
 
@egreg Yes, it's not in French either.
 
10:26 PM
18
Q: Generating 2d barcodes

CommuSoftIs there any package that generates 2d barcodes (QR code). I want to add a barcode on the front page of a manual I have written containing the URL where to download that manual. It would be nice if I could continue using pdflatex. Instead of converting each time. EDIT: [Reaction to Jake's answer...

 
@egreg OK thanks I guess I'm going to have to sign up to lua and xe tex lists, I can't really keep pinging Khaled and Will be private mail
 
@egreg I know ;)
 
leo
!!/answer what is the easiest problem you can't solve?
 
Max
thanks @tohecz, but that isn't a tikz package. I have found a couple of programs, online services and pst-barcode, but nothing with tikz. The pst-barcode output seems a little fuzzy and a tex solution would be preferable to something external.
 
@leo I remembered that I already mentioned it in the manual:
“If you use the random option you need to be aware of the following facts: the options `use-classes`, `use-topics` and `question/print` are not considered when selecting the questions which means you might end up with less questions included than you’ve specified. The option `question/use` is also not taken into consideration. In fact it is completely ignored and the questions are included anyway. I’m still not sure this is a feature or a bug. . .”
 
10:34 PM
@All: How complicated you think it is to implement QR codes in TikZ? I'm willing to put a bounty to it, but it wouldn't make sense if the solution cannot be made in 7 days.
 
Max
How about i start that question without a bounty and we'lll give it time
 
leo
@Max There are some things which can be useful to you in here
 
Max
then I'll start the bounty once we get the first solution (you may chip in) and then we will award it after a week
 
@Max Yeah, that sounds good. Will you state the question? I'll then add an information about my eventual bounty, I feel good ideas should be supported ;)
 
Max
sounds great thanks for the input
 
10:44 PM
@Max Not TikZ either, but still: tex.stackexchange.com/questions/88599/…
 
@TorbjørnT. the true problem is the QR algorithm I think, not the code drawing
 
@Max lua will be no option?
 
@tohecz Patrick has done a lua version: speedata.github.com/luaqrcode Still needs a package though, but that's probably not too hard.
 
@egreg message set to xetex list.....
 
@Max I go to bed soon, so please hit me up with a message here as soon as the question is ready. Yeah, and be sure to be very precise with the question.
@AlanMunn LuaTeX s***s
 
Max
10:51 PM
already done
what do you mean about the preciness? Anything special you are worried about?
@bloodworks I've found the lua solution thanks
 
@AlanMunn @Max this.
 
@tohecz No comment. :)
 
@AlanMunn :)
2
Q: pgf-Tikz QR code generator

MaxI am looking for a Tikz QR code generator. I am aware of pst-barcode as well as several local programs and web services to do this. Nevertheless, I would much prefer a Tikz replacement, if possible at all. If this doesn't yet exist, I would be willing to award a bounty on the creation of one. How...

 
Max
11:08 PM
Your edit sounds very distrusting. I don't actually believe the Tikz crowd is that reputation motivated. Even though bounties are fun and I want to honour the effort, someone will do it just for the fun of it, I am certain.
 
00:00 - 18:0018:00 - 00:00

« first day (798 days earlier)      last day (4150 days later) »