« first day (935 days earlier)      last day (3997 days later) » 
03:00 - 22:0022:00 - 00:00

3:40 AM
@lockstep Better go booking a bed in the asylum right now.
 
 
4 hours later…
8:05 AM
create a PDF file with LuaTeX from a dokuwiki wiki - used for the new German TeX FAQ
 
8:23 AM
How is everyone today?
@dıʞsdoʇ Cool
 
@JosephWright miserable, as usual
 
kan
@DavidCarlisle Oy! :)
@JosephWright Doing pretty good. :)
OK! I should be here later.
 
@DavidCarlisle :-)
 
@JosephWright really great
 
@dıʞsdoʇ :-)
 
8:30 AM
@DavidCarlisle “The first ten million years were the worst," said Marvin, "and the second ten million years, they were the worst too. The third ten million years I didn't enjoy at all. After that I went into a bit of a decline.”
5
 
 
2 hours later…
10:18 AM
Should we be approving edits that just add some code indenting? To me this appears to be too minor.
 
@AndrewSwann I'd say no, unless the original code was really unreadable. Or, as usual, if the question/answer is near the top of the main page anyway.
 
@AndrewSwann If there are more than a few lines of code and the new indenting isn't insane, I approve them. This stuff can save readers substantial effort.
 
10:38 AM
@DavidCarlisle Don't worry, I'm here to brighten your day! :)
 
10:58 AM
!!/cricket
Let's not forget that one!
 
!!/fortune
Oh, psmith is out for lunch
 
@dıʞsdoʇ Or breakfast, considering time zones. ;-)
 
@egreg @CharlesStewart Thanks for the replies. I felt the recent two examples we had were borderline. Often if you start changing the indentation then there are other formatting points that can also be improved.
 
Oh requests for Psmith!
!!/cricket
Psmith, the TeX bot, in fixed font mode: Let's take a look at the last cricket results:

- Leicestershire 25 &  142/10 * v Glamorgan 442/9
- Oxford MCCU 212/10  v Surrey 50/2 *
- Durham 259/10  v Middlesex 19/2 *
- Essex 212/10  v Kent 52/4 *
- Sussex 300/10  v Somerset 76/10 &  32/2 *
- Worcestershire 65 * v Gloucestershire 234/10
- Ireland v Pakistan 33 *
- Loughborough MCCU v Northamptonshire 78 *
- Hampshire v Lancashire 62/1 *
- Warwickshire v Nottinghamshire

Our cricket expert David might explain these results later on.
Oh for a minute I thought Brent was playing cricket!
 
@DavidCarlisle Sorry to hear that. Anything specific, or general malaise?
 
11:10 AM
@PauloCereda A one man team.
 
@egreg :)
 
@PauloCereda Probably better than the Unicorns who seem to lose every match they play.
 
@egreg There must be a plot agains them.
 
!!/fortune
 
@dıʞsdoʇ Psmith, the TeX bot: Here is your fortune: A cynic is only a frustrated optimist.
 
11:23 AM
@egreg Awfully hard to bat with that horn, I presume.
 
@StephanLehmke Not to mention bowling.
 
Apparently, 9gag spotted one of the Unicorns players:
:)
 
11:52 AM
!!/fortune
Uh-oh.
@PauloCereda Psmith, the TeX bot: Here is your fortune: Oh crumbs! I've just been stepped on.
 
12:16 PM
could one help me finding whether the question i want to ask is a duplicate ?
 
@DominicMichaelis sure
 
In measure theory we are messing up a bit with subscripts and superscripts
\documentclass{article}
\usepackage{amsmath,amssymb}
\begin{document}
\[ \int_{\mathbb{R}^{n_2}} \]
\end{document}
Oh it is not minimal yet sorry for that
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\[ \int_{R^{n_2}} \]
\end{document}
this already gives the effect i don't want. The 2 is effective bigger than the $n$ also it is an index of a superscript which should be smaller
at least I want it smaller
 
@DominicMichaelis There's no "scriptscriptscriptstyle".
 
Guys, I'm tempted to post a question about the floattype option for KOMA's \DeclareNewTOC. I'm curious to know about its meaning. Do you guys think it's worth?
 
12:36 PM
@egreg so i am lost ?
 
@DominicMichaelis I believe you're not using the best way. Piling up subscripts of superscripts of subscripts is hardly a good service to your readers.
 
