embed¹«Ê½ÔõôÓÃ
latex ÖÐǶÈ빫ʽµÄÒªÁ죺ÐÐÄÚ¹«Ê½£º$¹«Ê½$ÍÑÀ빫ʽ£º$$¹«Ê½$$ÌáÉý¹«Ê½£ºÊ¹Óà amsmath °üºÍ \begin{align} … \end{align} ÇéÐÎÊýѧÇéÐΣºequation¡¢eqnarray¡¢cases µÈÏ£À°×Öĸ£º×ªÒåÐòÁУ¨Èç \alpha£©ÉÏϱ꣺{}·ÖÊý£º\frac{}{}
LaTeX ÖÐǶÈ빫ʽµÄÒªÁì
ʲôÊÇ LaTeX£¿
LaTeX (LATEX) ÊÇÒ»ÖÖÓÃÓÚ½¨Éè¸ßÖÊÁ¿ÊÖÒպͿÆѧÎĵµµÄÅÅ°æϵͳ¡£ËüÒÔÆ侫²ÊµÄÊýѧ¹«Ê½ÅÅ°æºÍÆÕ±éµÄÄ£°å¶øÖøÃû¡£
ÔõÑùǶÈ빫ʽ
ÔÚ LaTeX ÖÐǶÈ빫ʽºÜÊǼòÆÓ£¬Ö»ÐèʹÓÃÒÔÏÂÓï·¨£º
$ ¹«Ê½ $ % ÐÐÄÚ¹«Ê½ $$ ¹«Ê½ $$ % ÍÑÀ빫ʽ
µÇ¼ºó¸´ÖÆ
ÆäÖУ¬$ ·ûºÅÌåÏÖÊýѧģʽµÄ×îÏȺͿ¢Ê¡£
ʾÀý
ÀýÈ磬ҪǶÈëÒÔϹ«Ê½£º
y = mx + c
µÇ¼ºó¸´ÖÆ
¿ÉÒÔÔÚ LaTeX ÖÐʹÓÃÒÔÏ´úÂ룺
$y = mx + c$
µÇ¼ºó¸´ÖÆ
ÌáÉý¹«Ê½
ÓÐʱ£¬Äú¿ÉÄÜÏ£Íû½«¹«Ê½ÌáÉýÔÚ¶ÎÂäÖ®ÉÏ¡£Îª´Ë£¬¿ÉÒÔʹÓà amsmath °ü¡£
\usepackage{amsmath} \begin{align} y &= mx + c \\ x &= \frac{y - c}{m} \end{align}
µÇ¼ºó¸´ÖÆ
ÊýѧÇéÐÎ
LaTeX »¹ÌṩÁËÖÖÖÖÊýѧÇéÐÎÀ´½¨Éè¸üÖØ´óµÄ¹«Ê½¡£Ò»Ð©³£ÓõÄÇéÐΰüÀ¨£º
equation£º½¨ÉèÒ»¸ö±àºÅ¹«Ê½¡£
eqnarray£º½¨ÉèÒ»¸ö¶àÐй«Ê½¡£
cases£º½¨ÉèÒ»¸ö·ÖÇéÐι«Ê½¡£
ÆäËû¼¼ÇÉ
ʹÓÃÏ£À°×Öĸ»òÌØÊâ·ûºÅ£¬¿ÉÒÔÔÚ LaTeX ÖÐʹÓÃתÒåÐòÁС£ÀýÈ磬\alpha ÌåÏÖÏ£À°×Öĸ ¦Á¡£
Òª½¨ÉèÉÏϱ꣬¿ÉÒÔʹÓà {}¡£ÀýÈ磬x^2 ÌåÏÖ x µÄƽ·½¡£
Òª½¨Éè·ÖÊý£¬¿ÉÒÔʹÓà \frac{}{} ¡£ÀýÈ磬\frac{1}{2} ÌåÏÖ 1/2¡£
ÒÔÉϾÍÊÇembed¹«Ê½ÔõôÓõÄÏêϸÄÚÈÝ£¬¸ü¶àÇë¹Ø×¢±¾ÍøÄÚÆäËüÏà¹ØÎÄÕ£¡