Showing posts with label Latex support. Show all posts
Showing posts with label Latex support. Show all posts

How to make Blogger support LaTeX language...!!!


$latex \bigstar$ LaTex ​គឺជាភាសាមួយសំរាប់សរសេររូបមន្ត គណិតវិទ្យា រូបវិទ្យា ដែលវាមាន​ អត្ថប្រយោជន៍ចំពោះមិត្តទាំងឡាយ ដែលសរសេរ Blog ក៏ដូចជា Website ទាក់ទង​ ទៅនឹងគណិតវិទ្យា ឬ រូបវិទ្យា ។ ចំពោះ Wordpres Blog ភាគច្រើនគឺ អ្នកសរសេរ Template ភាគច្រើន បានបញ្ចូល LaTeX Plugin មកជាស្វ័យប្រវត្តិ ដែលអាចឲ្យ​ យើងសរសេរភាសា LaTeX បានតែម្តង ដោយមិនចាំបាច់ បន្ថែមកូដអ្វីទៀតនោះទេ ។ តែចំពោះ Blogger ឬ Blogspot Blog វិញ គឺអ្នកបង្កើត Template មិនបានបញ្ចូល LaTeX Plugin មកជាស្រេចនោះទេ តែក៏គួរឲ្យរីករាយផងដែរ ដែលយើងអាចបញ្ចូល ដោយខ្លួនឯងបាន ។


$latex \bigstar$ ការដាក់កូដ ឬ Plugin ដើម្បីឲ្យ Blogger ឬ Blogspot អាចសរសេរភាសា LaTeX បានគឺ អ្នកអាចអនុវត្តន៏ដូចខាងក្រោម ៖

(How to add HTML Code or Plugin to make Blogger or Blogspot blog support LaTeX language enter from keyboards : you can follow steps below : )



  1. ចូលទៅក្នុងគណនី នៃប្លក់របស់អ្នក
    (Sing In to your blogger account. )

  2. ចូលទៅ Design Tab
    (Go to Design tab )

  3. បន្ទាប់មក ចូលទៅ Edit HTML
    (Then, go to Edit HTML.)

  4. ហើយ ចម្លង កូដ​ ខាងក្រោមទៅដាក់ បន្ទាប់ពី <head> tag
    (Copy and Paste code below in to HTML field just after <head> tag )









<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js">
MathJax.Hub.Config({
extensions: ["tex2jax.js","TeX/AMSmath.js","TeX/AMSsymbols.js"],
jax: ["input/TeX", "output/HTML-CSS"],
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ],
},
"HTML-CSS": { availableFonts: ["TeX"] }
});
</script>




  1. ចុងក្រោយចុច Save Template ជាការស្រេច ។
    ( At last, Click Save Template )


$latex \bigstar$ ក្រោយពេលដាក់កូដខាងលើនេះហើយនោះ អ្នកអាចសរសេរូបមន្ត គណិតវិទ្យា ឬ រូបវិទ្យា ដោយប្រើប្រាស់ភាសា LaTex នៅលើ Post ក៏បាន​ ឬក៏នៅលើ Pages ក៏បានដែរ តាមរយៈរបៀបសរសេរខាងក្រោម ៖
( After you put code above to your blogger template, you can write any Mathematics or Physics equations using LaTeX language as below : )


  • Inline Equation: $ ... $ or \( ... \)

  • Display Equation: $$ ... $$ or \[ ... \]

  • ( ... = type your latex languages )

$latex \bigstar$ Example:









$y=\dfrac{ax^2+bx+c}{dx^2+ex+f}$
$latex \Rightarrow y= \dfrac{ax^2+bx+c}{dx^2+ex+f}$


$$\int_a^b f(x)dx= F(b)-F(a)$$







Enjoy...!!!


Read more

How to make Mathtype 6.7 support LateX languages entering from your keyboards!!

របៀបធ្វើឲ្យ Mathtype 6.7 អាចវាយភាសា LateX បាន