@egreg I am just a student, I only adopt the notation of my prof
We split up $\mathbb{R}^n = \mathbb{R}^{n_1} \times \mathbb{R}^{n_2}$ for the proof of fubini
 
@DominicMichaelis I'd use $n=h+k$, or directly go with R^n=V\oplus W
 
Well I am getting paid for writing the script, so I htink I shouldn't change that much of notation
 
@DominicMichaelis Then go with n=h+k. When I saw the theorem stated for Banach spaces rather than subspaces of R^n, I finally understood it fully.
 
1:25 PM
@FaheemMitha I didn't realise responses here had to have any relation to reality
 
@DavidCarlisle Are you still recovering from the shock of England winning to NZ?
 
1:38 PM
@egreg England is always expected to win, we invented the game. Same is true of football. Expectation is not always realised.
 
@DavidCarlisle It reminds me of a sketch from Flanders and Swann:
You know, it's a curious thing, I don't know if you've ever thought of this, but England hasn't really got a national song, you know, just for England; there's plenty for Great Britain. That's quite different. You have to be very careful how you use these terms, too. The rule is: if we've done anything good, it's "another triumph for Great Britain" and if we haven't, it's "England loses again". Have you noticed that?
 
@PauloCereda :-)
 
2:44 PM
@DavidCarlisle Forgive me for jumping to conclusions.
 
@egreg: thanks a million for the link, I think I'll delete my question. :)
 
@PauloCereda Or we can close it as duplicate; maybe leaving the "floattype" word around is better.
 
@egreg Fine with me. :)
1
Q: Meaning of floattype in KOMA

Paulo CeredaFriends, I've been happily using KOMA for some time now, and yesterday I was intrigued by a particular option when using \DeclareNewTOC: floattype = <number>: The numerical float type of the defined floats. Float types with common bits cannot be reordered. At the standard classes figures has ...

Guys, let's close it as duplicate. :)
 
@PauloCereda Done
 
@JosephWright Danke. :)
 
2:59 PM
I have a custom environment (NewEnviron) that I use to wrap some C code. I'm trying to save the code (\global\let\code\BODY) and then generate the code later, as part of a lstlisting environment (\def\makecode{\begin{lstlisting}\code\end{lstlisting}}), and having some trouble because I don't really understand either the lstlisting environment or the \let.
When I do the \let, I seem to be capturing some \pars (blank lines in the C code), which disagree with the lstlistings environment (Paragraph ended before \lstenv@ProcessJEnv is complete). Is there a different kind of \let that I can use to capture the contents of \BODY as if it were a verbatim section?
 
@Luke You lose line endings; listings need to "see" the line endings in the original form.
 
@egreg Can I preserve these line endings with \let? or with some sort of \def? Or is it going to be a problem to move listings around like this?
@egreg I've seen some stuff online about ^^J, which I assume acts as a line ending or something, but I don't know how to deal with that. Maybe I can def \par inside of \makecode to generate the "right" kind of line ending for listings?
 
3:15 PM
@Luke No, you can't. The better thing is to read the environment line by line and write it out to a temporary file (the package fancyvrb can do it easily); then you can input it as many times as you like, with different settings.
 
@egreg Hmm... ok. I'll try and figure out how that fits into the structure of my document. Maybe I can have \makecode generate the appropriate a \lstinputlisting command to grab the code from the place where the original custom environment was positioned. That would obviate the need for me to move it manually, I think (i.e., hope).
@egreg Thanks for the advice.
 
3:32 PM
!!/eightball is @FaheemMitha forgiven?
 
@DavidCarlisle Psmith, the TeX bot: The great 8-ball says: as I see it, yes.
 
@FaheemMitha that's Ok then ^^^^ :-)
 
hi there =)
 
3:48 PM
@Rico Hey! Welcome back! Did you read your manual "How to procrastinate"?
 
@egreg Hey =) yes, its a interesting piece of paper, basicly it says: "If you want to do something else, go visit the tex and friends channel" ;)
 
@egreg finally something I mastered :D
 
@AlanMunn: ^^
 
@egreg You make something with algebra am I right?
 
@Brent.Longborough A little late to be replying to a comment made yesterday, but since it's got 6 stars, I'll assume it's fair game. When I was 4 our family went for a week's holiday in Wales. Seven days in a caravan in the pouring rain!
@PauloCereda Absolutely wonderful! (Fake British accent, though.)
 
