<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://imechanica.org" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>iMechanica - How to input LaTeX equations in iMechanica - Comments</title>
 <link>http://imechanica.org/node/2365</link>
 <description>Comments for &quot;How to input LaTeX equations in iMechanica&quot;</description>
 <language>en</language>
<item>
 <title>Drutex Plugin</title>
 <link>http://imechanica.org/node/2365#comment-6198</link>
 <description>&lt;p&gt;
There is one plugin available for Drupal specifically for this purpose. It&amp;#39;s called &lt;strong&gt;DruTeX&lt;/strong&gt;. Read about it at the following link.
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://groups.drupal.org/soc-drutex&quot; target=&quot;_blank&quot;&gt;DruTeX Group Page&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;a href=&quot;http://drupal.org/project/drutex&quot; target=&quot;_blank&quot;&gt;DruTeX Project Page&lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
This plugin has been developed under Summer Of Code initiative organised by Google. So you can expect it to be of higher standard than other plugins. I haven&amp;#39;t tested this personally. But I guess this may solve the problem for iMechanica.
&lt;/p&gt;
&lt;p&gt;
Site Admin(s) of iMechanica may give it a try. &lt;img src=&quot;http://imechanica.org/modules/tinymce/includes/jscripts/tiny_mce/plugins/emotions/images/smiley-smile.gif&quot; border=&quot;0&quot; alt=&quot;Smile&quot; title=&quot;Smile&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
Best Regards,
&lt;/p&gt;
&lt;p&gt;
Biplab
&lt;/p&gt;
&lt;p&gt;
Blog: &lt;a href=&quot;http://biplab.in &quot; title=&quot;http://biplab.in &quot;&gt;http://biplab.in &lt;/a&gt;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Mon, 31 Dec 2007 05:54:53 -0500</pubDate>
 <dc:creator>biplab</dc:creator>
 <guid isPermaLink="false">comment 6198 at http://imechanica.org</guid>
</item>
<item>
 <title>equations in comments </title>
 <link>http://imechanica.org/node/2365#comment-5990</link>
 <description>&lt;p&gt;
&lt;img src=&quot;http://l.wordpress.com/latex.php?latex= f=x%2By&amp;amp;bg=ffffff&amp;amp;fg=000000&amp;amp;s=0&quot; alt=&quot; &quot; width=&quot;70&quot; height=&quot;16&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
equations in comments&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <pubDate>Wed, 28 Nov 2007 09:34:00 -0500</pubDate>
 <dc:creator>Yixiang Gan</dc:creator>
 <guid isPermaLink="false">comment 5990 at http://imechanica.org</guid>
</item>
<item>
 <title>How to input LaTeX equations in iMechanica</title>
 <link>http://imechanica.org/node/2365</link>
 <description>&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Last time, when I saw &lt;a href=&quot;http://imechanica.org/node/1920&quot;&gt;one blog&lt;/a&gt;  of &lt;span class=&quot;submitted&quot;&gt;&lt;a href=&quot;../../user/1095&quot; title=&quot;View user profile.&quot;&gt;Biswajit Banerjee&lt;/a&gt;&lt;/span&gt;, I thought it would be much more convenient if we can input some equations in iMechanica for discussion. When I make discussion about mechanics with colleagues, I would like to write down some equations on the blackboard or paper. For discussion based on the web blog, LaTeX equations will be helpful. And it would be better if one can input equations directly instead of uploading one picture after another.
