Windows PdfTeX 的 LaTeX 报告模板

Windows PdfTeX 的 LaTeX 报告模板

我是 LaTeX 的新手,想制作类似参考的文档(模板)在此处的 LaTeX 模板中

我希望以类似的方式放置页眉、页脚,同时使用类似的文本字体、文本格式、表格、图像标题和参考(引用和超链接)。

如果您能在这方面帮助我,我将不胜感激。最好在文章末尾添加参考部分,您也可以添加一些关于放置的建议。我本来想添加一些示例代码,但我没有这样做,因为我担心它是否会成为标准代码。提前谢谢您,如果您需要进一步说明,我愿意提供。

答案1

我刚刚添加了一个示例代码,以便其他人可以进一步帮助您解决这个问题。 第一页第 2 页

    \documentclass[a4paper,12pt]{article}
    \usepackage{hyperref}
    \hypersetup{colorlinks=true, linkcolor=red,  urlcolor=blue}
    \usepackage[a4paper,margin=1.00in]{geometry}
    \usepackage{array,booktabs,siunitx,xcolor,colortbl}
    \usepackage{graphicx}
    \usepackage[utf8x]{inputenc}
    \usepackage{mdwlist}
    \usepackage{amsmath}
    \usepackage{enumitem}% Used to control the spacing at enumerate (eg publication)
    \usepackage{calc}% http://ctan.org/pkg/calc
    \usepackage{fancyhdr}% http://ctan.org/pkg/fancyhdr
    \usepackage{lastpage}% http://ctan.org/pkg/lastpage


    \usepackage{lipsum}
    \setlength\headheight{26pt} %% just to make warning go away. Adjust the value after looking into the warning.
    % \rhead{{\color{blue}\rule{1cm}{1cm}}}


    \pagestyle{fancy}
    \fancyhf{}
    \pagestyle{fancy}% Set default page style to fancy
    \rhead{\includegraphics[width=1cm,height=1cm,keepaspectratio]{Overleaf_Logo.png}}
    \lhead{6.041x: MITx Spring 2014 Course Report}
    \lfoot{[email protected]}
    \rfoot{\emph{Page \thepage\ of \pageref{LastPage}}}% Page X of Y in the footer (centered)

    \usepackage[T1]{fontenc} % ENABLES \textsc{} INSIDE \section{}
    \usepackage{sectsty} % Play with Section --> TextSc
    \allsectionsfont{\scshape} % Declar text will be in textsc font
    \usepackage{tabulary}
    \usepackage[newcommands]{ragged2e}
    \usepackage{tabularx}
    \usepackage{hologo}



    \usepackage{lipsum}


    % and the actual content starts here
    \begin{document}

    \begin{center}
    {\large \textsc{\textbf{MIT Institutional Research, Office of the Provost\\
    in conjunction with the\\
    MIT Office of Digital Learning}}}
    \end{center}


    \noindent
    \includegraphics[height=1cm]{Overleaf_Logo.png}
    \includegraphics[height=1cm]{TexLogo_O.png}\hfill
    \includegraphics[height=1cm]{TexLogo.png}\\
    \noindent\rule{\textwidth}{2pt}



    \begin{center}
    \huge{6.041x: Introduction to Probability - The\\
    Science of Uncertainty\\
    MITx Spring 2014 Course Report}
    \end{center}

    \noindent\rule{\textwidth}{2pt}\vspace{2mm}

    \noindent\includegraphics[width=16cm]{Image.png}\\
    Report prepared by itutional Research, Office of the  Provost.Questions should be addressed to [email protected].\\

    \today

    \vspace{1cm}

    \lipsum


    \end{document}

相关内容