1.安科医学图片怎么居中 和左边的条形码到检测项目的中间?2.第二页的这个线应该是页脚的线吧 怎么调整\geometry{a4paper,hmargin=2cm,top=3.5cm,bottom=3c...
1.安科医学图片怎么居中 和左边的条形码到检测项目的中间?
2.第二页的这个线应该是页脚的线吧 怎么调整\geometry{a4paper,hmargin=2cm,top=3.5cm,bottom=3cm,headsep=1.25cm,headheight=24pt,footskip=0cm}(目前只设置了页脚)
图片成品图片
代码:
\documentclass{article}
\usepackage{tikz}
\usepackage{eso-pic}
\usepackage{xeCJK}
\usepackage{fancyhdr}
\usepackage{graphicx,psfrag}
\usepackage{setspace}
\usepackage{array}
\usepackage{tcolorbox}
\usepackage{enumerate}
\usepackage[colorlinks,linkcolor=red]{hyperref}
\usepackage{rotating}
\usepackage{pifont}
\usepackage{makecell}
\usepackage{tabularx}
\usepackage{booktabs}
\usepackage{makecell}
\usepackage{multirow}
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{supertabular}
\usepackage{pdflscape}
\usepackage{dblfloatfix}
\usepackage{xcolor}
\usepackage{float}
\usepackage{ulem}
\usepackage{colortbl}
\usepackage{longtable}
\usepackage{indentfirst}
\usepackage[usestackEOL]{stackengine}
\usepackage[a4paper]{geometry}
\usepackage[yyyymmdd]{datetime}
\renewcommand{\dateseparator}{/}
\newcommand{\chuhao}{\fontsize{42.2pt}{\baselineskip}\selectfont}
\newcommand{\xiaochu}{\fontsize{36.1pt}{\baselineskip}\selectfont}
\newcommand{\yihao}{\fontsize{26.1pt}{\baselineskip}\selectfont}
\newcommand{\xiaoyi}{\fontsize{24.1pt}{\baselineskip}\selectfont}
\newcommand{\erhao}{\fontsize{22.1pt}{\baselineskip}\selectfont}
\newcommand{\xiaoer}{\fontsize{18.1pt}{\baselineskip}\selectfont}
\newcommand{\sanhao}{\fontsize{16.1pt}{\baselineskip}\selectfont}
\newcommand{\xiaosan}{\fontsize{15.1pt}{\baselineskip}\selectfont}
\newcommand{\sihao}{\fontsize{14.1pt}{\baselineskip}\selectfont}
\newcommand{\xiaosi}{\fontsize{12.1pt}{\baselineskip}\selectfont}
\newcommand{\wuhao}{\fontsize{10.5pt}{\baselineskip}\selectfont}
\newcommand{\xiaowu}{\fontsize{9.0pt}{\baselineskip}\selectfont}
\newcommand{\liuhao}{\fontsize{7.5pt}{\baselineskip}\selectfont}
\newcommand{\xiaoliu}{\fontsize{6.5pt}{\baselineskip}\selectfont}
\newcommand{\qihao}{\fontsize{5.5pt}{\baselineskip}\selectfont}
\newcommand{\bahao}{\fontsize{5.0pt}{\baselineskip}\selectfont}
\newcommand{\kaiti}{\fontfamily{楷体}\selectfont}
\setCJKfamilyfont{yh}{Microsoft YaHei} %微软雅黑 yh
\setCJKfamilyfont{hei}{SimHei} %黑体 hei
\setCJKmainfont[ItalicFont={楷体}, BoldFont={黑体}]{宋体}%衬线字体 缺省中文字体为
\setCJKsansfont{黑体}
\setCJKmonofont{仿宋_GB2312}%中文等宽字体
\definecolor{biaotoulan}{rgb}{0.18,0.32,0.58} %表头蓝底色
\linespread{1}
\graphicspath{{/}}
\geometry{a4paper,hmargin=2cm,top=3.5cm,bottom=3cm,headsep=1.25cm,headheight=24pt,footskip=0cm}
\pagestyle{fancy}
\fancyfoot[L]{
\xiaowu
\hspace{0pt} \textcolor{biaotoulan}{条形码:}\\
\hspace{0pt} \textcolor{biaotoulan}{报告日期:}\\
\hspace{0pt} \textcolor{biaotoulan}{检测项目:安朗尼}
}
\fancyfoot[R]{
\includegraphics[width=0.2\linewidth]{yejiaoanke.png}
}
\makeatletter
\newcommand\dlmu[2][4cm]{\hskip1pt\underline{\hb@xt@ #1{\hss#2\hss}}\hskip3pt}
\makeatother
\begin{document}
111111
\newpage
222222
\end{document}
这个问题,可以小页环境试试怎么做。
也可以用其他的方式做。
一周热门 更多>