4:02 PM
@DominicMichaelis Yes, but I'm more towards didactics, these times.
 
@egreg di you know that there are non cyclic groups with a cyclic automorphsm group?
 
@AlanMunn I'm practicing my own fake British accent too. :)
 
kan
@DominicMichaelis Of course, try your luck with abelian groups. (Others won't work... )
Do you see that, such a group must be abelian, first of all?
 
@kan any group with a cyclic automorphism group is abelian
and if you group is finite it even follows it is cyclic
sry
abelian :D
 
kan
@DominicMichaelis Right.
 
4:13 PM
@kan with categorisation of finite abelian groups $G\cong Z/p^kZ \times Z/p^j Z$ which doesn't have an abelian automorphism group
 
kan
@DominicMichaelis There are easy examples of abelian groups with non-abelian aut groups...
 
ea ?
i just use the implication non abelian implies not cyclic.
 
kan
I must really think about circulant matrices and RSK correspondence now... I'll come later... Bye! (Have fun with groups.)
 
is it possible to publish something written in german at pages like latex-community.org?
 
it is surely possible but if it is recommended i don't know
 
kan
4:20 PM
@Rico @tefanKottwittz might know... I do not know about the conventions of our blog. @dıʞsdoʇ might have some suggestions too...
Later...
 
@kan I thought about asking @StefanKottwitz maybe he shows up later ;)
 
Boss not happy I've written something in LaTeX: having to convert to Word :-(
 
Oh noes
@JosephWright Now I unterstand "Some guys just want to see the world burn"
doesn't he have a pdf viewer?
 
4:38 PM
@kan Just $Z/pZ\times Z/pZ$, for instance.
 
why does it take so long for my domainprovider to check the new dns preferences -.-
 
4:54 PM
@JosephWright :(
Am I too crazy? I'm thinking of getting myself an accordion. :)
 
@PauloCereda mz grandma has one :)
 
@JosephWright After 12 years of successfully doing DocScape (aka TeX) projects for our customers and putting up with an "industry standard" Word-only policy in our company, I've finally managed to place the first DocScape application to be used in-house ;-)
So you just have to be patient :-)
 
@StephanLehmke My boss thinks I'm odd for not preferring Word, and he's not about to budge
 
@JosephWright Maybe Microsoft has finally managed to shoot themselves in the foot hard enough with Windows 8 they're going to turn into a game console vendor ;-)
5
 
@StephanLehmke My gaming mate isn't impressed by the Xbox One either: he staying with a PC and Win7
 
5:03 PM
@Rico zou need to fix zour kezboard lazout. :)
3
 
@JosephWright If he already bought one, it's probably going to report him to the authorities for this ;-)
 
@AlanMunn wrong,wrong wrong :D I need to get used to this international USA ke(z)yboard. its much easier for writing code
 
"User's heart rate isn't going up enough when he's looking at me any more; I'll need to find some excuse to have him arrested and migrate to a more responsive host."
 
@Rico I'm sure it is. Your typo brought back memories of 3 summers in Berlin using a German keyboard layout.
 
@AlanMunn its pretty odd using the german keyboard. especially if you know why they invented the QWERTY keyboard. There is a layout called NEO2 which is designed to write german texts faster but there are absolutely no affordable keyboards available with this layout
 
5:09 PM
I use a german keyboard :D
 
@DominicMichaelis I use it every day but I'm tired of breaking my fingers every time I need to type a curly bracket
 
I am TeXing a lecture live with my german keyboard :D
 
@Rico Well the popular notion was that QWERTY was designed to slow people down but I don't think that's true.
 
@StephanLehmke I have an XBox360 an I can write a list of bad decisions from the gaming division of Microsoft. :)
 
@DominicMichaelis I recommend to buy keyboards with any layout whatsoever, as long as its US international. :)
 
5:12 PM
@AlanMunn considering the fact of breaking your typewriter while writing to fast its seem legit.
 
@AlanMunn :-)
 
@egreg the US international layout within windows has dead keys which is annoying.
 
@AlanMunn Tell me you have an ABNT2 keyboard buried somewhere in your house. :)
 
@PauloCereda This won't matter with the XBox One because it'll be controlling you, not the other way round.
 
Speaking of ABNT2, blame one of its creators: @Brent! :)
 
5:13 PM
@Rico Dead keys are the best. Trust me.
 
