« first day (881 days earlier)      last day (4051 days later) » 
00:00 - 19:0019:00 - 00:00

12:08 AM
@PauloCereda Big indeed. No night Via crucis?
 
@egreg Nope, it was in Wednesday. Today is what we call procession of the dead Lord (bad translation, perhaps?).
:)
 
@Karl'sstudents LOL
 
@PauloCereda :-)
 
12:28 AM
@PauloCereda @Karl'sstudents @Qrrbrbirlbel chat.stackexchange.com/transcript/message/8740227#8740227
 
Heua =)
 
@Speravir Very good.
 
@Speravir oooh! :)
 
Anyone mind looking at something quick? pastebin.com/esFZYTdQ I want to underline the numbers on right =)
 
@N3buchadnezzar oh the totals?
 
12:42 AM
I tried a few quick dirty fixes with using \cmidrules{4-4} but they did not work.
 
@N3buchadnezzar depends what you wantit to look like the most direct way is \underline{\the\tottot}
 
Yeah, but like you said the looks is not right
Using \underline places the line too close to the number, and breaks the table/booktab syntax
 
@N3buchadnezzar You're using a clearly inferior solution. ;-)
 
@N3buchadnezzar but the main list in the middle column is set as a single table row even if it wraps over multiple lines so you probably want to attach the line to the total rather than the table row don't you? (I'm not sure what the meaning of the table is:-)
@N3buchadnezzar Ignore that other bloke
 
@egreg but but i understand it!
@DavidCarlisle Number of points from an exam
Yeah I saw that by using the \@maketb@#1
 
12:49 AM
@N3buchadnezzar You could use the same mechanism as the individual entries (\parbox{something}{\the\total\par\vskip something \hrule} to put a rule a fixes distance under the table, or perhaps they would look better bottm aligned anyway (change the middle column from p to b)
 
Yeah, I have no idea what looks pretty anyway
Indeed I have no idea what looks good
 
1:16 AM
@David have you a solution for my longtable problem?
 
@Kurt sorry been distracted will look this weekend, bed time now:-)
 
no problem, have a good night!
 
In How could the macro xii.tex be simplified into a better readable form I do not undeerstand at all this sentence: “TeXifying the code after adding \traceall at the beginning, it gives may useful (perhaps), but is quite stumbling blocks to mine, is something like” Do you have any clue what the OP actually intended to say?
 
@Speravir I think it means "I started to change it to use normal \ and {} syntax and added \tracingall but I got stuck at A.
@Speravir incidentally this was first posting of that:
groups.google.com/forum/?fromgroups=#!searchin/comp.text.tex$20carlisle‌​$20detex/comp.text.tex/Uyp--Qlehfo/DGFBkSjOSMMJ
 
@DavidCarlisle Hmm. But how to edit this sentence, that it is in a readable form (i.o.w. this sentence looks to me like xii.tex).
@DavidCarlisle link broken
 
1:30 AM
@Speravir yes flippin google groups hang on..
 
@DavidCarlisle thx
 
night all...
 
2:00 AM
@DavidCarlisle If you later want to refer to: tex.stackexchange.com/questions/104248/…
 
 
1 hour later…
3:01 AM
@Speravir It is not really Tom and Jerry. Tom and Jerry are enemies. Or maybe the mouse is trying to annoy the cat.
 
@Qrrbrbirlbel Ooch, verdirb doch nicht den Spaß! :-) It’s a rat BTW.
 
@Speravir I like it nonetheless! Stimmt, ist gar keine Maus. Noch weniger Jerry. ;)
 
@Qrrbrbirlbel Good!!1
@Qrrbrbirlbel I think your English is better than mine. Can you help here chat.stackexchange.com/transcript/message/8742564#8742564?
 
@Speravir Not that I am in the position to judge, but I think it is really not the best English.
 
@Qrrbrbirlbel But do you understand what Cylian wanted to say? I even fail here.
 
3:19 AM
Adding \traceall gives maybe [= perhaps] useful informations, but it is [still] quite stumbling to [me]. It is something like … (and the following four lines is one of the "blocks" he talks about).
 
@Qrrbrbirlbel Aah, you could be right. Should I edit? It surely not getting worse.
 
@Speravir You could, I guess. Why not? Op can still revert (or someone else).
 
@Qrrbrbirlbel Oh, yes …
 
Although, all the answers given (except for @DavidCarlisle’s maybe ;)) are good and are more or less duplicated answers. But the question now asks for answers that explain \tracingall and its output.
 
@Qrrbrbirlbel There is one more vote needed for reopening. I skipped the review request.
 
3:35 AM
@Speravir Yeah, the fourth vote was mine.
@Speravir I also had the fourth vote in closing …
 
@Qrrbrbirlbel But only because of this edited question, I guess?
 
I am more puzzled by
1
Q: Drawing a rectangle with a border around it with tikzpicture

