« first day (1314 days earlier)      last day (3635 days later) » 

12:22 AM
Hi, how can I debug for this error in tikz:

Dimension too large.
<to be read again>
\relax
l.43 }

Im already using the `fp` package and `fixedpointarithmetic` as tikzlibrary and as key in `\tikzpicture`. I can't think of a way to determine whether my calculation is too hard or if it's something else...
Or, for the mathemagicians out there, a workaround would be to not use the series expansion but instead a closer apprximation to the omega function? :-)
 
@1010011010 can you not scale your function to keep values below \maxdimen ?
 
@DavidCarlisle Using \pgfsetmacro which allows no arguments as far as I know? Or do I just set the key locally when I use the result of that calculation ?
 
@1010011010 I have no idea if pgf has a key for it (I have no idea about pgf at all:-) , I just meant adjust your expression so that instead of plotting f(x) modify the formula for f so the values are say a factor of 1000 less, if that works, you can fix up the axis to reverse the scaling
 
\pgfmathsetmacro{\result}{\ik-(\ik^2)+(1.5*\ik^3)-(2.66666667*\ik^4)+(5.2083333‌​33*\ik^5)-(10.8*\ik^6)+(23.34305556*\ik^7)}
Funnily, this is fine: ` declare function={gamma(\z)=
2.506628274631*sqrt(1/\z)+0.20888568*(1/\z)^(1.5)+0.00870357*(1/\z)^(2.5)-(174.2106599*(1/\z)^(3.5))/25920-
(715.6423511*(1/\z)^(4.5))/1244160)*exp((-ln(1/\z)-1)*\z;},`
 
1:02 AM
Nope. Absolutely no way to make it work right now. Checking out.
 
 
1 hour later…
2:17 AM
@1010011010 Honestly, TeX is not the place you want to do a huge number of complicated calculations in, fp or not. Can't you precalculate the function values and store them in a file?
 
 
4 hours later…
6:29 AM
@cgnieder Thanks a lot.
@cgnieder The same users are fighting again over at TeXWelt. Amazing.
 
7:03 AM
@Johannes I know. Every time I promise myself not to say anything... but I couldn't resist. I never really understand what the problem is...
 
@cgnieder I don't know. I really don't.
 
@cgnieder Sometimes my posts can be read as if i am sitting at the keyboard, aggressively hacking something down. Same goes for Ulrike :)

But often i am just calm.
 
21
Q: Are there many journals that do not accept TeX?

Michael_KI have been told by our head of department, a veteran academic with a lot of publications behind his name, that I am not allowed to write my masters dissertation with TeX, as many journals do not accept TeX documents, and now I have to use Word. I can almost not believe that journals would prefe...

Sometimes I underestimate the bias of NonTeXnicians which says something about me too :)
@1010011010 You need fpu library for that.
 
 
1 hour later…
8:23 AM
Wow!
asked today
viewed 1108 times
 
@tohecz ?
 
@JosephWright it's never happened to me to have 1k question views in 9 hours. I should move to arquade
 
@tohecz Ah
11
Q: What is the probability of 4?

toheczI would like to know with what probability the number 4 appears in the grid of the game 2048. As well, is this probability the same at the beginning? I tried to find the original game's source code, but I did not succeed.

 
@JosephWright exactly :)
 
9:03 AM
Apparently I've voted for this for unclear but I guess it has decayed
1
Q: pgfplotstable: how to repeat row entries and combine it with external data

user37552I want to combine the table data (in a file A.txt) -0.13336 -0.13634 -0.13336 -0.11589 -0.136 0.76158 0.63087 0.76158 0.95729 0.63 0.9543 0.59712 0.9543 0.90589 0.59712 0.17172 0.13013 0.17172 0.18496 0.13013 4.9543 3.9543 2.9543 5.9543 1.9543 which some labels. The final result shoul...

And just voted for this one
0
Q: PGFPLOT Externalization not working

user48613I am trying to externalize PGF Plot to be saved as EPS file using latex and enabled shell-escape. \documentclass[a4paper]{article} \usepackage{lipsum} \usepackage{tikz} \usepackage{pgfplots} \usepgfplotslibrary{external} \tikzexternalize%[prefix=fig/] \tikzset{externa...

 
@StephanLehmke I am making complex animations of complex graphs. I'll be struggling to externalize it without awkward end results. :-)
@percusse Thanks again for your help on the LaTeX3 thing. You left in a hurry so I figured it'd be appropriate to give you some notion. :-)
 
@1010011010 My pleasure. Work calls again for example :)
I use it as a break at work to fiddle with TeX but it's very limited time-wise
 
You're allowed to install TeX at work . . . ?
 
@1010011010 Sshhh.... :)
 
9:20 AM
On another note... intersections with surf plots. What am I getting myself into? There's this tex.stackexchange.com/questions/52953/… and this tex.stackexchange.com/questions/73922/… but both are basically complicated and all I want is to intersect at one point. :-(
Just a matter of setting a variable height at a set point ? There's no way to actually intersect?
 
