Talk:Check Machin-like formulas: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎Aesthetics: Not my fault, squire!)
Line 2: Line 2:
==Aesthetics==
==Aesthetics==
The original equations without the math formatting have a lot going for them. What do you think? --[[User:Paddy3118|Paddy3118]] 21:08, 8 November 2012 (UTC)
The original equations without the math formatting have a lot going for them. What do you think? --[[User:Paddy3118|Paddy3118]] 21:08, 8 November 2012 (UTC)
:: The text format can be used for data input (as in the Python example) and the formatted fractions are a bit crowded (small line spacing).
: The text format can be used for data input (as in the Python example) and the formatted fractions are a bit crowded (small line spacing).
:: There are some odd text sizes now, the last identity [tan(-a)=-tan(a)] is in a smaller fontwith Firefox 16.0.2, anyone else see this?
: There are some odd text sizes now, the last identity [tan(-a)=-tan(a)] is in a smaller fontwith Firefox 16.0.2, anyone else see this?
:: If we can't improve the current layout I would prefer the original format. [[User:TobyK|TobyK]] 22:22, 8 November 2012 (UTC)
: If we can't improve the current layout I would prefer the original format. [[User:TobyK|TobyK]] 22:22, 8 November 2012 (UTC)
:: That's why I was careful to ''not'' use the fully stacked form; it forces the mediawiki <nowiki><math></nowiki> environment to switch from inline mode (converting to appropriate HTML) to display mode (pushing through LaTeX to make an image). With inline mode, it would have been reasonable to expect a cut-n-paste-into-parser approach to work; display mode makes that impossible (well, not without OCRing things first, which is another few orders of magnitude of complexity!) –[[User:Dkf|Donal Fellows]] 11:42, 9 November 2012 (UTC)


==OCaml: Very long line==
==OCaml: Very long line==

Revision as of 11:42, 9 November 2012

Aesthetics

The original equations without the math formatting have a lot going for them. What do you think? --Paddy3118 21:08, 8 November 2012 (UTC)

The text format can be used for data input (as in the Python example) and the formatted fractions are a bit crowded (small line spacing).
There are some odd text sizes now, the last identity [tan(-a)=-tan(a)] is in a smaller fontwith Firefox 16.0.2, anyone else see this?
If we can't improve the current layout I would prefer the original format. TobyK 22:22, 8 November 2012 (UTC)
That's why I was careful to not use the fully stacked form; it forces the mediawiki <math> environment to switch from inline mode (converting to appropriate HTML) to display mode (pushing through LaTeX to make an image). With inline mode, it would have been reasonable to expect a cut-n-paste-into-parser approach to work; display mode makes that impossible (well, not without OCRing things first, which is another few orders of magnitude of complexity!) –Donal Fellows 11:42, 9 November 2012 (UTC)

OCaml: Very long line

Could the OCaml be changed to indicate equality with one as a short true/false indicator rather than printing out the very long line? Thanks. --Paddy3118 21:24, 8 November 2012 (UTC)

OK, I have changed the Ocaml program so the output is shorter TobyK 22:07, 8 November 2012 (UTC)
(... And thanks for the task Toby. I enjoyed it :-)
--Paddy3118 06:05, 9 November 2012 (UTC)