&lt;/p&gt;
&lt;p&gt;
To be honest, I have no idea how to input equations directly in iMechanica (maybe there is already some ways). But I found some simple ways to input LaTeX equations in my MSN Space for making some notes. The Basic idea is to use the functions provided by &lt;a href=&quot;wordpress.com&quot;&gt;WordPress.com&lt;/a&gt; .
&lt;/p&gt;
&lt;p&gt;
Here is how (probably most of you knew already).
&lt;/p&gt;
&lt;p&gt;
(1) &lt;strong&gt;Add a picture&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Try to insert one picture in the place where you want to add your equation. Use the editor or just modify the HTML file of your poster.
&lt;/p&gt;
&lt;p&gt;
(2) &lt;strong&gt;Edit your link&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
The link of the inserted &amp;#39;picture&amp;#39; should look like
&lt;/p&gt;
&lt;p&gt;
http://l.wordpress.com/latex.php?latex=&lt;font color=&quot;#ff0000&quot;&gt; Your LaTeX Code&lt;/font&gt; &amp;amp;bg=&lt;font color=&quot;#ff0000&quot;&gt;ffffff&lt;/font&gt;&amp;amp;fg=&lt;font color=&quot;#ff0000&quot;&gt;000000&lt;/font&gt;&amp;amp;s=&lt;font color=&quot;#ff0000&quot;&gt;0&lt;/font&gt;
&lt;/p&gt;
&lt;p&gt;
Some extra modifications of the LaTeX code are needed since it is in the link:
&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;change space into &amp;#39;+&amp;#39;&lt;/li&gt;
&lt;li&gt;change &amp;#39;+&amp;#39; into &amp;#39;&lt;font color=&quot;#ff0000&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;%2B&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&amp;#39;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;
For example, &lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f=x%2By&quot; alt=&quot;&quot; /&gt; is writen as &amp;#39;&lt;font color=&quot;#ff0000&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;f=x&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;%2By&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&amp;#39;. &lt;br /&gt;
(http://l.wordpress.com/latex.php?latex=&lt;font color=&quot;#ff0000&quot;&gt; &lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;f=x&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font color=&quot;#ff0000&quot;&gt;&lt;font color=&quot;#3333ff&quot;&gt;&lt;font color=&quot;#000000&quot;&gt;%2By&lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&amp;amp;bg=&lt;font color=&quot;#ff0000&quot;&gt;ffffff&lt;/font&gt;&amp;amp;fg=&lt;font color=&quot;#ff0000&quot;&gt;000000&lt;/font&gt;&amp;amp;s=&lt;font color=&quot;#ff0000&quot;&gt;0&lt;/font&gt; )
&lt;/p&gt;
&lt;p&gt;
The last part is the information of the color and size (s=&lt;font color=&quot;#ff0000&quot;&gt;0&lt;/font&gt;) of the equation. If one leaves nothing, the equation is set to the default setting.
&lt;/p&gt;
&lt;p&gt;
So...done.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
(3) &lt;strong&gt;Try something else&lt;/strong&gt;
&lt;/p&gt;
&lt;p&gt;
Original equation:
&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f%28x%29&amp;amp;bg=ffffff&amp;amp;fg=000000&amp;amp;s=0&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
Colors:
&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f%28x%29&amp;amp;bg=ffffff&amp;amp;fg=ff0000&amp;amp;s=0&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f%28x%29&amp;amp;bg=ffffff&amp;amp;fg=00ff00&amp;amp;s=0&quot; alt=&quot;&quot; /&gt;&lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f%28x%29&amp;amp;bg=ffff00&amp;amp;fg=0000ff&amp;amp;s=0&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
Change the size of the equations:&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
s=1 &lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f%28x%29&amp;amp;bg=ffffff&amp;amp;fg=000000&amp;amp;s=1&quot; alt=&quot;&quot; /&gt;. s=2 &lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f%28x%29&amp;amp;bg=ffffff&amp;amp;fg=000000&amp;amp;s=2&quot; alt=&quot;&quot; /&gt;. s=3 &lt;img src=&quot;http://l.wordpress.com/latex.php?latex=f%28x%29&amp;amp;bg=ffffff&amp;amp;fg=000000&amp;amp;s=3&quot; alt=&quot;&quot; /&gt;...
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Slightly more complex equations:
&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;http://l.wordpress.com/latex.php?latex=\sigma_{ij}=C_{ijkl}\varepsilon_{kl}&amp;amp;bg=ffffff&amp;amp;fg=000000&amp;amp;s=0&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;img src=&quot;http://l.wordpress.com/latex.php?latex=\overline{\sigma}_{ij}\doteq%20\frac{1}{V}\int_V\sigma_{ij}\,\mathrm{d}V&amp;amp;bg=ffffff&amp;amp;fg=000000&amp;amp;s=0&quot; alt=&quot;&quot; /&gt;
&lt;/p&gt;
&lt;p&gt;
......
&lt;/p&gt;
&lt;p&gt;
It is not that difficult to input equations when blogging, at least for myself. This should also work when one wants to make comments.&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
&amp;nbsp;
&lt;/p&gt;
&lt;p&gt;
Yixiang Gan
&lt;/p&gt;
&lt;p&gt;
2007.11&amp;nbsp;
&lt;/p&gt;
&lt;br class=&quot;clear&quot; /&gt;</description>
 <comments>http://imechanica.org/node/2365#comments</comments>
 <category domain="http://imechanica.org/taxonomy/term/1577">equation</category>
 <category domain="http://imechanica.org/taxonomy/term/1382">LaTeX</category>
 <pubDate>Wed, 28 Nov 2007 09:32:05 -0500</pubDate>
 <dc:creator>Yixiang Gan</dc:creator>
 <guid isPermaLink="false">2365 at http://imechanica.org</guid>
</item>
</channel>
</rss>