$latex \space$$latex \space$ក្រោយពីបានតំឡើង Mathtype 6.7 ឬក៏ Versions ផ្សេងៗរួចហើយនោះ ចំពោះអ្នកដែលចេះ ភាសា LateX អ្នកអាចប្រើប្រាស់ Mathtype ក្នុងការ​សរសេរ​ រូបមន្តកាន់តែមានភាពលឿនរហ័យថែមទៀត ព្រោះថាអ្នកមិនចាំបាច់ចុចជ្រើសរើស យកសញ្ញាផ្សេងៗនៅលើ Tool bars ម្តងមួយៗមកប្រើទៀតទេ អ្នកគ្រាន់តែ សរសេរភាសា LateX នៃសញ្ញា ឬរូបមន្តនោះ នោះ Mathtype នឹងបំលែងភាសា នោះទៅជាសញ្ញា ឬ រូបមន្តដែលអ្នកចង់បាន (ឧទាហរណ៍ៈ ផលបូក $latex \sum$ = \sum ; $latex \alpha, \beta, \gamma, \zeta$ = \alpha, \beta, \gamma, \zeta ; $latex \copyright$ = \copyright ជាដើម ) ។


$latex \space$$latex \space$How to make Mathtype 6.7 support LateX Language entering from your keyboards:



  1. ក្រោយពីបាន តំឡើង (Install) កម្មវិធី Mathtype 6.7 រួចហើយនោះ អ្នកចូល ទៅទីតាំងដូចនេះ
    (After you installed Mathtype 6.7 on your computer, you can go to this directory to run it)
    $latex \Rightarrow$ Start Menu $latex \Rightarrow$ All Programs $latex \Rightarrow$ Mathtype 6 $latex \Rightarrow$ Mathtype

  2. $latex \Rightarrow$Preferences Menu $latex \Rightarrow$ Cut and Copy Preferences


  3. អ្នកត្រូវកែ Settings ឲ្យដូចក្នុងរូបភាពខាងលើនេះ រួចចុច OK
    (Change Settings same as showing in picture below then $latex \Rightarrow$ OK )

  4. បន្ទាប់មកចុច$latex \Rightarrow$ Preferences Menu $latex \Rightarrow$ Workspace Preferences ហើយអ្នកត្រូវកែ Settings ឲ្យដូចគ្នាក្នុងរូបភាបខាងក្រោមនេះ រួចចុច OK
    (Change Settings same as showing in picture below then $latex \Rightarrow$ OK )

  5. $latex \Rightarrow$ Preferences Menu $latex \Rightarrow$ Object Editing Preferences
    (Change Settings same as showing in picture below then $latex \Rightarrow$ OK )

  6. ក្រោយពីចប់ជំហានទី៥ អ្នកសាកល្បងសរសេរភាសា LateX ដើម្បីសរសេរ ប្រព័ន្ធសមីការដូចកូដខាងក្រោមនេះនៅក្នុង Mathtype
    (After finished step 5 you can try to enter LateX languages to show system of equations as code shown below in Mathtype Panel )

    \left\{ \begin{array}{l} y=ax+b \\ z=ax^2+bx+c \\ w=ax^3+bx^2+cx+d \end{array} \right.



  7. ក្រោយពេលសរសេរចប់អ្នកចុច Enter នោះអ្នកនឹងឃើញប្រព័ន្ធសមីការដែល អ្នកបានសររសេរដូចខាងក្រោម
    (After finished entering LateX languages (code above)$latex \Rightarrow$ press Enter key and then you will see how it's work)

    $latex \Rrightarrow$ $latex \left\{ \begin{array}{l} y=ax+b \\ z=ax^2+bx+c \\ w=ax^3+bx^2+cx+d \end{array} \right.$



    Enjoy and See How It's Worked...!!!



    នេះគ្រាន់តែជាអ្វីដែលខ្ញុំដឹង…!!!


Read more