Blain WaanCould anyone please tell me how do I draw a rectangle with a black border around it? I want that for all my rectangles in the following tikzpicture: \begin{center} \begin{tikzpicture}[every node/.style = {shape = rectangle, rounded corners, ...

Op asked for a border, Jubobs commented with draw=black and Op thanked.
PStricks answer with two rectangles with a double border.
Then a comment about (a,b) rectangle (c,d) which confuses me a little bit.
Then a TikZ answer which apparently adapts the double style from the other answer but actually includes draw.
In addition to that, I don’t think OP will return to the site until they have the next question.
@Speravir (Ping)
 
@Qrrbrbirlbel I did not dive that deep into TikZ. But Alain Matthes is someone who does, so should know, what he writes.
@Qrrbrbirlbel Pong.
 
4:06 AM
@Speravir No, what he wrote is not wrong. Well, maybe OP will respond again.
 
@Qrrbrbirlbel I already read your comment …
 
4:22 AM
@Speravir Ah, it’s open.
 
@Qrrbrbirlbel What? Ah – yes, I decided to vote, too.
 
 
1 hour later…
5:38 AM
@Qrrbrbirlbel: You around?
 
6:14 AM
@PeterGrill Depends on what for?
 
@Qrrbrbirlbel I was came across the question about the "borderline" PSTricks solution
Yeah it won't help the OP, but having a non-tikz solution might help others.
And plus there was no animation this time. :-)
anyway, no bigee.. perhaps there should be a meta question on policy on alternate solutions that do not help the OP.
 
@PeterGrill Reason a) is not that important. Of course, it may might help others. But “others” won’t find this answer, even when they do not use the [PSTricks] tag.
 
no, but they might search for rectangle, double border.... ..
 
@PeterGrill Not really, I tried that (using the internal search engine which doesn’t say much).
In addition to that: There is no single line of explanation. “Garbage’s students” combines PSTricks answers are full of good PSTricks drawing. But without any explanation I do not even know how to use it to draw something on my own.
 
@Qrrbrbirlbel Yeah, I really hate the internal search, but it at least it is not as basd as it was a few weeks ago when "user:me is:question" showed I had less than 10 answers.. Perhaps SE should buy a copy of the Google search engine...
Yeah, I avoid them to as I know nothing about PSTricks, not even how to compile it. An explanation would certainly be helpful.
 
6:23 AM
I do not have anything against PSTricks or PSTricks answers, but in this case it was (in my opinion) far off.
Though, OP’s intention is very uncertain, so even a duck wouldn’t have deserved a down-vote (according to @PauloCereda they never do ;)).
@PeterGrill Either use Xe(La)TeX or latex > dvips > pspdf or try to get any of the Auto-PStricks-PDF packages to work.
 
@Qrrbrbirlbel :-)
 
As I do not want to set up my editor to command-chains I do not use regularly I’ve opted for
% arara: latex
% arara: dvips
% arara: ps2pdf
(Of course, arara has its own short-cut.)
@PeterGrill There was a meta question about something very similar. If I remember correctly you have left about seven or so comments on the discussed question on the main site.
 
@Qrrbrbirlbel Yeah I think that was on the main site when the OP was down voting them.. Am getting old, it is hard to remember things.... Of course that might be the wine as well. :-)
 
@PeterGrill Hehe. Although I could understand Op’s intention (having produced maybe more than one drawing in TikZ, having setup helpful styles and reading all two-thousands pages of the PGF manual), it comes a bit harsh for someone who seeks for help. He just might need to ask another question …
 
6:38 AM
@Qrrbrbirlbel :-) Nah, I don't think it is harsh. People need to start thinking of this site as a resource, as opposed ot just getting your immediate problem solved. And I know how frustrating it can be.. Been working on an issue all day and keep getting closer and closer to the solution, but not there yet.
 
@PeterGrill Yes. No argue here. TeX.sx is very resourceful. Thank God I found it. Not for my initial question(s) which answers I do not even use anymore, though.
I remember seeing a \def somewhere in TikZ code and wondered “Interesting, I can define constants in TikZ.”
Well, stupid me. :D
 
2 questions!! That's it!! I got you beat on that count. :-)
@Qrrbrbirlbel :-)
 
@PeterGrill Your question on the site are always … I want to say painful? ;)
 
@Qrrbrbirlbel Sorry -- hope that isn't because of the way I ask them. I try to make them generic enough to possibly be helpful to others, but is difficult sometimes. I have to post a followup on the file path thing as the question I have posted so far tell me it is an x-y type of problem. Just gotta make the MWE...
There is no way I could have helped you with any of your two questions.
 
@PeterGrill Well, I’m not a native English speaker, so I may have my problems sometimes.
 
