singforlove

在单位,每周末都要写周报给老大。于是自己写了一个简易的周报模板,供大家和我自己参考吧。中间的注释部分是为了添加能够显示并排的图片。

另外,向大家推荐Tex编写工具TeXstudio 我觉着相较于TexMaker,前者的最大好处就是多了一个New from Template的选项。这个功能非常实用。

\documentclass[]{article}
\usepackage{datetime}
\usepackage{advdate}
\usepackage{graphicx}
\usepackage[top=1in, bottom=1in, left=1.25in, right = 1.25in]{geometry}

%\begin{figure}[htbp]
%\centering
%\begin{minipage}[t]{0.3\textwidth}
%\centering
%\includegraphics{left}
%\caption{part one}
%\end{minipage}
%\begin{minipage}[t]{0.3\textwidth}
%\centering
%\includegraphics{right}
%\caption{part two}
%\end{minipage}
%\end{figure}

\begin{document}
\begin{center}
\centering{\huge \textbf{Weekly Report} } \\
\end{center}
Period: \ddmmyydate \DayAfter[-7] - \today\\
Reporter: XXX

\section{Last Week}
\begin{enumerate}
\item
\item
\end{enumerate}

\section{Next Week}
\end{document}

代码使用效果如下:

9EWLOY)}QKW[~0HF8IOGYS1

最后再秀一张我编写Latex文件的工作照。
小技巧,按一下F1,就可以直接得到右边编译好的PDF文件。非常方便~~不过要注意,要在设置(Configure TeXstudio)里的编译(Build)里面设置一下PDF 查看器(PDF Viewer)为Internal PDF Viewer(Embeded)
image

分类:

技术点:

相关文章:

  • 2022-01-14
  • 2022-12-23
  • 2021-12-19
  • 2021-12-16
  • 2021-10-21
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-06-16
  • 2022-12-23
  • 2022-01-03
  • 2021-06-03
  • 2021-10-13
  • 2021-08-01
相关资源
相似解决方案