sysu-scc / sysu-thesis Goto Github PK
View Code? Open in Web Editor NEW中山大学 LaTeX 论文项目模板
License: GNU General Public License v3.0
中山大学 LaTeX 论文项目模板
License: GNU General Public License v3.0
\RequirePackage{fontspec}
语句加上[no-math]
参数,即修改成\RequirePackage[no-math]{fontspec}
。结果导致编译时出现\setmainfont{Times New Roman} undefine
报错。\renewcommand{\hbar}{\mathchar'26\mkern-9mu h}
。结果:普朗克符号没有发生变化,似乎是定义没有被“读取”?在我个人的例子中,我还有其他定义\newcommand{\mean}[1]{\langle #1 \rangle}
都是可以正常工作的。只是\hbar这一条定义无法产生效果。刚开始使用模板的时候好像注释掉某一句了 main.bib里没动 现在想改回来发现找不到那句话了 和原本的模板对比也找不到 究竟怎么回事
新建了一个模板把tex复制过去 一开始是没问题的 可过了一会儿参考文献又变成全白了!
根据模板说明,如需使用自行下载的adobe字体需要使用ctex-fontset-adobe2.def
文件定义字体,经过尝试发现该文件字体设置有缺陷,说明如下:
文件中通过此定义了\songti对应的字体:
\setCJKfamilyfont { zhsong } { AdobeSongStd-Light.otf }[
Path = ./fonts/,
]
并在论文封面标题、章节标题使用 \songti\textbf{<content>}
指定格式,但是\songti
对应的 zhsong
并未指定Bold样式,会导致加粗失败。
建议修改 zhsong
定义与\setCJKmainfont
相同,使之能正常进行加粗。即:
\setCJKmainfont { AdobeSongStd-Light.otf }[
Path=./fonts/,
BoldFont = AdobeHeitiStd-Regular.otf,
ItalicFont = AdobeKaitiStd-Regular.otf
]
有时我们希望某些章节(例如摘要或结语)不编号,但又显示在目录当中,可以在相关位置:
\chapter*{结语}
\addcontentsline{toc}{chapter}{结语}
其中第一行 * 的作用是不编号,第二行的作用是把这一章节添加进目录中,所以如果希望既不编号也不添加进目录,可以删去第二行
最主要是想加入电子签名,doc文件内的disclaim无法影响到/makediscliam命令
在正文中输入公式符号$\hbar$,发现编译之后符号异常,bar的位置过于靠上,这通常在amsmath宏包中并不会出现
$E=\hbar \omega$
怀疑是模板中的某个地方(引用的某个宏包)将命令$\hbar$重新定义了。暂时的解决方式是在main.tex
中正文开始处增加一行代码重新定义\hbar
...
\begin{document}
\renewcommand{\hbar}{h\hspace*{-0.35em}\bar{}\hspace*{0.35em}}
......
注意这行重定义命令经过尝试,只能在正文区加入才能生效,如果像下面这样塞入导言区则不会生效,原因可能是导言区中的某个宏包将\hbar
给又重新定义了
...
\renewcommand{\hbar}{h\hspace*{-0.35em}\bar{}\hspace*{0.35em}}
\begin{document}
...
README.md/如何使用/overleaf编辑/步骤2/选择upload project
据本人 17 18年在维护该项目的时候获知的情况, README 中的 写作与印制规范 可能每年都有变化,估计需要问一下学校/学院能否每年都统一一个标准,如果形成标准能否也整理到 这个仓库的文档中?
中文斜体 \textit{斜体}
输出仍为宋体,应为楷体。
一种 quick fix 是使用 \kaishu{斜体}
进行斜体的输出。
你好,因为我论文符号较多,想在目录后面单独设计一页作为符号说明页面,请问如何操作嘞
!!! File docs/info not found in path [./]. !!!
!!! File docs/proposal not found in path [./]. !!!
!!! File docs/abstract not found in path [./]. !!!
!!! File docs/grading not found in path [./]. !!!
!!! File docs/progress not found in path [./]. !!!
!!! File docs/chap01.tex not found in path [./]. !!!
!!! File docs/chap02.tex not found in path [./]. !!!
!!! File docs/chap03.tex not found in path [./]. !!!
!!! File docs/chap04.tex not found in path [./]. !!!
!!! File docs/chap05.tex not found in path [./]. !!!
!!! File docs/appendix1.tex not found in path [./]. !!!
!!! File docs/ack.tex not found in path [./]. !!!
您好,我的题目第一行内可以写完,请问应该如何删除第二行的下划线?
如题,请问这个模板如何添加宏包和自定义命令?感谢回复。
Overfull \vbox (78.43489pt too high) detected at line 45
[17] [18]
Overfull \vbox (31.06857pt too high) detected at line 115
[19] [20] [21]
! Undefined control sequence.
\cellcolor
l.258 }
?
环境:mactex+texstudio
已自行通过字体册导入fandol和adobe字体到mac系统中
渲染字体报错:
Font "FandolHei-Regular" does not contain requested(fontspec) Script "CJK".
(其他fandol字体同理,adobe字体没有报错)
渲染成功但中文全空白(间隔正确),英文正确。
\RequirePackage{fontspec}
\RequirePackage{newtxtext}
%\setmainfont{Times New Roman}
\RequirePackage{amsmath,amssymb,amsthm}
\RequirePackage{newtxmath,bm}
建议添加到overleaf的模版库中,可一键在overleaf中打开项目.
有同学反映说(可能是个例?)封面处指导老师不用加职称,而扉页需要职称,而在info.tex中找不到可以处理这种差异的命令,建议在sysuthesis.cls里多定义一个类似cmentor的命令以处理这个差异。
感谢你们!另外,看到你们说缺人手来维护,虽然我因为刚开始学,会的不多,但是如果有什么帮得上的,我愿意加入你们一起出力~
报错‘Illegal, another \bibstyle command’
查看.aux 文件,发现有两处定义 ‘\bibstyle{gbt7714-unsrt}’ 和 \bibstyle{gbt7714-numerical} 冲突,0.5版本更新中显示使用‘gbt7714-unsrt’但是下载的压缩包中没有该文件。
有时候写论文会遇到中文生僻字,Overleaf会报错,解决方法:
1.C:\Windows\Fonts
2.找到SimSun.ttc
3.将文件上传至和main.tex同一文件夹,即顶端文件夹
4.在需要输入生僻字的位置,如“喨”,输入“{\CJKfontspec{SimSun.ttc}喨}”,即可正常显示生僻字
参考自:
https://blog.csdn.net/m0_54352040/article/details/116113986
https://blog.csdn.net/qq_41860497/article/details/122005706
Mac系统视频教程:https://www.bilibili.com/video/av208015528/
\newtheorem{assumption}{假设}[chapter]
意思就是注释掉了大部分东西,强行用该模板做开题报告。结果发现在proposal上打了一大串文字,最终显示时无法让文字实现跨页,只能手动 // 才有让它们跨页的可能(怕不是只有我一个人用它写开题报告哦)
学院纸质装订要求附录在前,致谢最后
参考文献(->附录)->致谢
主要调整如下:
整个文档可见 https://github.com/Lovely-XPP/sysu-thesis/blob/personality/presentation/pre.pdf
目前模板应用的是gbt7714-2005标准,部分文献标识代码不能使用
学校发布的论文规范要求为《信息与文献 参考文献著录规则》(GB/T 7714-2015),但项目中使用的是7714-2005?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.