6:48 AM
If you have any suggestions on how to make the less painful let me know.
@Qrrbrbirlbel Wow!! I would not have guessed that from your writing.
Well I guess I could claim the same thing, but probably not a fair comparison since I moved to Canada when I was very young.
Hey, you know much about glue? I am adding a \hskip2.0ex between a bunch of tables and expected them to flow on to the next line if they did not fit horizontally, but that is not the case.
 
I think, sometimes it would be better to first compile the MWE and then read the question and check side-by-side as your questions are far more complex than most questions. Conditions + math-mode + text + footnotes + and some TikZ around it. ;)
@PeterGrill Oh, well. I use XeLaTeX, fontspec and (if needed) unicode-math nowadays. Libertine is not great for math, though. But there is not much math in my documents and if there is I can correct the problems by hand or with a few simple macros.
 
@Qrrbrbirlbel The speed of XeLaTeX not bother you -- am sating away from it for now, until i need to go multilingual I guess..
@Qrrbrbirlbel Well that is because I can hack enough usually to get most things to work -- except when expansion issues come up -- them I am totally lost.
 
@PeterGrill Thanks! Good to hear that. But do not let me speak to you. ;) You can see it mostly in “an”s that aren’t followed by an vowel sound. ;)
@PeterGrill LuaTeX is worse, not that I have actually used the Lua part, but some things (microtype? babel?) are better supported.
@PeterGrill What XeLaTeX started for me, was (I kid you not) the Qu ligature of the Libertine font.
 
@Qrrbrbirlbel Oh yeah that reminds me I need to check out the new microtype to see if fixed the drastic speed issues I have seen in a few cases.
Yeah, also need to visit the font issues someday -- am just using the default CM for now..
 
Adding all the nice OTF features, and I left there. Plus, the “Libertine Font War” didn’t help much.
@PeterGrill Yeah, I’m not a big fan of CM. But that’s not really Knuth’s fault. ;) It isn’t made for display and better printers. (Too light for my taste.)
 
7:06 AM
@Qrrbrbirlbel Will have to remember to ping when I am looking into new fonts. I don't mind even paying for them but they MUST work in math... I guess I should use whatever egreg uses as I am sure he has it figured out.
 
@PeterGrill While I got you and I am too late for bed now anyway (I was just about to shutdown when I saw your chat notification): Have you contributed to launchpad.net/tex-sx?
@PeterGrill A randomly chosen PDF of his homepage, it looks like Palatino for the running text. The document properties give me TeX Gyre Pagella, isn’t that the Palatino TeXivalent?
 
@Qrrbrbirlbel Hey, you must be in similar time zone as I think it is around midnight here so I too should be going to bed.. Not sure I know enough to be able to package something properly...
@Qrrbrbirlbel I wouldn't know... Let me know look...
 
@PeterGrill Nope, it is eight in the morning here (UTC+1 for the next 18 hours). ;)
 
@Qrrbrbirlbel Oh, wow, looks like you missed bed time. :-)
 
@PeterGrill Again. :( I should have gotten the golden badge by now …
 
7:11 AM
@Qrrbrbirlbel Sure looks much better than my CM output...
@Qrrbrbirlbel Wow, didn;'t know there was a tag for it. :-)
 
@PeterGrill There is one for . :P
 
@Qrrbrbirlbel Surprising that there no questions with that tag :-)
Too bad this is not in English, sure looks interesting:
and I could probably understand some of the math. :-)
 
@PeterGrill It should be a synonym of . ;) Or .
@PeterGrill Just stumbled over “I gamberetti alla pescheria sono uguali. O no? Un’orata e una cernia sono diversi, eppure sono pesci: se astraiamo alcune loro qualità sono uguali.” It sure seems easy to read. ;)
 
:-) Yeah I am trying really hard to procrastinate less this year.
 
@PeterGrill “Maybe next year.” ;)
 
7:17 AM
@Qrrbrbirlbel Yeah that just means "The shrimp at the fish are the same. Or not? Bream and grouper are different, yet they are fish: if we abstract some of their quality are equal."
 
The reputation bar hitting the 200 line is a bad sign. :|
Have you seen the question at the end of chat.stackexchange.com/transcript/message/8744219#8744219?
@Qrrbrbirlbel This one.
 
@Qrrbrbirlbel Yeah, if you notice I am doing good then. :-)
@Qrrbrbirlbel Thought I had responded. No have not contributed, just not sure I know enough of the internals to make a proper package.
 
@PeterGrill The Caesar’s Disk up-votes I have not expected …
 
@Qrrbrbirlbel huh?
I must have missed some questions..
 
@PeterGrill Yes you did, but I haven’t read the last sentence. (Remember, it’s past my bedtime!)
 
7:25 AM
:-) But I couldn't find the response either...
ok, go to sleep now... and don't forget to brush your teeth..
 
@PeterGrill Apparently you did, my second-most upvoted answer:
34
Q: How to create a Caesar's encryption disk using LaTeX

