Git Product home page Git Product logo

xjtuthesis-x's Introduction

xjtuthesis-x

中文说明

Introduction

This is an XJTU thesis LaTeX template forked from xjtuthesis v0.6.6, which was maintained by Weisi Dai et al. I've fixed several bugs and added some experimental features based on the original project.

xjtuthesis-x also provides a user guide of this project, including usage introduction of new features, as well as some advices about thesis writing according to my experience. Furthermore, you may also refer to the examples in xjtuthesis project to get started.

Both xjtuthesis and xjtuthesis-x are designed according to the XJTU's official thesis template or manual. If you find that xjtuthesis breaks the specifications in the official manual, please open an issue (or contribute to fixing the bug). The newest version of the XJTU's official thesis manual (2018) can be found here.

Changelog

2018-05-10
  1. Equations are now centered, according to the official manual 2018.
2016-08-27
  1. Completed the user guide.
  2. Update readme.
2016-06-08
  1. Use breakablealgorithm environment to allow page break in pseudo code block. breakablealgorithm and algorithm can work together in one document.
  2. Adjusted line spacing according to the official template.
  3. Removed paragraph skip according to the official template. (No empty lines)
  4. Added spaces before tables according to the official template. (0.5\baselineskip)
2016-06-03
  1. Adjusted default linespace in tables.
2016-05-30
  1. Added support for writting pseudo code.
2016-05-27 and before
  1. Fixed bug, tuned position of header. Now it looks the same as the official .doc template.
  2. Tuned header ruler appearance and position.
  3. Use Computer Modern font in math mode, which looks better.
  4. Reduced warning.
  5. Aligned footnote mark to text margin.
  6. Tuned line space in footnote.
  7. Replace the brackets with full-width ones to imitate the official template.

xjtuthesis-x's People

Contributors

genkunabe avatar tedxz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

xjtuthesis-x's Issues

图注(caption)的行间距过窄

本模板中图片的注释caption间距过窄,行与行之间几乎没有任何空隙,非常影响美观,而且与官方的word模板不一致。
word模板中,caption的间距是WORD默认的,大致为1.5倍行距。

无法从pdf中得到正确文字

在macOS XeTeX 3.14159265-2.6-0.99998 (TeX Live 2017)
上使用模版生成的pdf无法将文字正确复制出来,我怀疑这会影响到查重的正确性和可靠性
模版中的汉字支持是使用的 xeCJK
使用 \usepacakge{ctex} 包在此设备可以正确的处理汉字复制问题

Equations are not centering by default

While testing the templete, I found that when I use the environment as that:

\begin{equation}
    equation
\end{equation}

the equation will indent for 4 bytes, but on centering.

prevent padding spaces between paragraphs

Sometimes LaTex would add extra vertical spaces between paragraphs so that in the beginning of the next page, a new numbered section will begin at the top of the page. This 'feature' is wrong according to the official document: no extra spaces between paragraphs.

A simple way to solve it is to use: '\raggedbottom' command in style files. I suggest that to make it as the default setting and update the document.

Breakable Algorithm Block

Since this commit 858dfd8, writing decorated pseudo codes is in supported. However, the '/begin{algorithm} /end{algorithm}' block is float, so that if the pseudo codes are long enough (20 lines or so), LaTex would break the page and make a whole new page for pseudo codes. This way of dealing with long pseudo codes is not right according to the document from dean.

If we will stick to algorithmic package, I found a way to solve this problem. Someone called Werner proposed a solution of breakable algorithm block in this page:
http://tex.stackexchange.com/questions/33866/algorithm-tag-and-page-break

Here are his code:

\makeatletter
\newenvironment{breakablealgorithm}
  {% \begin{breakablealgorithm}
   \begin{center}
     \refstepcounter{algorithm}% New algorithm
     \hrule height.8pt depth0pt \kern2pt% \@fs@pre for \@fs@ruled
     \renewcommand{\caption}[2][\relax]{% Make a new \caption
       {\raggedright\textbf{\ALG@name~\thealgorithm} ##2\par}%
       \ifx\relax##1\relax % #1 is \relax
         \addcontentsline{loa}{algorithm}{\protect\numberline{\thealgorithm}##2}%
       \else % #1 is not \relax
         \addcontentsline{loa}{algorithm}{\protect\numberline{\thealgorithm}##1}%
       \fi
       \kern2pt\hrule\kern2pt
     }
  }{% \end{breakablealgorithm}
     \kern2pt\hrule\relax% \@fs@post for \@fs@ruled
   \end{center}
  }
\makeatother

Then use breakablealgorithm as the replacement of algorithm to wrap the algorithmic block.

example:

 \begin{breakablealgorithm}
    \caption{队列操作}
    \label{alg:queue}
    \begin{algorithmic}[1]
      \Procedure {queueUpdate}{$\bm{Q^{(1)}, Q^{(2)}, Q^{(3)}}$, $block$}
      \State $I am the code$
    \end{algorithmic}
  \end{breakablealgorithm}

附录的二级标题和三级标题会重叠

我在使用附录的时候遇到一个问题,附录的二级标题和三级标题排版有问题,会重叠在一起。
\xjtuappendixchapter{附录}
\xjtuappendixsection{code}
\xjtuappendixsubsection{主模块}
image
最后的显示就重叠在一起。不知道为什么会这样子

Reference can not work

When I am running under the framwork directory, I found that the reference can not work normally. Here is the makefile result:

➜  framework git:(master) ✗ make bachelor
mkdir -p build
xelatex -output-directory build/ --no-pdf --interaction=nonstopmode bachelor.tex >/dev/null
bibtex bachelor || true
I couldn't open file name `bachelor.aux'
xelatex -output-directory build/ --no-pdf --interaction=nonstopmode bachelor.tex >/dev/null
xelatex -output-directory build/ --interaction=nonstopmode bachelor.tex >/dev/null

As you can see, bibtex can not find bachelor.aux.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.