9:42 AM
@1010011010 Animations mean even more number crunching. Why is it more complicated to pre-calculate the function values for all parameterizations which are part of the animation? Sounds like a simple multidimensional array to me.
 
@StephanLehmke I have an on-the-fly solution that works for me. I've tried externalization (mostly with GNUplot) and I ran into so many new things that I had to read into that I just went with what I had at that moment. Next document will have your pre-calculated values, promise. :-)
 
10:02 AM
Oh I may know the issue now.... my calculations work so long as I keep the result of the calculations between 0 and 10. haha
Must be some truncation issue.
 
En route to SP. Half of the public transportation is on strike. Heavy traffic jam, 250km. Cold and with rain during the day. My flu is back. No TeX distro in my tablet. Oh joy.
3
 
10:21 AM
@PauloCereda but at least you have the world cup to look forward to:-)
 
@David: oh no, you reminded me that there is a friendly match today in SP, which will make the city even more troblesome. :)
Smartphone spelling fail strikes again.
 
11:29 AM
@DavidCarlisle What is the hidden feature that \@textcolor uses curly braces instead of \begingroup and \endgroup for making a group? The curly braces disturb math spacing, because they act as \mathord.
\def\@textcolor#1#2#3{\protect\leavevmode{\color#1{#2}#3}}
 
@HeikoOberdiek well it's supposed to be like \textrm
 
I am freezing to death, help!
 
@PauloCereda burn some vim manuals to keep warm
 
@David: is there a vim manual? :)
 
@HeikoOberdiek I think we had versions of \textxx in early 2e releases (or it may have been latex209-NFSS) that used \begingroup but I think users complained they couldn't do x^\mathrm{a} or something. (Probably textcolor should have used begingroup....)
 
12:13 PM
@DavidCarlisle x^\textcolor{red}{a} is not working because of \leavevmode already.
 
@HeikoOberdiek yes I know. I'm not sure if I can change color, could ask that xcolor changes, or do you think that incompatibility there would be worse. Not sure (I hate change, it always breaks something:-)
 
With \let\leavevmode=\relax it would be working, but the \aftergroup color whatsit would go after the superscript and a following subscript would be misplaced.
@DavidCarlisle It would break xspace: } and \endgroup are different for \xspace :-(
 
@PauloCereda FSmith the non-TeXBot: @DavidCarlisle 1 @egreg 0
 
@FionaSmith :-)
@HeikoOberdiek That's a rubbish package anyway, who wrote it?
@FionaSmith if you don't want to make the box an exact fraction of the page width, and you want to centre the result, change flushleft to center and add {} {} as many as you need, with spaces between to make empty cells to fill the last row. (to do it automatically you'd need a counter and to know how many entries you'd set in the list and then some arithmetic to know how many padding cells you need, but doing it manually is easier:-)
 
12:40 PM
@DavidCarlisle yeah, I could do that, but it rather ruins the "cut and paste long list of numbers into my document and automatically get a table". It looks fine with 12 columns and my numbers will never have more than 4 digits so I'm happy :)
 
@DavidCarlisle :-) I found a workaround for my answer (tex.stackexchange.com/a/183496/16967) by using \begingroup and \endgroup in math mode only.
 
12:53 PM
@FionaSmith well I could add teh counting code but if you are happy with the makebox[\textwidth/8] approach and flushleft, I won't bother:-)
 
1:05 PM
@DavidCarlisle if you're feeling bored I won't complain if you update your answer! I might have done it, but I don't think I'm up to the coding task myself. TeX is all still very mysterious to me... basically it doesn't look like Fortran!
 
1:35 PM
@FionaSmith vvv
\def\mylistwidth{4em}
\def\mylist#1 {\ifx!#1%
\penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth}
\penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth}
\penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth}
\penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth} \penalty0\hspace{\mylistwidth}
@FionaSmith or if you want something more like Fortran vvv
yesterday, by David Carlisle
@egreg Of course if you have brilliant documentation 30 arguments is still usable: http://www.nag.co.uk/numeric/FL/nagdoc_fl24/html/E04/e04ucf.html#routAspec
 
@DavidCarlisle The inputenc/cyrillic question seems weird
 
@Johannes_B yes can't say I've measured recently but I'm surprised if it's really noticeable (especially not in a real document that's doing graphics and indexes and stuff) Of course it affects Cyrillic more than (say) German as it's almost all the letters rather than just the accented ones, but still....
 
@DavidCarlisle My documents are running LuaLaTeX on my old machine. I could hit compile and go for a nice long walk.
 
2:18 PM
@DavidCarlisle eew not that kind of fortran ;-) Thanks for the fix - I suspect I'll stick with the one-liner though. It's just too neat to tamper with.
 
Hello all
 
2:56 PM
@DavidCarlisle I've TeX macros with up to 50 arguments here; do I qualify for something with that?
 