Uwe ZiegenhagenHow can I create a Caesar's encryption disk with LaTeX? I guess, the ultimate solution would take a arbitrary list of letters and calculate the spaces and angles for each letter automatically. So if I pass 4 letters to it, each space should have 90 degrees.

 
@Qrrbrbirlbel Yes I did. I remember when I saw it I was disappointed that I was not there when it got posted as that would have been fun to do..
 
@PeterGrill Hm, I thought you were somehow involved as you had pointed me to the tikzmark package one day. Anyway, I probably do not know much about packages myself but I was thinking of collecting some nice TikZ styles and macros. Some things get asked repeatedly and I got to thinking. And things, like for example the Caesar’s Disk ,could get expanded to a nice little library (like the one-macro-ish paper-folding library).
 
@Qrrbrbirlbel Yep those would be useful. I might have pointed you there for Andrew Stacey's \tikzmark package, but don't recall..
 
@PeterGrill Yes, it was fun. If you read the "Improvement" section of my answer, I had much more ideas, but if you notice the time-stamps on my answer, ehm. It was much too late. ;)
@PeterGrill I am mostly thinking of things like tex.stackexchange.com/a/102409/16595.
E.g. node connection that are built upon -| and -|. I have often defined such to paths for other answers.
 
7:33 AM
@Qrrbrbirlbel Yeah, I never have gotten the hang of the |- syntax and usually just keep tying the various combinations until it does what I want.
 
@PeterGrill Isn’t it obvious? |- means: first go down or up and stop when you are at the height of the target, then go left or right towards your target.
 
@Qrrbrbirlbel Yeah, of course makes sense now, but when I go to use it for some reason it does not. Similar to expansion issues (well not as bad actually), I read the detailed answers and they mostly make sense, but when it comes to actual usage that is a totally different thing...
Hey, did you not read my earlier message: Go to bed now!! :-)
I don't want to be blamed for your procrastination...
 
@PeterGrill Yeah, expansion. I remember trying to .aux a Need-to-know-widest-element-of-a-list-of-elements-before-typesetting-the-list problem (i.e. saving the greatest width and re-using it upon second compilation) but got in expansion troubles when using \csname (needed for more than one list per document) in \auxout. Maybe there is a package for that, or maybe I should have used a combination of \noexpand and \edef ...
@PeterGrill You are for today’s ;)
 
@Qrrbrbirlbel :-)
 
@PeterGrill Alright, logging off now. :)
 
7:41 AM
@Qrrbrbirlbel I actually have an idea to eliminate all my expansion issues by writing out what i need to a file, and reading it back it. Seems that is what I need most of the time.
 
@PauloCereda: The first bullet of the list is for you tex.stackexchange.com/questions/105943/latexmk-and-nomencl
 
Oh my ghost: \everymath{\color{blue}} affects \author and \textsuperscript{}. Is it a by-design feature?
MWE:
\documentclass[preview,border=12pt]{standalone}
\usepackage{xcolor}
\usepackage{bera}



\title{Introduction to PSTricks\textsuperscript\textregistered \\\emph{for the innocents}}
\author{Garbage Collector}
\date{\today}

\everymath{\color{blue}}
\begin{document}
\maketitle

\section{Quadratic expression $ax^2+bx+c$}
\end{document}
3 months later...
 
@JosephWright Consider to undelete the following answer -- it was a literal duplicate when I flagged it, but the OP edited it later.
 
8:13 AM
@lockstep OK
 
