query: tag:formula
Formulaを使って数式の画像を生成するときに、数式のサイズを指定する場合、以下のようにするとうまくいきます。 latex>> \mbox{\Huge $\displaystyle I_j=\int_\Omega f_j(\bar{x})\,d\mu(\bar{x}) $} <<-- 出力結果は以下の通り。
posted by genki genki on Fri 19 Feb 2010 at 20:37 with 0 comments
ちょっと前からGoogleDocsで数式が書けるようになりましたが、 これがGoogle Chart APIを使って実装されているようです。 しかもTeX記法。 以下のようなHTMLで、 html>> <<-- こんな数式を埋め込む事ができます。 ちなみに下は拙作の[Formula](http://formula.s21g.com)による数式。 **See Also** * [Formula](http://formula.s21g.com/)
posted by genki genki on Tue 29 Sep 2009 at 14:15 with 0 comments
11th Sat

a=a+1

It's just a demo of Formula :-)

[math]
a & = & a + 1 \
1 & = & 1 + \frac{1}{a} \
0 & = & \frac{1}{a} \
a & = & \pm\infty
[/math]

このブログではデフォルトでeqnarray*環境なので、こんな感じに書けます。

pre>>
[math]
a & = & a + 1 \
1 & = & 1 + \frac{1}{a} \
0 & = & \frac{1}{a} \
a & = & \pm\infty
[/\math]
<<--

posted by genki genki on Sat 11 Jul 2009 at 08:43 with 0 comments

Formula
は、数式を簡単にブログに貼付けて共有できるサービスです。
このたび、FormulaをRails-2.3.2に対応させました。

また、対応作業の過程で、Rails用のpaginationライブラリである、
pagination_scopeのバージョン0.1.2をリリースいたしました。

:groupオプションを含むnamed scopeのpaginationに対応いたしました。

posted by genki genki on Thu 2 Apr 2009 at 01:31 with 0 comments

Recently,
the Formula
had been slowing down.

The Formula is the service which provides a way to make images of mathematical expressions for embedding it into your blogs, BBSs and so on.

There was the problem in the manner of ranking the referred formulae.
So I solved the issue by choosing simpler algorithm.

Now it became faster.
Please try it again if you've given up once before for the slowness of the service.

Thank you for patience.
I will keep appreciating any kind of feedbacks.
Feel free to contact us.

posted by takiuchi takiuchi on Wed 24 Sep 2008 at 03:38 with 0 comments
[Formula](http://formula.s21g.com/) is the service for embedding and sharing images of mathematical expression on your blog easily. Recently, the service corresponded to embedding by BBCode. For example, following BBCode is generated to be embedded. pre>> [url=http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt][img]http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt.png[/img][/url] <<-- So that you can use it for bulletin boards which are capable to interpret BBCode such as phpBB.
posted by takiuchi takiuchi on Tue 9 Sep 2008 at 18:21 with 0 comments
[Formula](http://formula.s21g.com/)は、 簡単にブログなどに数式を貼り付けて共有するサービスです。 このたび、Formulaで生成した数式画像のBBCode形式での埋め込みに対応いたしました。例えば以下のようなBBCodeが出力されます。 pre>> [url=http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt][img]http://formula.s21g.com/?f(x)%3D%5Cint_0%5E%7Bx%7Dg(t)%5C,dt.png[/img][/url] <<-- phpBBなどのBBCodeに対応した掲示板などで、簡単に数式をお使いいただくことができます。
posted by genki genki on Tue 9 Sep 2008 at 18:10 with 0 comments

s21g blog
の次はFormula

今度はtridentを実行した結果、以下のようなWARNINGが出ました。

DEPRECATION WARNING: Inflector is deprecated! Use ActiveSupport::Inflector instead. See http://www.rubyonrails.org/deprecation for details. (called from formula/config/initializers/inflections.rb:5)

なるほど。とりあえず、いわれたとおりに修正してみます。
Globalの名前空間を掃除する方向なのかな。

とりあえず、それ以外は特に問題なく移行完了。

posted by genki genki on Sun 7 Sep 2008 at 02:20 with 0 comments

I made an Ubiquity command in order to enable us to get images of mathematical equations from anywhere at anytime.
It uses
the Formula
, which is the service for making images of mathematical formulae.

You can also get a preview of your input in real time, like this.

formula_u.png

INSTALL

The command is able to be installed from here.

NOTE1: You need
the Ubiquity
, an extension of the Firefox, to use ubiquity commands.

NOTE2: This command requires BASIC authentication via SSL at the first time in order to prevent SPAM posts.
When you get the dialog box of the authentication,
please enter your name and password which were used when you left a comment at the Formula.
It means that you must leave at least one comment to the Formula for being authorized.

posted by takiuchi takiuchi on Thu 4 Sep 2008 at 04:28 with 0 comments

Formula
を使って、Ubiquityから数式を投稿するUbiquityコマンドを作ってみました。
こんな感じに、Previewも実装しています。

formula_u.png

これを使えば、いつでもどこからでも、数式を投稿することができます。
コマンドを実行すると、Formula上の数式ページにジャンプするので、
埋め込みようタグを使ってブログに投稿することも簡単にできます。

インストール

formula用Ubiquityコマンドは、以下のページからインストールできます。

配布には拙作の
Gist Ubiquitifier
を使っています。

ご注意

スパムプログラムからの投稿などを避けるために、
SSL+Basic認証による認証をかけています。

本コマンドを最初に実行する時に、Basic認証のダイアログが出ます。
Basic認証に使うユーザ名とパスワードは、
Formula上でコメントをする時に使ったものをご利用ください。
Formula上に1つでもコメントがあれば、本コマンドが利用可能になります。

posted by genki genki on Thu 4 Sep 2008 at 02:47 with 0 comments
[Formula](http://formula.s21g.com/)は、数式や化学構造式をブログに貼り付けて共有するサービスです。 このたび、出力形式が透過PNGになりました。 以下のように、背景色が白以外の環境でもお使いいただけます。
ブラウザがIE6の場合、透過PNGを正しく扱えないため、 従来の非透過PNGと同様の出力となります。 [IEPNGFix 2](http://ajaxian.com/archives/iepngfix-2-now-supports-css-background-position-and-repeat)等を使うことで、IE6でも透過PNGを扱えるようになるようです。 今後の方向性としましては、 * 黒背景用の白文字画像の生成 * JavaScriptが利用不可能な環境で、IE6でも利用できるようにするために任意の背景色と前景色を指定して非透過PNGを生成する 等を予定しております。 今後ともよろしくお願いいたします。
posted by genki genki on Mon 25 Aug 2008 at 03:08 with 0 comments

Markdownをpreg-markdownに切り替える
ついでに、
Formula
コメントのプレビューができるようにしました。

コメント中に $x=y$ のように記述することでインライン形式で数式を記述できます。
また、

\\[
f(x)=\int_0^x g(t)\,dt
\\]

のように書くことで、ディスプレイスタイルで数式を含めることも出来ます。

そのうちこちらのブログでもこの記法を使えるようにする予定です。

posted by genki genki on Mon 18 Aug 2008 at 23:56 with 0 comments
[Formula](http://formula.s21g.com/)は、 数式をブログにはりつけて共有するコミュニティサービスです。 このたび、FormulaでXyMTeX記法による化学構造式が利用できるようになりました。 以下のような化学構造式を簡単にブログに埋め込むことができるようになります。 XyMTeXの記法については、以下のサイトを参照ください。 **See Also** * [XyMTeX Ver 4.03](http://homepage3.nifty.com/xymtex/fujitas3/xymtex/xym403/xymup403.html) * [XyMTeX 化学構造式描画システム](http://homepage3.nifty.com/xymtex/fujitas3/xymtex/index.html) 本サービスに関する各種お問い合わせは までお気軽にお寄せください。
posted by genki genki on Mon 11 Aug 2008 at 21:36 with 0 comments
[Formula](http://formula.s21g.com/)は、 数式をブログにはりつけて共有するコミュニティサービスです。 このたび、Formulaで利用できるLaTeX記法が増えました。 具体的には、`eqnarray\*`環境で利用可能なLaTeX記法をほとんど全て利用することができます(セキュリティ上の観点から、一部のコマンドは無効化されています) 以下のように、複数行の数式を記述することもできるようになりました。 連立方程式も変数を揃えて記述できます。
posted by genki genki on Sun 10 Aug 2008 at 16:03 with 1 comment