<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                企業??AI智能體構建引擎,智能編排和調試,一鍵部署,支持知識庫和私有化部署方案 廣告
                下面貼一個我常用的`xelatex` 排版中文簡短報告的模板: ### 功能 支持以下效果: 1. 各級標題采用MS word 效果 1. 美化代碼插入(代碼文件名,邊框,行號) 1. 支持MATLAB代碼高亮 1. 支持使用基本字體(楷體,宋體,黑體) 1. 中文自動斷行 1. 首行縮進兩個中文字 1. 頁面邊距采用默認效果 1. 不帶目錄 ### 模板 ~~~ % Compile with XeLaTeX or LuaLaTeX \documentclass[10pt,a4paper]{article} \usepackage{xcolor} \usepackage{titlesec} \usepackage{fontspec} \defaultfontfeatures{Mapping=tex-text} \usepackage{xunicode} \usepackage{xltxtra} \usepackage{polyglossia} \usepackage{indentfirst} % 段首縮進 \setdefaultlanguage{english} % 設置字體 \setsansfont{Calibri} \setmainfont[BoldFont=SimHei]{STKaiti} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} % 設置頁邊距 %\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} % MATLAB代碼插入包 \usepackage{listings} \usepackage[framed,numbered,autolinebreaks,useliterate]{mcode} % 新定義字體 \newfontfamily\song{SimSun} % 宋體 \newfontfamily\hei{SimHei} % 黑體 \XeTeXlinebreaklocale "zh" % 中文斷行 % Define light and dark Microsoft blue colours \definecolor{MSBlue}{rgb}{.204,.353,.541} \definecolor{MSLightBlue}{rgb}{.31,.506,.741} % Define a new fontfamily for the subsubsection font % Don't use \fontspec directly to change the font \newfontfamily\subsubsectionfont[Color=MSLightBlue]{Times New Roman} % Set formats for each heading level \titleformat*{\section}{\Large\bfseries\sffamily\color{MSBlue}} \titleformat*{\subsection}{\large\bfseries\sffamily\color{MSLightBlue}\song} \titleformat*{\subsubsection}{\itshape\subsubsectionfont} \author{郭大為\footnote{email: guodw3@mail2.sysu.edu.cn}\\[2ex] 國立交通大學應數系\\[2ex]} \title{Homework \uppercase\expandafter{\romannumeral4}} \date{November 16, 2015} \begin{document} %%%% 段落首行縮進兩個字 %%%% \makeatletter \let\@afterindentfalse\@afterindenttrue \@afterindenttrue \makeatother \setlength{\parindent}{2em} %中文縮進兩個漢字位 \maketitle \section{A section} 以下為正文部分,可以任意替換或刪除 This is some text. \subsection{A subsection 演示插入MATLAB代碼} 各級標題效果演示 \subsubsection{A subsubsection} 演示代碼插入效果: \begin{lstlisting}[title=sd\_method.m, frame=shadowbox] point = [9; 1]; H = [1, 0; 0, 9]; figure ezcontour('x^2/2+9*y^2/2',[-9, 9, -6, 6]) % steptest decent method sdm_points = [9; 1]; count = 0; while(norm(point) > 1e-5) count = count + 1; g = [point(1); 9*point(2)]; point = point - g'*g/(g'*H*g).*g; sdm_points = [sdm_points, point]; end hold on plot(sdm_points(1, :), sdm_points(2, :),'-','LineWidth',3); count \end{lstlisting} 圖片插入效果圖: \begin{center} \includegraphics[width=1\textwidth]{1.eps} \end{center} \end{document} ~~~ ### 效果圖 ![這里寫圖片描述](https://box.kancloud.cn/2016-07-22_5791c6cdf0a30.jpg "") ![這里寫圖片描述](https://box.kancloud.cn/2016-07-22_5791c6ce1d1c3.jpg "")
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看