@Karl'sstudents textsuperscript is defined as:
\DeclareRobustCommand*\textsuperscript[1]{%
  \@textsuperscript{\selectfont#1}}
\def\@textsuperscript#1{%
  {\m@th\ensuremath{^{\mbox{\fontsize\sf@size\z@#1}}}}}
The author is set by:
\begin{tabular}[t]{c}%
        \@author
\end{tabular}\par}
 
8:53 AM
@lockstep: Regarding the <br>s in tex.stackexchange.com/questions/105991/…. Are they supposed to be there? I thought I took them out when I edited it initially...
 
@MarcoDaniel But this does not relate to math mode, does it?
 
9:12 AM
@Karl'sstudents It seems that tabular is sourrounded by a math environment. A simple example demonstrate it.
\documentclass[]{article}
\usepackage{color}
\everymath{\color{blue}}
\begin{document}

\begin{tabular}{c}%
      text
\end{tabular}
\end{document}
 
@PeterGrill No, they aren't. Strange ... I'll remove them.
 
@MarcoDaniel It should be regarded as a ***. :-)
 
@lockstep Ok, I thought it was strange that you put them back in -- perhaps our edits overlapped.
 
Oh it has been discussed here tex.stackexchange.com/a/100335/19356.
 
@Karl'sstudents I am sure @DavidCarlisle or @egreg know the solution.
@Karl'sstudents Indeed.
 
9:21 AM
@MarcoDaniel OK. Thanks for responding.
 
The LaTeX have spoken!!! :-)tohecz Feb 28 at 16:13
 
9:36 AM
@MarcoDaniel it's so you can use \vcenter for the default [c] vertical positioning, it would have been better had it been raised "by hand" but it is what it is. (There are lots of hidden math modes (there were even more in 2.09) which is why `\everymath is a tricky thing to use.
 
@DavidCarlisle Thanks.
 
Oh hi. I'm stumbling on the stupidest thing.
\begin{algorithm}
\caption{Whatever}
for i in data:\\
~~doMagic(i)
\end{algorithm}
how can I make TeX not ignore those spaces at the start of the line?
Possibly without using anything exceedingly fancy
(Is there a question on the site for this? Please tell me there is and that I suck at searching)
Unfortunately here my usual approach (doing this in LyX and studying the LyX translation) is failing, because LyX used a lyxcode environment for code and obviously that won't work in "vanilla" TeX.
...I guess I'll use \enspace.
\hspace*{1em} worked. :/
 
9:59 AM
@Jubobs I don't want to disturb your nice answer with a stupid comment but TikZ loads xcolor by default. It's among the top reasons why option clashes occur in TikZ questions. So it might be a better idea to remove that. By the way it looks really great,
 
10:30 AM
@badp Hi! :) Would this be ok?
\documentclass{article}

\usepackage{algorithm,algorithmic}

\begin{document}

\begin{algorithm}
\caption{Whatever}
\begin{algorithmic}
\FOR{$i$ in data}
\STATE doMagic(i)
\ENDFOR
\end{algorithmic}
\end{algorithm}

\end{document}
 
10:45 AM
To be honest, I've never used any algorithm package before. What are the common packages from that? :)
 
@PauloCereda algorithm2e
Can a native speaker help me: pm.stackexchange.com/questions/8998/…
 
@MarcoDaniel ooh thanks! :)
 
@MarcoDaniel ooh maybe the X means eXtreme!
algorithm eXtreme - That would be cool. :)
 
@PauloCereda algorithms are always eXtreme ;-)
 
10:50 AM
@MarcoDaniel boo! Who needs algorithms when you can define them in terms of λ functions? :)
I'll shut up now. :)
 
@PauloCereda ooohhh noooo <3
 
Don't tell me GEMA strikes again, please. :)
 
@PauloCereda Great
 
@MarcoDaniel <3
2
Q: How to write LaTeX comments in Visual Studio 2012

GeorgeI want to write comments in Visual Studio (2012) that contain LaTeX syntax. There is some plug-in to add to Visual Studio that will enable me to write comment in LaTeX and then see it as LaTeX (e.g. pop up window when I'm pressing some key shortcut or moving over the comment with the mouse)? I ...

Now I'm scared.
 
@PauloCereda That looks related, but not what I was looking for. It might help the friend who got me into looking at the problem in the first place though :) Thanks!
 
11:05 AM
@MarcoDaniel I'm not a native too but it looks like you need to label your address as Home or Work for your own convenience.
 
@MarcoDaniel You need a native speaker of that strange variant of English they use other side of the pond:-)
 
@percusse Thanks. Home or Work -- Interesting.
 
@PauloCereda That's scarily close to my day job
 
@DavidCarlisle oh!
@percusse What if we label it Not a meth lab? :)
 
@DavidCarlisle @Alan understands the people of the other side ;-)
 
11:11 AM
@PauloCereda If you have a spare six months i could tell you all the ways of failing to get math to display in visual studio help in the (mutually incompatible) versions of the help system in vs2008, 2010,, 2012, any of those with IE9 installed, any of those with IE9 and windows update of september 2012, or any of those with IE10.....
4
 
@DavidCarlisle Ouch, it sounds really painful. :(
 
TL:
-1
Q: Texmaker on Mac doesn't like my \section{}s

User 17670I have just made a clean install on a Mac I'm using at the moment. Everything seems good except when I compile, I have the error Missing number, treated as zero. s The error tells me that this occurs on line xxx, where xxx is everywhere I have \section{}

 
@MarcoDaniel I mean any label such as home, work etc. :)
@PauloCereda that would be the caravan :)
 
@percusse LOL
 
@percusse Do you an other? I will use HOME.
 
11:23 AM
@MarcoDaniel Das Haus!
 
@PauloCereda Die Wohnung ;-)
 
@MarcoDaniel I think it's not the english but their paranoid registration forms that are problematic.
 
@MarcoDaniel Oh no! :P
 
@percusse lol
 
@MarcoDaniel Isn't die Wohnung = apartment by the way?
 
11:25 AM
@percusse Yes.
the flat ;-)
 
@MarcoDaniel Das Hauss ♭!
flat flat flat joke joke joke
 
@MarcoDaniel Yay. DuoLingo is working. Ich übe Deutsch mit den übungen von Duolingo.
 