@Rico But I think that the intention was to separate common letter pairs to reduce mechanical clashes and therefore speed up typing.
 
@StephanLehmke So true. :) Kinect looks like Hal. :)
 
@egreg mh not sure every time I fix the format of a question and need to type `` I hate dead keys >)
 
@Rico I used to type faster with my dead key US keyboard than I currently type with my "native" ABNT2. :)
 
@egreg Hear hear. Provided they're done properly, Ie <accent><accent> -> <accent>, <accent><space> -> <accent><space>
 
5:14 PM
@PauloCereda If I do, it was buried by the previous owner of my house. :) (Another Paulo-induced Google moment.)
 
@AlanMunn OMG
 
@PauloCereda A true work of art
 
Indian keyboard burial ground FTW
 
@PauloCereda ABNT2 is a brazilian layout i guess
 
@PauloCereda It's actually looking at everyone in the room all the time, trying to find out whether you're watching the commercials or looking away. Probably your game scores will go down if you don't pay attention to commercials ;-)
 
5:16 PM
@Rico Yep. :) And version 2! :)
@StephanLehmke LOL
 
if there would be an affordable version of NEO2 I would buy one of those
 
@PauloCereda Didn't Stephen King write a thing called 'Keyboard Sernatary'?
 
@Brent.Longborough Did he? :)
 
@Brent.Longborough If I ever need an accent by itself I do <accent><space>: ¨ for instance. It's just a convention. But I'm talking Mac OS X, of course.
 
@StephanLehmke: the lab next door to mine was responsible for the technical specs for the Brazilian DTV set top box. There was a rumor on a request for the box having cameras to detect eye moviment during commercials and also for generating a 3D mapping of the living room, so advertisements could focus on things "you don't own yet". :)
 
5:21 PM
@PauloCereda wow that sounds creepy
 
@Rico It is, unfortunately. Money-driven research. :(
 
5:36 PM
is there any possibility to add a number to a chemical formula?
 
5:50 PM
heres another one: why does a warning occur while using ä / \"a in mathmode?
I mean using \ddot{a} isn't really an option
 
6:03 PM
@Rico Are you really sure you want to name a variable as "ä"?
If it is text, use \text
 
@egreg im using \ce and every acid contains an ä in german :)
 
@Rico Example, please.
 
\ce{Glucose-6-phosphat + NADP+ ->[\acs{g6p}] Gluconsäure-6-phosphat + NADPH + H+}
0
Q: What is your favorite LaTeX song?

juliohmMine so far is Gummisång Lyrics in English, anyone?

what the heck?
 
@Rico What package?
 
@egreg \usepackage[version=3]{mhchem}
 
6:11 PM
I know that package :D
 
@Rico \ce{\text{Glucose-6-phosphat} + NADP+ -> \text{Gluconsäure-6-phosphat} + NADPH + H+}
Requires amsmath (or at least amstext).
 
@egreg wouldn't it be easier to use it like this: Glucose-6-phosphat \ce{NADP+ ->[ ]} and so on
just for me to learn how to do it right
 
@kan I don't know at all.
 
0
Q: What is your favorite LaTeX song?

juliohmMine so far is Gummisång Lyrics in English, anyone?

wat
 
@PauloCereda look up 9 messages ;)
 
6:22 PM
@Rico My mouse is too far away. :)
I'm stupid today. :) /don't star this
9
 
@PauloCereda don't you have the keyboard shortcut script ;)
 
Hey! Who starred that?!
 
@PauloCereda don't know 0:)
 
We should post our chatroom songs in there.
 
@PauloCereda You should know that if you really need something getting starred you need to write DON'T STAR THAT
 
6:25 PM
@DominicMichaelis haha
 
@PauloCereda there isn't a chatroomsong, is there?
 
@Rico We have a lot of LaTeX songs.
 
@PauloCereda and I thought you guys were serious...
 
@Rico We take procrastination seriously.
 
@PauloCereda @egreg told me about that ;)
 
6:27 PM
@paulo give me some
 
@DominicMichaelis For starters:
 
I don't see the connection to LaTeX (I so bet that you gonna say "Wait till it is over")
 
@DominicMichaelis Procrastination has to do with nothing and with everything at the same time, young grasshopper.
 
@PauloCereda reminds me of this:
 
@Rico LOL
 
6:31 PM
 
its getting worse and worse...
 
@Rico let's see what comes next
 
