Wikisophia:Sandbox

From Wikisophia

Jump to: navigation, search

Sandbox for experimentation and ex tempore.

<math>\mathfrak qwerty</math>

Contents

[edit] Elvish

[edit] Dot

[edit] Plot

[edit] Interlocking Tori

[edit] Kuen's Surface

[edit] Julia Set

[edit] Klein Bottle

[edit] Trigonometric Surface

[edit] Fëanorian Tengwar

[edit] Music

[edit] Debugging the example from the wikitex page

There is something badly wrong with this example, taken from the wikitex page. I've started fixing it (see the first bar in the treble clef for example) but the problem seems to be major note collision badly handled.

That's intentional, actually: we're dealing with five-part counterpoint, and the odd stem-placement gives the illusion of voice separation. Danenberg 10:45, 10 July 2007 (CDT)
[Listen]

[edit] Tenor part from third Agnus Dei of Josquin's Missa Ave Maris Stella.

[Listen]

[edit] An experiment in Eastern music

[Listen]

[edit] etc

Rudolph the Red-Nosed Reindeer

Second Minuet to the C minor French Suite (BWV 813a)

Let's try something a bit longer in the music department.

A short excerpt:

[Listen]

What about transposing?

[Listen]


Test

[Listen]

Alright, lemme see.

[Listen]

"With your feet in the air and your head on the ground..."

« j'ai du bon tabac » (french song in 3/4 should be in 2/4 but want to try partial mesure)

[Listen]

[Listen]

gr33tz from DocSnyder to GS and CL

[Listen]

[Listen]

[Listen]

Pop music?

[Listen]

Why do the chords mess-up?

[edit] Chess

FIXME: fails to produce long board