I'll definitely shut up now. :)
 
Hmm my german looks weird, sounds even weirder
 
@percusse Why? It's great
@percusse I can't use Duolingo to learn English :-(
 
11:31 AM
@MarcoDaniel You need to make a revolution to remove the artikelen when something like my red pencil or a black duck is required :) I need to type a matrix in Matlab to get the proper thingy in place
Not to mention the genitive case ....
 
12:14 PM
@DavidCarlisle Reading through your code again, where does it decide on when to break the lines? =)
 
@N3buchadnezzar well that's the point it avoids deciding by hand it just puts each of the entries into a 2em parbox and puts the row of parboxes into a column of fixed with 12em or something, I forget, then tex's normal paragraph line breaker does the rest.
 
Okay, so it goes by rule then =)
 
@N3buchadnezzar In other words it uses the same extensively documented mechanism as @PeterGrill's sequence of tabulars in my answer this morning vvv
0
A: How to get autobreaking with sequential tables

David Carlisle\raggedright%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

 
@DavidCarlisle The number of %'s is very important, of course. :)
 
@PauloCereda I used % as last time I used zero width space and got about 10 down votes:(
 
12:22 PM
@DavidCarlisle I think this is better suited for wizards than TikZ operators
\documentclass{article}
\usepackage{tikz}
\usetikzlibrary{arrows,automata}

\begin{document}

%\renewcommand{\baselinestretch}{1}

\begin{tikzpicture}[->,>=stealth',auto,node distance=2.8cm,semithick,
every state/.style={fill=red,draw=none,text=white}
]
\node[initial,state] (A) {$q_a$};
\node[state] (B) [above right of=A] {$q_b$};
\node[state] (D) [below right of=A] {$q_d$};
\node[state] (C) [below right of=B] {$q_c$};
\node[state] (E) [below of=D] {$q_e$};
\path (A) edge node {0,1,L} (B)
edge node {1,1,R} (C)
why does it change the arrow length if I uncomment the baselinestretch line?
This is the shortened version of
2
Q: Controlling arrow distance from the destination node in TikZ

MakavelliI'm trying to draw a simple diagram in TikZ. I used a code example from the documentation (code below). As you can see on the graphic: there is a problem with arrows that are not touching the destination nodes. The propblem is especially visible on loop arrows. Even if I draw the simplest diag...

It's really surprising for me.
 
@percusse normally for that kind of thing I just run \tracingall on the two versions and then compare the log files with diff, but running tikz code with tracingall isn't a lot of fun:-)
 
Sp \raggedright inserts a break after a given width/length, good to know =)
 
@DavidCarlisle Oh I can imagine. But let me try this what does baselinestretch change? \show tells me that it is a long macro
 
@percusse It's only long if someone uses \newcommand on it the default definition is \def\baselinestretch{1} which isn't long or that exciting. But it is used as a multiplier most times latex sets the baseline, eg the second argument of \fontsize gets multiplied:
\DeclareRobustCommand\fontsize[2]
   {\set@fontsize\baselinestretch{#1}{#2}}
 
@DavidCarlisle Soething is fishy in the bowels of PGF then. This should not matter.
 
12:34 PM
@percusse Should I build another daily version?
 
@PauloCereda :-) No need. This happens with every version :)
 
@percusse Oh. :)
 
@N3buchadnezzar well not really it is the TeX inner paragraph loop that inserts the break but if there is no glue on the line then there is no feasible break point so you get an overfull box. If you have word spaces beween teh boxes that stretches but if you put a fixed (or no) space between there is no flexible glue so unless you are lucky and the kine ends exactly at a boundary there is no break.
(In your case actually you would be lucky as the width is set to an exact multiple of the width of the parboxes)
@percusse I always suspected as much. Stick to picture mode, that's what I say.
 
@DavidCarlisle Aah, it's actually the arrow type that is problematic. It's works with other types. TikZ forever ! :P
 
I thought I'd just use tracingmacros rather than tracingall but still get 626824 lines of log file:-)
 
12:57 PM
@percusse arguably it is user error although tikz probably should protect itself a bit better (I gave up seeing exactly where it goes wrong there are a lot of diffs as it triggers a lot of latex font loading activity) setting baselinestretch without using \selectfont leaves a "pending change" like setting \fontsize or fontseries without setting \selectfont if you do \renewcommand{\baselinestretch}{1}\selectfont the arrows ping back
 
