Template

Template

Head 區段

在<head>區段中增加

<!-- Latest compiled and minified CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"></link>
<!-- jQuery library-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    jax: ["input/TeX","output/HTML-CSS"],
    extensions: [],
    TeX: {
      extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
    },
    showMathMenu: false
  });
</script>
<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js"></script>

Body 區段

題組 編號 檔名
1 104T1_001 104T1_001.docx 123456 123456 123456 123456 123456
2 104T1_002 104T1_002.docx

mathjax-wrapper

mathjax-wrapper可呈現兩種數學公式形式。

  1. 夾雜在文句之中,所謂的內嵌數學(inline math)。
  2. 自己單獨一行,所謂的外顯數學(display math)。

內嵌數學(inline math)

將數學式子用成對的$包起來

$\int_0^1 x^2 dx=\frac{1}{3}$,會產生

將數學式子用 \(\)包起來

\(\int_0^1 x^2 dx=\frac{1}{3}\),會產生

注意:假如要用Pandoc將md檔轉成html、docx、pdf等格式,不要使用 \(\)包起來的方式。

外顯數學(display math)

將數學式子用成對的$$包起來

$$\int_0^1 x^2 dx=\frac{1}{3}$$,會產生

將數學式子用 \[\]包起來

\[\int_0^1 x^2 dx=\frac{1}{3}\],會產生

注意:假如要用Pandoc將md檔轉成html、docx、pdf等格式,不要使用 \[\]包起來的方式。

Share this

First

技術提供:Blogger.