& White resign... 0-1

  • Excellent!! This is already useful to show games and openings! Promotions and uderpromotions works too, cool! But how to setup chess problem now? No FEN notations?! :( This are great news anyway! Thank you Maestro Danenberg!! --Igor 09:08, 19 Apr 2005 (CDT)
    • Try the \fenboard command, Igor, for FEN notation:
Danenberg 18:44, 19 Apr 2005 (CDT)

[edit] newchess

FIXME: large board fails on font creation

[edit] Chemistry

[edit] Greek

Ibycus' Fragm. 5, Page

Alphabet

[edit] IPA

topo <ipa>["tO.po] </ipa>
sputo <ipa>["spu.to] </ipa>
cavolo <ipa>["ca.vo.lo] </ipa> <ipa> [T, D, \textteshlig, \textdyoghlig, \*r, I, \ae, @, U] </ipa> It's important to fix this odd behaviour regarding '[' and ']'.

Agreed; we'll likely switch to a new renderer in the upcoming version, dvipng, which lacks that tendency to crop the edges. I'd like to have a trial before solstice. Danenberg 08:17, 13 Dec 2004 (CST)
dvipng shows a noticable improvement; though the left bracket, I believe, is softer than the right. Danenberg 23:09, 30 Jan 2005 (CST)

<ipa>@"bAUt </ipa>

[edit] feynman diagrams

[edit] Graph

WikiTeX failure:
5, <Fault 1: "<class 'modtex.execution.ExecutionError'>:(70, 'Error: graphviz.dot:6: syntax error near line 6
context: graph >>>  ER <<< 
')">

[edit] Graph: Prostate Cancer

[edit] Math

Here is some inline text with small symbols like and bigger symbols like . Apparently, we can even mix symbolic math and text, as in , the original name of Pyarie. The strange thing is that sometimes, the math causes linebreaks like those shown.

Because of the MediaWiki coupling with Texvc, we often have to use the <amsmath> tag, making become . Although that's not necessary here as <amsmath> works.

I might even bring that up with MediaWiki, John; a quick fix is to remove the space after the math tag [fixed; see below]. Danenberg 17:57, 28 Feb 2005 (CST)
P.S.  Hmm; although you can replicate the behaviour with, say, <greek>p</greek>; I have yet to have success on Wikipedia itself.  Controversy. Danenberg 18:15, 28 Feb 2005 (CST)
Should be fixed now in 1.0.4. Danenberg 01:26, 16 Jun 2005 (CDT)
Here's a beautiful formula by Ramanujan:


Who can write the proof here?
Testing my formula:
testing... . WikiTeX failure:

5, <Fault 1: '<class 'modtex.execution.ExecutionError'>:(70, "This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
entering extended mode
(./math.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/teTeX/share/texmf-dist/tex/latex/stmaryrd/stmaryrd.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
No file math.aux.
(/usr/local/teTeX/share/texmf-dist/tex/latex/stmaryrd/ustmry.fd)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
./math.tex:8: Missing \\endgroup inserted.
<inserted text> 
                \\endgroup 
l.8 \\begin{displaymath}\\begin{eqnarray*}
                                        x & = & y \\\\y & = & z\\end{eqnarray*}...
No pages of output.
Transcript written on math.log.
")'>

Another test

[edit] Music

[Listen]

[edit] Music 1

[Listen]

[edit] Go

[edit] Music 1

[Listen]

[edit] Music 2

[Listen]


[edit] Music 3

A short round.

[Listen]

[Listen]

[edit] Tablature test

[Listen]

The MIDI link doesn't play anything, however... --Phil 06:19, 24 May 2005 (CDT)


[edit] Sandboxing

Messiaen's mode 21 [Listen]


Use \relative. [Listen]


Messiaen's mode 22 is really cool [Listen]


Messiaen's mode 23 is really cool... isn't it? [Listen]

OK I'm just testing interaction between text and music. Edoardo

Ode to joy [Listen]

ehehe --Helios89 13:47, 1 Jan 2006 (CST)

[edit] SVG

What's wrong with this SVG?
Why it is compiled with latex and not with convert (ImageMagick) ?

<svg> <g> <path i:knockout="On" fill="#FFFFFF" stroke="#FF0000" d=" M0.487,79.041C10.493,36.044,118.352,2.814,153.582,0.726 c74.74-4.432,130.319,57.104,98.817,128.802c-29.475,67.081-86.583,91.006-96.181,170.465 c-9.872,81.722-10.424,98.725,45.607,150.162c71.812,65.922,142.583,101.204,242.317,89.09 c92.768-11.259,255.825-186.75,125.809-250.673c-83.41-41.009-140.565,29.118-212.942,51.331"/> </g> </svg>

[edit] Klien Bottle

[edit] Macro

Is there any way to define a macro for use in a graph in wikitex?

WikiTeX failure:
5, <Fault 1: "<class 'modtex.execution.ExecutionError'>:(70, 'Error: graphviz.dot:6: syntax error near line 6
context:  >>> \\ <<< def\\MacroTest{a->e->f;}
')">


[edit] Plot

[edit] Plots with Data

Attempting to plot actual data values is futile. Surrender now before you wast brain sweat trying to figure out how. Here's why.

Danenberg 17:42, 17 February 2006 (CST): Added data in 1.1beta1; upload a file and reference it so:
<plot data="upload.dat">plot "upload.dat" on 1:2;</plot>

[edit] Armor

[edit] Testing

Será que funciona acentuação? WikiTeX failure:
5, <Fault 1: '<class 'modtex.execution.ExecutionError'>:(70, "This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
entering extended mode
(./math.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsmath.sty
For additional information on amsmath, use the `?' option.
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amstext.sty
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsgen.sty))
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsbsy.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsmath/amsopn.sty))
(/usr/local/teTeX/share/texmf-dist/tex/latex/stmaryrd/stmaryrd.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/amssymb.sty
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/amsfonts.sty))
No file math.aux.
(/usr/local/teTeX/share/texmf-dist/tex/latex/stmaryrd/ustmry.fd)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/umsa.fd)
(/usr/local/teTeX/share/texmf-dist/tex/latex/amsfonts/umsb.fd)
./math.tex:9: Missing $ inserted.
<inserted text> 
                $
l.9 
    
No pages of output.
Transcript written on math.log.
")'>

Image:Http://www.terra.com.br/istoe/istoe sp/esportes/fotos/consumo ciclismo 02.jpg Image:Example.jpg [Image:http://www.terra.com.br/istoe/istoe_sp/esportes/fotos/consumo_ciclismo_02.jpg]


Será que funciona acentuação?

Egg Sample:

Dsdhall 12:46, 27 June 2006 (CDT) Don't hotlink to other sites without permission - thanks

[edit] Test Bottle

[edit] Test Schema Diagram

WikiTeX failure:
5, <Fault 1: "<class 'modtex.execution.ExecutionError'>:(70, 'Error: graphviz.dot:6: syntax error near line 6
context:  >>> digraph <<<  schemaExample
')">

[edit] Test Schema Diagram II

WikiTeX failure:
5, <Fault 1: "<class 'modtex.execution.ExecutionError'>:(70, 'Error: graphviz.dot:6: syntax error near line 6
context:  >>> digraph <<<  schemaExample
Warning: node node00, port p unrecognized
Warning: node node00, port p unrecognized
Warning: node node00, port p unrecognized
Warning: node node00, port p unrecognized
Warning: node node00, port p unrecognized
Warning: node node15, port p unrecognized
Warning: node node15, port p unrecognized
Warning: node node15, port p unrecognized
Warning: node node15, port p unrecognized
Warning: node node15, port p unrecognized
Warning: node node15, port p unrecognized
Warning: node node24, port p unrecognized
Warning: node node24, port p unrecognized
Warning: node node25, port p unrecognized
Warning: node node25, port p unrecognized
Warning: node node26, port p unrecognized
Warning: node node26, port p unrecognized
')">

[edit] latex test

[Listen]

More Music

[edit] More Feynman diagrams

WikiTeX failure:
5, <Fault 1: "<class 'modtex.execution.ExecutionError'>:(70, 'This is pdfeTeXk, Version 3.141592-1.21a-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
entering extended mode
(./feyn.tex
LaTeX2e <2003/12/01>
Babel <v3.8d> and hyphenation patterns for american, french, german, ngerman, b
ahasa, basque, bulgarian, catalan, croatian, czech, danish, dutch, esperanto, e
stonian, finnish, greek, icelandic, irish, italian, latin, magyar, norsk, polis
h, portuges, romanian, russian, serbian, slovak, slovene, spanish, swedish, tur
kish, ukrainian, nohyphenation, loaded.
(/usr/local/teTeX/share/texmf-dist/tex/latex/base/article.cls
Document Class: article 2004/02/16 v1.4f Standard LaTeX document class
(/usr/local/teTeX/share/texmf-dist/tex/latex/base/size12.clo))
(/usr/local/teTeX/share/texmf-local/tex/feynmf/feynmp.sty
(/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/graphics.sty
(/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/trig.sty)
(/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/graphics.cfg)
(/usr/local/teTeX/share/texmf-dist/tex/latex/graphics/dvips.def)))
No file feyn.aux.
feynmp: File feyn-mp.1 not found:
feynmp: Process feyn-mp.mp with MetaPost and then reprocess this file.
feynmp: File feyn-mp.2 not found:
feynmp: Process feyn-mp.mp with MetaPost and then reprocess this file.
feynmp: File feyn-mp.3 not found:
feynmp: Process feyn-mp.mp with MetaPost and then reprocess this file.
feynmp: File feyn-mp.4 not found:
feynmp: Process feyn-mp.mp with MetaPost and then reprocess this file.
feynmf: Label file feyn-mp.t4 not found:
feynmf: Process feyn-mp.mp with MetaPost and then reprocess this file.
feynmp: File feyn-mp.5 not found:
feynmp: Process feyn-mp.mp with MetaPost and then reprocess this file.
feynmf: Label file feyn-mp.t5 not found:
feynmf: Process feyn-mp.mp with MetaPost and then reprocess this file.

./feyn.tex:48: LaTeX Error: Bad math environment delimiter.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.48 \\]
       
No pages of output.
Transcript written on feyn.log.
')">

[edit] Equations with numbers



but now (\ref{eq:4}) and eq (\ref{eq:1}).

[edit] music test

[edit] repetition

[Listen]

[edit] tuplet

[Listen]

[edit] simple plot test

[edit] dummy song

WikiTeX failure:
5, <Fault 1: '<class 'modtex.execution.ExecutionError'>:(70, 'Processing `music.ly\'
Parsing...
music.ly:14:0: error: syntax error, unexpected \'/\'

/relative c\'
music.ly:12:2: error: errors found, ignoring music expression
  
  {
error: failed files: "music.ly"
')'>

[edit] Russian test

WikiTeX failure:
5, <Fault 1: "<type 'exceptions.UnicodeEncodeError'>:'ascii' codec can't encode characters in position 253-259: ordinal not in range(128)">

Well... no Russian letters in equations, too bad!

[edit] Edit

I have problem with editing pages. It doesn't show changes... Old MediaWiki version problem? --Igor 19:05, 7 July 2007 (CDT)

[Listen]

[Listen]

[edit] Music Text(i can't invoke wikitex in wikiversity articles)

[Listen]

[edit] Music Test 2

WikiTeX failure:
5, <Fault 1: '<class 'modtex.execution.ExecutionError'>:(70, 'Processing `music.ly\'
Parsing...
music.ly:16:63: error: syntax error, unexpected \',\'
\t\tgis(b e)e,(gis b)b,(e gis)gis,(b e)e,(gis? b a1
                                                               ,)
music.ly:12:2: error: errors found, ignoring music expression
  
  {
error: failed files: "music.ly"
')'>

[edit] test


[edit] Test Music

WikiTeX failure:
5, <Fault 1: '<class 'modtex.execution.ExecutionError'>:(70, 'Processing `music.ly\'
Parsing...
music.ly:15:18: error: syntax error, unexpected STRING
\t\tc4
                  deccdecefg2\t}
music.ly:12:2: error: errors found, ignoring music expression
  
  {
error: failed files: "music.ly"
')'>

[edit] A Guitar Test Song

Guitar test song

WikiTeX failure:
5, <Fault 1: "<type 'exceptions.UnicodeEncodeError'>:'ascii' codec can't encode character u'\u2019' in position 283: ordinal not in range(128)">

Bach Air on G String

[Listen]


[edit] Ignition

to the National Youth Orchestra of Great Britain

[Listen]

Personal tools