1:09 PM
@DavidCarlisle Yes, I just found out that. But I can't find which dimension is getting affected from that Because the arrow declaration is \pgfdeclarearrow{start name}{finish name}{the arrow skip code}{arrow drawing code} kind of structure. So we have this declaration which are kind of locally set and have no relation (seemingly) to that number. By the way it doesn't matter if you set it to zero or ten. Just the declaration of the definition is enough
\pgfarrowsdeclare{stealth'}{stealth'}
{
  \pgfutil@tempdima=0.28pt%
  \advance\pgfutil@tempdima by.3\pgflinewidth%
  \pgfutil@tempdimb=6\pgfutil@tempdima\advance\pgfutil@tempdimb by.5\pgflinewidth%
  \pgfarrowsleftextend{+-\pgfutil@tempdimb}
  \pgfutil@tempdimb=2\pgfutil@tempdima\advance\pgfutil@tempdimb by0.5\pgflinewidth%
  \pgfarrowsrightextend{+\pgfutil@tempdimb}
}
{
  \pgfutil@tempdima=0.28pt%
  \advance\pgfutil@tempdima by.3\pgflinewidth%
  \pgfsetdash{}{+0pt}
  \pgfsetroundjoin
  \pgfpathmoveto{\pgfqpoint{2\pgfutil@tempdima}{0\pgfutil@tempdima}}
It's kind of weird that other arrows don't get affected
 
most of the log diffs (but I got less that 10% into the file before I gave up:-) are due to \pgfmath@selectfont which calls \selectfont \selectfont does some quick \ifx tests and if it thinks that nothing has changed it does nothing, but if it detects anything (including baselinestretch) is changed it invokes the latex NFSS font machinery to set up the font. as these settings are local they happen again and again in every local group where selectfont is called. My analysis fades out here
 
@DavidCarlisle I think this is a bug-report-level issue. I can't deal with more than five files :) Would you like to write an answer?
 
@percusse what answer, "use \selectfont" ?
 
@DavidCarlisle OK let me write a simple where it is happening then you can edit it :)
 
@percusse really I don't know what's going on here, despite my aim to beat egreg to the tikz-pgf badge, I think it's probably better if you answer:-)
 
1:20 PM
@DavidCarlisle Done.
 
@percusse The OP set it to 1 you have set it to 0 could I change that (as setting it to 0 would have weird effects of you tried to typeset any text:-)
 
@DavidCarlisle Sure. I just wanted to show that the number is not relevant
 
@percusse OK I made it 2 (and upvoted:-)
 
@DavidCarlisle Thanks for the helping hand :)
@DavidCarlisle Ah maybe it makes the real difference when \nullfont is invoked? Because that's the standard declaration to remove every non-TikZ typesetting inside TikZ pictures.
 
@percusse: sir, online mode, please. :)
 
1:32 PM
@percusse Yes I suspect so
 
1:45 PM
@PeterGrill wake up, we need you to settle an argument
 
@DavidCarlisle It's not yet 6 am in California. I don't think he's an early bird like @PauloCereda. I guess I've time to see the football match before he's on line. Find some cricket and enjoy it. :-)
 
@egreg Ah the game! :)
 
2:19 PM
I'm failing to find out which command \appendix uses to reset the counters.
 
2:43 PM
\documentclass{book}

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

\usepackage[toc]{appendix}

\newcommand{\annexname}{Annex}
\newcommand{\annextocname}{Annexes}

\newenvironment{annexes}{\annex\begin{appendices}}{\end{appendices}}

\makeatletter
\newcommand\annex{%
\renewcommand{\appendixtocname}{\annextocname}
\renewcommand{\appendixname}{\annexname}
}
\makeatother

\begin{document}

\tableofcontents

\chapter{One}
\chapter{Two}

\begin{appendices}
\chapter{One}
\chapter{Two}
\end{appendices}
Suggestions for resetting the counters inside annexes? :)
 
3:34 PM
@PauloCereda \appendix ?
@PauloCereda It just sets them to 0: book.cls has:
\newcommand\appendix{\par
  \setcounter{chapter}{0}%
  \setcounter{section}{0}%
  \gdef\@chapapp{\appendixname}%
  \gdef\thechapter{\@Alph\c@chapter}}
 
@DavidCarlisle I tried this inside my \annexblock, but it doesn't work. I'm missing some scope, I guess. :)
It works if I define \annex similar to \appendix. I'm curious on how I could achieve the same with the appendices package.
 
@PauloCereda you mean you have \setcounter{chapter}{0} and the chapter counter didn't reset? I suppose I could try running the code:-)
 
@DavidCarlisle Yes. :) In the above code, I'm trying to exploit appendices. The other way works. :)
 
\begin{annexes}
\appendix
\chapter{One}
\chapter{Two}
\end{annexes}
works for me so i assume you could just patch \annexes to reset the counter
 
@DavidCarlisle wow!
@DavidCarlisle \newenvironment{annexes}{\annex\begin{appendices}\appendix}{\end{appendices}}
Fine with me. :)
 
3:43 PM
@PauloCereda oh didn't notice it was your environment I thought it came from the package:-)
 
@DavidCarlisle <3
 
3:56 PM
@PauloCereda Sweet revenge. :)
 
@egreg :P
 
@egreg ask a couple of macros questions would you?
 