@dıʞsdoʇ Yes, YES, YEEEES!
"Shut up, woman! Get on my horse."
 
I think youtube is the only finite set which doesn't have a lower bound
 
im sorry but i had to
 
6:34 PM
131.352.306 views
 
@dıʞsdoʇ Got any grapes? :)
 
@dıʞsdoʇ nice didn't know this one
 
@Rico it was linked from your video (which I liked :))
 
@dıʞsdoʇ which one?
 
(I expect lol limewire in here soon)
 
6:40 PM
@Rico Nyan Cat
@PauloCereda WHAT IS THAT?
 
@dıʞsdoʇ It's from a show named LazyTown. :P
 
Listen to the end! :))
(I stop now)
 
@dıʞsdoʇ LOL
OK, more TeX-related:
Mailbox, mailbox! MAILBOX!
 
@dıʞsdoʇ not sure if i survive it till the end
 
@Rico don't ff!
 
6:48 PM
@dıʞsdoʇ ff?
 
fast forward - remember the cassette tape players? :)
 
@dıʞsdoʇ oh mh but um!! aaaaaahhh!!!
@dıʞsdoʇ do you know that its really hard to @-tag you with your difficult name :(
 
@Rico press @d and then tab :)
 
@dıʞsdoʇ oh...
 
@egreg @Rico mhchem already loads amsmath :)
 
6:51 PM
duck and cover
@cgnieder sure but why am I not able to use ä in math mode?
 
May 5 at 12:52, by dıʞsdoʇ
@NicolaTalbot Turning the name upside down is like unplugging the phone
 
@dıʞsdoʇ I was wondering if there is any possibility of publishing articles about LaTeX in german. Every page is went to is written in english not that this is a problem for me i was just wondering
 
@Rico I'd like to start an open LaTeX blog in German
 
@dıʞsdoʇ who about using mine? I "had" to clean my page so its currently a virgin... :)
 
@Rico ?
(afk)
 
6:57 PM
@Rico LaTeX Warning: Command \" invalid in math mode on input line ...
 
@cgnieder exactly what i get
 
@Rico Is this for Cäsium? Then you could switch from mhchem to my chemmacros which uses text mode. \ch{Cä} would work nicely.
It would also allow this input: \ch{"Glucose-6-phosphat" + NADP+ ->[\acs{g6p}] "Gluconsäure-6-phosphat" + NADPH + H+}
@dıʞsdoʇ Nice idea! If you're going through with this I's like to participate
 
@cgnieder well this is interessting, i have this:
looking at the first line Glucose 6 phosphat is displayed properly in the second line i get subscript 6
\ch{D-Glucose + ATP ->[Hexokinase]Glucose-6-phosphat + ADP}\\
	\ch{Glucose-6-phosphat + NADP+ ->[\acs{g6p}] Gluconsäure-6-phosphat + NADPH + H+}
deleting the whitespace between ] and G writing it this way ]Gluconsäure I get it right but the first one is still displayed wrong
 
@Rico This was asked a short while ago: tex.stackexchange.com/questions/113684/…
 
@Rico In either mhchem and chemmacros a white space indicates that a compound is beginning and that means that numbers are typeset as subscript. See
4
A: Typesetting transition metal cluster in mhchem?

cgniederThis is a good question! mhchem's manual doesn't mention escaping from its formula parsing which not only sets the 2 as subscript but also transforms the dash (-) into a single bond. It does mention one way implicitly: using $...$. Thus the usual way to prevent mhchem's parsing is indeed to swit...

for an example how to escape this in mhchem.
@Rico With mhchem you would do
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{chemmacros}

\usepackage{acro}
\DeclareAcronym{g6p}
  {
    short = foo ,
    long  = foo bar
  }

\begin{document}

\ch{"\iupac{\D-Glucose}" + ATP ->[Hexokinase] "Glucose-6-phosphat" + ADP}

\ch{"Glucose-6-phosphat" + NADP+ ->[\acs{g6p}] "Gluconsäure-6-phosphat" + NADPH + H+}

\end{document}
 
7:09 PM
@cgnieder very nice its just that one line in my whole protocol not sure if I want to do it super correct ;)
 
20 hours and some minutes later, I've finally finished the latest batch of chat room videos.
 
oh know my \enquote shortcut of texstudio does not work very well with the us keyboard :'(
 
Hi all, could someone help me with the question which I posted here tex.stackexchange.com/q/115679/23594
 
