Skip to content

Releases

v1.3.1

Choose a tag to compare

@neozhuang neozhuang released this 29 Mar 09:24

🚀 优化改进

  • 使用 fontawesome7 图标库代替原有 fonts/ 下字体库,提供统一化且更多可选择的字体图标
  • 使用宏包 xparse下 \NewDocumentCommand 等定义带可选参数的命令,避免依赖 xargs 过时宏包
  • 优化cls文件,删除未用命令,添加注释信息
  • 完善Makefile、bat文件的编译链
  • 将原有的模板使用方法从tex文件移动到README.md

v1.2

Choose a tag to compare

@neozhuang neozhuang released this 20 May 10:43

文件和编译说明

文件 说明
diary.tex 主文件
diary.cls 库文件
fonts/ 符号字体文件夹
Makefile linux编译文件
clean.bat windows一键清理辅助文件
build.bat windows一键编译源文件

==需将字体设置为本地已有的字体==

\setCJKmainfont{华文行楷}  
\setmainfont{Times New Roman}

编译方法:xelatex *.tex 运行两次

Windows便捷批处理文件:

  • clean.bat - 清理所有辅助文件;
  • build.bat - 重新编译目录中所有.tex并清理辅助文件。

Linux快速编译:

  • make - 编译目录中所有.tex文件,不清理中间文件;

  • make clean - 清理所有辅助文件;

  • make build - 编译所有文件并清理所有辅助文件。


v1.1

Choose a tag to compare

@neozhuang neozhuang released this 15 May 04:57

增添了以下一些功能:

  1. \EndAt[\getYear]{\getMonth}{\getDay} % 最后一次编译当天的日期 可不修改
  2. \Theme{} 设置每日主题居中
  3. 给出了今日小结的编写示例
  4. 对天气和心情指令给出注解