Hi.. any GNUplot experts here? OR mathematicians in general? I want to calculate a range of critical values by using either the incomplete beta function or the hypergeometric function (I'll just rewrite in expressions of x=<something something related to degrees of freedom>)... I feel really really damn stuck. :-(
In GNUplot I can't find anything relating to the implementation of ibeta?
 
3:24 PM
@StephanLehmke nah not #50 though, 10 nested macros with 5 arguments each doesn't count:-)
 
@DavidCarlisle Now I'm tempted to write some sort of preprocessor just for this :-)
 
3:52 PM
@PauloCereda I hope all went reasonably well. Get better soon! Here we're moving slowly towards summer. 30°C expected over whitsun holidays :-)
 
@JosephWright breaking luatex again ?
 
 
1 hour later…
5:25 PM
What did I miss? Spent the afternoon in a tour in the mountains.
 
5:53 PM
I'm far behind in voting. Just 11, up to new. I'll work harder tonight.
 
6:47 PM
@DavidCarlisle Yup
@DavidCarlisle Taco must hate us
 
7:10 PM
@StephanLehmke Thank you, I arrived safe and sound. :) Now I'm worried what will happen when I leave SP. :)
@JosephWright But we love you. :)
 
7:26 PM
@egreg: globoesporte.globo.com/futebol/times/palmeiras/noticia/2014/06/… Translation: Allianz Parque (Palmeiras' stadium) might host a match of Juve vs. Napoli! :)
 
7:36 PM
@egreg: Un gruppo di investitori, scrive sempre il portale tmw, sta lavorando per poter far disputare Napoli-Juventus in Brasile, nel nuovo stadio del Palmeiras che sarà pronto entro due-tre mesi. Il Palmeiras è una società italiana (fu fondata da immigranti italiani nell'agosto del 1914), quest'anno fa 100 anni di storia e alcuni intermediari stanno lavorando alla possibilità di far giocare la manifestazione nel nuovo impianto sportivo.
Yay!
 
@PauloCereda That would be a good occasion for coming to SP. ;-)
 
According to the documentation of nteorem, what would you expect by the following?

\documentclass{article}
\usepackage{amsmath}
\usepackage[
thmmarks,
amsmath
]{ntheorem}
\newtheorem{thm}{theorem}
%\qedsymbol{!!}
\begin{document}
\begin{thm}
bla% \qed
\end{thm}
\end{document}
 
7:59 PM
@egreg @DavidCarlisle @JosephWright Anybody got the time to have a look at this ^ ?
 
@Johannes_B well I just ran it
 
@DavidCarlisle Thanks.
 
@Johannes_B do I need to read the doc to see what you expect it to do?
 
@DavidCarlisle yes, if you have the time. section 2.6 Setting end marks
 
@Johannes_B Don't use ntheorem. It's that easy. ;-)
 
8:02 PM
@egreg Thanks, i don't. But another user is :-)
There are no theorems in my field, so i'm a bit lost.
 
@Johannes_B I can't understand what they say in the doc. :(
 
@egreg So i'm not alone?
 
@Johannes_B Look at thmtools, it should make things easier.
 
@egreg A quick CTAN search led me to thmtools as well. I'll have a look at it. Thnaks again.
@egreg But, the question remains. Is the documentation wrong (inaccurate) or just misleading?
 
@Johannes_B Wrong, inaccurate and misleading.
 
8:13 PM
@egreg Thank you, not only for making me laugh :-D
I also like the different levels of the thmtools documentation for the different users.
 
@Johannes_B Here it is:
\documentclass{article}
\usepackage{amsmath}
\usepackage[
  thmmarks,
  amsmath
]{ntheorem}
\usepackage{thmtools}

\declaretheoremstyle[
  qed=!!,
]{qed}
\declaretheorem[
  style=qed,
  title=Theorem,
]{thm}
\begin{document}
\begin{thm}
bla
\end{thm}
\end{document}
 
@egreg Thanks a lot. I owe you another beer. ;-)
 
@Johannes_B When I come to Germany, I'll be drunk all the time.
 
@egreg How bout a warm glass of milk instead?
 
@egreg Currently having to install MacTeX 2012 for some testing: teach me not to keep all the older versions available
Luckily I have the DVD for this version
 
8:23 PM
@Johannes_B Noooooooo, thanks.
@JosephWright On this machine I have 2012, 2013 and 2014. On another one I have the entire collection from 2007. And also gwTeX, on a backup disk.
 
@egreg let's have some cider instead
 
@egreg I remember
 
@tohecz /me coughing
 
@egreg Updating TL2012 to 'final' state now :-)
 
@JosephWright Where did you find a repository for TL 2012?
 
8:32 PM
18
Q: How to install a package from an older version of TeXLive?

suvayuI am using TeXLive 2010. I wanted to try xelatex for better unicode support. But I am unable to install these new packages as the TeXLive mirrors have moved on to 2011. tlmgr: package repository http://ftp.snt.utwente.nl/pub/software/tex/systems/texlive/tlnet /opt/texlive/bin/x86_64-linux/tlmgr:...

 
@JosephWright Oh, good!
 
@egreg Yup: well worth knowing
 
 
2 hours later…
10:51 PM
@JosephWright Should we have our "unanswered” session tomorrow?
 
11:45 PM
Yay, the day was less worse than I thought. :)
I am waiting for my bus, I will be home by 2AM (Saturday).
 

« first day (1314 days earlier)      last day (3635 days later) »