@Ahmad You probably should construct a minimal working example
 
sure.
 
7:28 PM
@cgnieder I was thinking about some wordpress alike site where we can have multiple authors around 'LaTeX and friends'
 
@lockstep update: 250 to go! After all it seems likely we'll have a party soon!
 
I am not too happy having our TeX articles locked away in a PDF magazine which is only for a few people
too bad that texblog.de is taken... I have to find another name
 
@dıʞsdoʇ Wordpress is quite easy to handle and also allows multiple authors. Also it is quite LaTeX friendly with the QuickLaTeX plugin (holoborodko.com/pavel/quicklatex). I use it on my own blog frequently
 
@egreg ooh! :)
 
@dıʞsdoʇ as i said we could use mine just to try it I set it up today the url would be icancode.de which is not really the best but why not trying it with this
 
7:36 PM
At the Fedora 19 Beta Go/No-Go Meeting that just occurred, it was
agreed to Go with the Fedora 19 Beta by Fedora QA, FPL, FPGM and
development.

Fedora 19 Beta will be publicly available on Tuesday, May 28, 2013.
 
@Rico good idea, we can then later perhaps find a more LaTeXish name
 
@PauloCereda The radio has the first piano concerto by Franz Xaver Mozart. He was a pupil of Salieri and Hummel (who had been his father's pupil). The music is not at the level of his father's or Beethoven's, but the concerto is nice, particularly in the final rondo. You'd like to play it.
 
@egreg How nice, I'll hear it.
 
@Rico are you using a CMS? Or are you programming it yourself?
 
7:58 PM
@dıʞsdoʇ im not sure but it should be possible to trade this url for another or so
@cgnieder its currently wordpress hosted with free webspace I wasn't able to configure the root server yet
 
@Rico If this doesn't work, I would pay for a domain. .de are not that expensive
 
@dıʞsdoʇ ok, so i could use the name to do more videos on youtube
this is what it looks right now, DNS is not ready yet tomorrow it should be reachable by icancode.de
 
Could someone look why there is thatmuch space here
\documentclass{standalone}
\usepackage{amsmath}
\begin{document}
taken$\mod 2$
\end{document}
 
> \mod=\long macro:
#1->\allowbreak \if@display \mkern 18mu \else \mkern 12mu\fi {\operator@font mo
d}\,\,#1.
l.4 \show\mod
@DominicMichaelis Most of the definition of \mod is space commands
 
quick question on double-quotes:
been googling in circles for 10min
can't find a page I had just days ago
 
8:11 PM
@dıʞsdoʇ @cgnieder i can create an account for you two if you want
 
@Rico my mail is patrick@gundla.ch
 
how do I get in Linux
the proper apostrophe symbols with Alt Gr ?
 
@dıʞsdoʇ what username would you like to have? perhaps we should create a new channel to plan this properly
 
@nuttyaboutnatty can't you just use ' ?
 
@Rico I am getting tired now and thus less concentrated - can you send me an email or we talk tomorrow?
 
8:14 PM
found it
 
@dıʞsdoʇ sure did not mean we should do it today :)
 
alt gr v b n etc
 
9:08 PM
anybody can compare Amarok player and foobar2k player by any chance?
 
@percusse for windows?
 
yes sorry
 
@percusse tried clementine?
 
@Rico I think I had some time ago. I'm a big fan of foobar but you know there is no loyalty in software :)
if something beats it hail to the new king
 
@percusse hehe. mh I had helium which was to complicated amarok caused some problems on my unix system so I don't use it with windows :)
 
9:12 PM
@Rico Somehow linux stuff don't play nice when ported to windoze. Can't blame them though.
 
@percusse wise words
 
Any Mtn Lion folk having problems with Preview hanging? It seems to hang a lot when I try to open a document using texdoc either from the command line or from within TeXShop, although since I do that a lot it could be unrelated; it's never hung on me when opening from the Finder, I don't think.
 
