Tue, 05 Oct 2010
MathJax+Showdown
Tweet
Once I mentioned TiddlyWiki+MathJax for writing research notes containing mathematical expressions in HTML. Yesterday I invented a simpler solution using Showdown and MathJax.
- Showdown+MathJax example: 20101005-mathdown.html (An incomplete summary of “Quantum Measurement and Control” by Wiseman and Milburn)
Some remarks:
- Modify the script paths before you use it.
- Uncomment the
meta
tag for auto-refreshing, if you want. With this feature, changes you make on the file are reflected to the output on the browser almost in real time. Nevertheless, the auto-refreshing always show the top of the page (at least with Safari), which is annoying. - Showdown's syntax is the same as that of Markdown. There are some conflicts between the Markdown syntax and LaTeX commands, you need to know some workarounds.
- Single backslashes in the commands for opening/closing mathematical expressions (
\(
\)
\[
\]
) must be replaced by double backslashes since there is a backslash escape rule. - The
superscript command (subscript command (^
)_
) and the asterisk (*
) are interpreted as emphasis by Showdown. To avoid this issue, you can put a space in front of the character or escape them with backslashes.
- Single backslashes in the commands for opening/closing mathematical expressions (
Enjoy!
以前、数式を含むノートをHTMLを使って作る方法として「TiddlyWiki+MathJax+Dropboxで開ける明るい未来」を書きましたが、昨日ShowdownとMathJaxを使ったもっとシンプルな方法を考えました。上述の通り、サンプルのファイルを置いてあります。注意点をいくつか。
- 使う前にJavascriptのパスを修正してください。
meta
タグのコメントを外せば自動更新するようになります。これを設定するとほぼリアルタイムにファイルへの変更が出力に反映されて便利です。- ShowdownはMarkdownの記法に基づいて文書を整形するので、少しLaTeXコマンドと衝突します。以下のように回避できます。
- 数式の開始・終了のコマンド(
\(
\)
\[
\]
)の中のバックスラッシュを1つから2つにしてください。これはバックスラッシュによるエスケープルールのためです。 上つき文字(下つき文字(^
)_
)とアスタリスク(*
)は強調と解釈されるので、直前にスペースを入れるかバックスラッシュでエスケープしてください。
- 数式の開始・終了のコマンド(
これで勝つる!
| Comments on this entryFri, 24 Sep 2010
A note on interference between independent bosonic fields under U(1) superselection rule
Tweet
There has been a controversy concerning a question “why two independently prepared Bose-Einstein condensates interferes?” I once considered the problem, and after surveying many related works, doing some calculations myself, and giving a couple of talks about the topic, I feel the problem is now well understood. Still, this question keeps making people confused. I decided to post a note on the subject, which is a slightly modified version of a manuscript I wrote for QIT21. I also uploaded a presentation file I used in a seminar held in Ueda group. I hope these articles help you understanding the problem.
- A note on interference between independent bosonic fields under U(1) superselection rule (PDF, 168KB)
- Interference between independently prepared Bose particles (PDF, 1.8MB)
独立なBECの干渉に関するノートとプレゼンテーションファイルをアップロードしました。
参考:日々の雑感的なもの 11/12/2000(日) 11/13/2000(月) 11/14/2000(火) 11/15/2000(水) 11/20/2000(月) 2009/12/22(火)
| Comments on this entrySat, 10 Oct 2009
Long time no see
Tweet
I didn't post entries during last few weeks. As you might notice from my Twitter posts, I came back from Rome without troubles. It was great being in Rome! I want to say thank you to all people I met in Rome. I uploaded photos I took in Rome, though some of these are missing titles and descriptions. I hope you enjoy these photos!
As I twitted, I stopped updating my Tumblr and started using Delicious. My FriendFeed now feeds kwkbtr’s log (this blog), Twitter, Flickr and Delicious (and Last.fm). If you want to keep track of my activities with one feed, I recommend using it.
As I wrote on the homepage, I will present a poster “Interference between independent bosonic fields under U(1) superselection rule” at QIT 21 in Tokyo on 4 Nov 2009. If you have time, please check it out!
I realized that it is hard to start writing in the diary again after stopped for a while. But anyway I finished one entry! I hope I can establish my pace, not only of updating this web site but also of my everyday life.
As I am not a native English speaker, there might be some grammatical mistakes in my English writings. If you find them, please let me know. I appreciate any comment :-)
| Comments on this entrySun, 13 Sep 2009
Fri, 04 Sep 2009
Exploring some web services
Tweet
I set up my accounts for Facebook and FriendFeed (and Tumblr). Settings of the Facebook account were complicated and I was confused. I believe everything is alright now, though.
| Comments on this entry