Can I “smuggle” a length out of a group similar to \pgfmath@smuggle macros? It does work there with using a macro but I want to preserve the length as it is.
\def\qrr@smuggle@length@through@interruptpgfpicture#1\endpgfinterruptpicture{%
	\expandafter\endpgfinterruptpicture\expandafter#1#1}
Okay, I’m doing that now:
\def\qrr@smuggle@length@through@interruptpgfpicture#1\endpgfinterruptpicture{%
	\edef\@tempa{\the#1}%
	\expandafter\endpgfinterruptpicture\expandafter#1\@tempa}
 
4:23 PM
@Qrrbrbirlbel \edef\@tempa{\the#1\relax}%
 
@DavidCarlisle The \endpgfinterruptpicture is followed by an \advance so I guess it is save in this case, but it wouldn’t hurt …
 
@Qrrbrbirlbel OK you are forgiven then:-)
 
I should learn emacs.
 
@PauloCereda Asking to be starred :-)
 
@JosephWright I still can edit it. :)
@Joseph: funny thing is, I use Aquamacs in Mac. :)
Together with MacVim, of course. :)
@DavidCarlisle: ^^
 
4:41 PM
@PauloCereda clearly it's not a real machine.
 
@DavidCarlisle: ^^
:)
OK I'm installing it. :)
 
@PauloCereda the yum interface seems to switch language every other line:-)
 
@DavidCarlisle Indeed. :)
I think yum has one of the best interfaces in the Linux world. :)
 
@PauloCereda even better than ed ?
 
@DavidCarlisle Oh my! :)
 
4:48 PM
@N3buchadnezzar Don't tell @DavidCarlisle you marked my answer with the green tick.
 
@egreg shocking
 
It was actually very, very close.
 
@N3buchadnezzar @egreg needs the points actually, he's slipping down the tables:
 
This is the output from the final table-thingy, looks decent =)
 
@N3buchadnezzar terrible, ugly, absolute typographic disaster, who did you get the code from?
 
4:57 PM
@DavidCarlisle Leave off the 1800 bounty points. ;-)
 
@DavidCarlisle The deciding factor was your usage of \raggedright
 
@egreg yes I did get a bit of help from @karlsstudents I have to admit:-)
 
@N3buchadnezzar Take away the \multirow and it will become instantly better. ;-)
 
@N3buchadnezzar I thought that was the best bit:-)
 
@egreg: you are 178 bronze medals from 1k! :)
1
A: Is there a ready solution to typeset a diff

AdityaThe vim module for ConTeXt uses the VIM editor to do the syntax highlighting of files. As such it supports all syntax highlighting for all filetypes supported by VIM (which is a lot). For example, to highlight diff files, you may use: \usemodule[vim] \definevimtyping[DIFFtyping][syntax=diff] \...

@DavidCarlisle: how about writing an emacs module for ConTeXt? :)
 
5:02 PM
@PauloCereda If he asked some questions he'd get a student badge
 
@DavidCarlisle oooh true!
 
@DavidCarlisle Yea, and that says about all that needs to be said does it not ;)
 
@DavidCarlisle I could ask about the pseudo-xii macro I showed yesterday night. :P
"Why on earth one would define a macro in this way?"
The Bard's immortal words apply: "There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy."
 
5:40 PM
@DavidCarlisle :-) Am awake now...
BTW, you realize how mad @egreg would be if I accepted an answer with that many extra %?
 
@PeterGrill I trust you won't follow the shocking example set by @N3buchadnezzar (see transcript above:-)
@PeterGrill It is the minimum number allowed in that context.
 
@DavidCarlisle :-) I think what you meant as %!!!!!!!!!!!!!!!!! I swear I tried \raggedright, but probably dropped it when the \hspace* solution was producing a single line no matter how many tables -- before I discovered \allowbreak
 
@PeterGrill In dandelion, %%has a different semantics than %%%. :)
 
@PauloCereda What is dandelion? Not easy to Google without context (not ConTeXt)
 
@PeterGrill It's something we are writing for automated test. :)
@David is a committer, so expect awesome things.
 
5:48 PM
@PauloCereda oh...
 
@PeterGrill <3
 
@PeterGrill well you need something otherwise the sx system complains.
 
@DavidCarlisle Oh I see the minimum character requirement.
 
6:12 PM
@PauloCereda not emacs but not vim either:-)
 
6:57 PM
should we ask for a MWE or is the question clear as it is?
0
Q: How can I typeset with LatexDB using Xelatex?

macmadness86Using the sample code on this site, http://hgesser.com/software/latexdb/workshop.html, I would like to query my MySQL database and typeset using Xelatex This is because all of my documents are set up using UTF8 and \usepackage{fontspec}. I have checked out the documentation and I cannot see...

 
00:00 - 19:0019:00 - 00:00

« first day (881 days earlier)      last day (4051 days later) »