67,698 reputation
5164381
bio website szhorvat.net/pelican/pages/…
location ND
age
visits member for 3 years, 2 months
seen 1 hour ago

contact details

Please do not write me with Q/A related questions. Post them on the site instead!

Visit Mathematica.SE


2h
comment Extra spaces when exporting strings into pdf (bug, linux)
There are a number of weird spacing and positioning issues when exporting mildly complex formulas to PDFs. Just like you, I wanted to use these formulas as labels or annotations in publication figures. My workaround now is to use LaTeX to create these labels, through a small package I wrote. You might find it useful too, until the bug gets fixed.
7h
awarded  Revival
12h
comment What's real analogue for FromDigits?
Click the StackExchange logo at the top of the page, and click chat. Or click here: Mathematica Chat. Unlike the main site, the chat is free, any topic goes.
17h
revised What's real analogue for FromDigits?
added 480 characters in body
18h
comment Is the letter “s” special in Mathematica?
Somewhat counterintuitively, variable names do affect the result of some symbolic operations. That's due to ordering that happens e.g. when c+b+a evaluates to a+b+c.
18h
revised What's real analogue for FromDigits?
added 11 characters in body
20h
comment Using SendMail with new Google Security Rules
Welcome to StackExchange and thank you for posting a useful answer. On StackExchange, users are encouraged to write self contained answers instead of simply giving links to the full description. While not always possible, it's best to include all details in the post. What if the site you are linking to disappears or simply changes its URL? While W|C unlikely to go away, they might easily change the URL structure which would make the link invalid and make this answer much harder to follow.
20h
answered What's real analogue for FromDigits?
20h
comment What's real analogue for FromDigits?
I believe the question is: How can we parse floating point numbers? This doesn't answer that.
23h
comment Mathpsfrag: failed setup at MathPSfragConfigurationTest (UnPSfrag) line (Windows 8)
@Hanmyo Do you have the opportunity to upgrade to Mathematica 10? It is true that MaTeX requires Mathematica 10. It uses the new process control functionality which would be just too much trouble to do with only Run (which is also available in 9). Version 10 is a pretty big upgrade, with many useful new features.
23h
revised SameTest issue?
added 2 characters in body
1d
comment Defining a function that resembles another function
What does "resembles" mean here?
1d
comment Font style in Mathematica and .tex file
@TMM I'm glad you find it useful. Feel free to email me if you have any comments or suggestions.
2d
revised Block assignments not quite sequential?
added 219 characters in body
2d
answered Block assignments not quite sequential?
2d
revised Why does the hash of a file differ from the hash of its content?
deleted 13 characters in body
2d
answered Why does the hash of a file differ from the hash of its content?
Mar
29
comment Function with variable arguments
See here and note that the lhs of := is really just a pattern and you can have "definitions" for as many patterns as you like. f[1]=2; f[a_,b_]=3; f[x_,y_,z_]:=x
Mar
29
comment Drag and Drop Support
Notebooks are not meant to be treated as programs. You might want to look into .m files to be used as scripts. This also applies to your question about auto-evaluating a notebook on open, which is not such a good idea. Notebooks are documents, not programs, and should not auto-evaluate. It's a serious security risk. You can write scripts instead, which are programs, and are opened/run with a different expectation.
Mar
29
comment How to package a function for export?
+1 for "quit the kernel and check it". Anyone looking to post a question should do this before posting. It's part of the process of creating a minimal example.