Trying to avoid posting a really embarrassing question: What is wrong with this syntax of \pgfmathparse:
\newcommand{\Parallelogram}[3][]{\mathbin{\tikz [x=1.4ex,y=1.4ex,line width=.2ex] \draw [#1] (0,0) -- (#2,0) -- (#2,{\pgfmathparse{#2+cos(#3)}\pgfmathresult}) -- (0,{\pgfmathparse{#2+cos(#3)}\pgfmathresult}) -- cycle;}}%
 
@PeterGrill I think it should look more like \begin{picture}(10,10)\put(0,0){\line....
 
@AlanMunn I don't have Mtn Lion, but one (I forgot if it was TeXworks or TeXShop) used to hang if the document window was the exact size of the output. If I first zoomed out (so that the output would not fill the window) then things were ok.
@DavidCarlisle I actually thought about using picture mode, but decide that that could be way too embarrassing if I ran into trouble. :-)
 
9:23 PM
@PeterGrill I know nothing but (#2,{\pgfmathparse{#2+cos(#3)}\pgfmathresult}) looks very odd isn't the bit after the , the y coordinate can you really have a {} group and some calculations there?
 
@PeterGrill You need to take the computation outside and inside \pgfextra{}
 
@DavidCarlisle I initally did not have the {}, but recall that sometimes there is some issue with parsing in \tikz where an additional {} is required.
 
or let \n1=...
 
@percusse: Oh yeah, I have seen pgfextra but never used it.. Thanks will look into it..
 
@PeterGrill yes but you can't use a {} instead of a number, try \setcounter{foo}{{2}}
 
9:26 PM
@AlanMunn I rarely use it, but it never hanged.
 
@percusse: Ahaaaa, the document says "should only be used by real experts" about pgfextra and hence I have always ignored it... :-)
 
@PeterGrill thks fro feexink my spelin
 
@DavidCarlisle Somebody had to do it.. :-) Figuring out what 'atomp` was not easy,
 
@PeterGrill This seems to work, but I don't know what it's supposed to do.
\documentclass{article}
\usepackage{tikz}
\newcommand{\Parallelogram}[3][]{
  \mathbin{
    \tikz [x=1.4ex,y=1.4ex,line width=.2ex]
      \pgfmathsetmacro\grillA{#2+cos(#3)}
      \draw [#1] (0,0) -- (#2,0) --
                 (#2,\grillA) --
                 (0,\grillA) -- cycle;
  }
}
\begin{document}
$a\Parallelogram{3}{240}b$
\end{document}
 
I will give you an example as soon as I can figure out the spelling of parallelllelellelelelelele,,,,
\newcommand{\Parallelogram}[3][]{%
\draw[{#1}] (0,0) -- (#2,0) \pgfextra{\pgfmathparse{#2+cos(#3)}} -- (#2,\pgfmathresult) \pgfextra{\pgfmathparse{#2+cos(#3)}} -- (0,\pgfmathresult) -- cycle;
}%
\begin{tikzpicture}
\Parallelogram[fill=red]{1}{45}
\end{tikzpicture}
 
9:34 PM
@egreg Yeah, that is probably easier than pgfextra.
@percusse When I change this to \tikz draw... I get:
Package PGF Math Error: Unknown function `r' (in 'r+cos(e)')
 
@egreg What do you use for a PDF viewer generally? Adobe Reader?
 
@percusse Is the \pgfmathsetmacro not recommended?
 
@egreg Not at all. It's quite nice I was focused on the spelling of the parallel instead of the functionality :)
 
@AlanMunn AR only if I have to do a presentation. Otherwise Skim (skim-app.sourceforge.net), the best ever.
@AlanMunn AR only because it does transitions (sometimes I use them)
 
@egreg I see. I remember looking a Skim a long time ago and not liking it, but I suspect it's changed a lot. But you don't use TeXshop, right, so you need a good previewer independent of your editor.
 
9:37 PM
Skim interfaces easily with SyncTeX and all editors.
 
@PeterGrill Sorry I've fixed it later to include the optional argument.
 
@egreg, @percusse: Thanks, I should be able to take it from here.. Now I just have to figure out my math: It was not supposed to be a rectangle!!!
 
@PeterGrill Make the second corner ++(#2,\pgfmathresult) and then ++(-#2,0) before cycle.
 
9:51 PM
@AlanMunn No problems so far.
 
Why do we have tag htlatex and also tex4ht? confusing. Why not merge them all to one tag?
 
@Nasser is more generic than
 
- XBox, compile TeX document
        [nothing happens]
- XBox, compile TeX document
        [nothing happens]
- Dude, compile the goddamn document!
        [nothing happens]
- MICROSOFT, I WANT MA MONEY BACK!
 
03:00 - 22:0022:00 - 00:00

« first day (935 days earlier)      last day (3997 days later) »