Difference between revisions of "Sandbox"

Line 1: Line 1:
 +
=== This and that ===
 +
 
Try the time zone setting, should be around 12:13:
 
Try the time zone setting, should be around 12:13:
  
Line 5: Line 7:
 
But why doesn't it write the log times in the same time zone???
 
But why doesn't it write the log times in the same time zone???
  
=== <math> \LaTeX</math> ===
+
=== LaTeX ===
  
 
Unfortunately this is only a temporary solution:
 
Unfortunately this is only a temporary solution:
Line 36: Line 38:
  
 
Link to DGM Wiki: [[DGM:Sandbox]]
 
Link to DGM Wiki: [[DGM:Sandbox]]
 +
 +
=== Code highlighting ===
 +
 +
==== LaTeX ====
 +
 +
<source lang="latex">
 +
\documentclass{article}
 +
\begin{document}
 +
\section{Introduction}
 +
This is the first paragraph.
 +
\end{document}
 +
</source>
 +
 +
==== C ====
 +
 +
<source lang="c">
 +
#include <stdio.h>
 +
int main(void) {
 +
  printf("Hello world!");
 +
  return(0);
 +
}
 +
</source>

Revision as of 13:22, 26 August 2009

This and that

Try the time zone setting, should be around 12:13:

12:13, 27 February 2009 (CET)

But why doesn't it write the log times in the same time zone???

LaTeX

Unfortunately this is only a temporary solution:

<math> \sqrt{a^2+b^2}</math> <math> \sqrt{a^2+b^3}</math>

Within the text <math> x</math>. Hmmmm. Good. Another equation:

<math> x_{1,2}=\frac{-b\pm\sqrt{b^2-4ac}}{2a}</math>

Hmmm.

Biblio extension

A citation somebook. Three citations webber2001 schwartz2005 somebook.

References

<biblio>

  1. schwartz2005 pmid=16100001

// see also stryer somebook for a smooth introduction

  1. webber2001 pmid=11751224
  2. somebook John Smith. The art of saying nothing. Verbose Editions 1999.
  3. stryer isbn=0-7167-4954-8

</biblio>

Should be ok now.

Testing email address as an image: .

Link to DGM Wiki: DGM:Sandbox

Code highlighting

LaTeX

<source lang="latex"> \documentclass{article} \begin{document} \section{Introduction} This is the first paragraph. \end{document} </source>

C

<source lang="c">

  1. include <stdio.h>

int main(void) {

 printf("Hello world!");
 return(0);

} </source>