加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
sss.tex 2.83 KB
一键复制 编辑 原始数据 按行查看 历史
曾振宇 提交于 2021-04-03 17:17 . 修改布局
\documentclass[UTF8]{article}
\usepackage{ctex}
\usepackage{pgf,tikz}
\usetikzlibrary{arrows}
\usepackage{tcolorbox}
\usepackage{xcolor}
\usepackage{xhfill}
\usepackage{paracol}
\usepackage{multicol}
\usepackage{picinpar}
\usepackage{geometry}
\usepackage{zhlipsum}
\usepackage{fancyhdr}
\usepackage{titlesec}
\usepackage{flowfram}
\usepackage{lipsum}
\usepackage{caption}
\usepackage{overpic}
\usepackage{ragged2e}
\usepackage{pullquote}
\usepackage{shapepar}
%%%%%%%%%%%%%%设置页面大小%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\geometry{left=0.03\textwidth,right=0.03\textwidth,top=0.05\textwidth,bottom=0.05\textwidth}
\geometry{a2paper}
%%%%%%%%%%%%%%设置页脚页眉%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\pagestyle{fancy}
\footskip=1pt
\cfoot{版权归今日金东所有}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{2pt}
%%%%%%%%%%%%%%重新定义报纸大标题%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\maketitle}{
\vspace*{-0.03\textwidth}
\includegraphics[width=1\textwidth]{titletwo.PNG}
}
%%%%%%%%%%%%%%页面样式设置%%%%%%%%%%%
\newstaticframe[1]{1.00\textwidth}{0.05\textheight}{0.00\textwidth}{0.95\textheight}[statico0]
\newflowframe[1]{0.30\textwidth}{0.95\textheight}{0.00\textwidth}{0.00\textheight}[statico1]
\newstaticframe[1]{0.40\textwidth}{0.20\textheight}{0.30\textwidth}{0.00\textheight}[statico2]
\newstaticframe[1]{0.40\textwidth}{0.45\textheight}{0.30\textwidth}{0.20\textheight}[statico3]
\newstaticframe[1]{0.40\textwidth}{0.30\textheight}{0.30\textwidth}{0.65\textheight}[statico4]
\newstaticframe[1]{0.30\textwidth}{0.95\textheight}{0.70\textwidth}{0.00\textheight}[statico5]
\begin{document}
\begin{tcolorbox}
[colframe=red!75!white,colback=white,height=0.95\textheight,boxrule=2pt]
%此处插入新闻1
1
\end{tcolorbox}
%页眉标题设置
\begin{staticcontents*}{statico0}
\begin{tcolorbox}
[colframe=red!75!white,colback=white,height=0.05\textheight,boxrule=2pt]
\includegraphics[width=1\textwidth,height=0.05\textheight]{titletwo.PNG}
\end{tcolorbox}
\end{staticcontents*}
\begin{staticcontents*}{statico2}
\begin{tcolorbox}
[colframe=red!75!white,colback=white,height=0.20\textheight,boxrule=2pt]
%此处插入新闻2
2
\end{tcolorbox}
\end{staticcontents*}
\begin{staticcontents*}{statico3}
\begin{tcolorbox}
[colframe=red!75!white,colback=white,height=0.45\textheight,boxrule=2pt]
%此处插入新闻3
3
\end{tcolorbox}
\end{staticcontents*}
\begin{staticcontents*}{statico4}
\begin{tcolorbox}
[colframe=red!75!white,colback=white,height=0.30\textheight,boxrule=2pt]
%此处插入新闻4
4
\end{tcolorbox}
\end{staticcontents*}
\begin{staticcontents*}{statico5}
\begin{tcolorbox}
[colframe=red!75!white,colback=white,height=0.95\textheight,boxrule=2pt]
%此处插入新闻5
5
\end{tcolorbox}
\end{staticcontents*}
\end{document}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化