啸行
啸行
这家伙很懒,什么也没写!

注册于 4年前

回答
103
文章
4
关注者
17

我用的图片是示意图,长宽固定,你可以自己读 keyfloat 包手册,看看高和宽怎么改,更重要的是你的图片尺寸适合这么摆。

\documentclass{article}
\usepackage{keyfloat}
\usepackage{mwe}

\begin{document}
\begin{keyfloats}{2}
    \begin{keyfloats}{2}
        \keyfig{lw=1,c={1st},l=fig:1st}{example-image}
        \keyfig{lw=1,c={2nd},l=fig:2nd}{example-image}
        \keyfig{lw=1,c={3rd},l=fig:3rd}{example-image}
        \keyfig{lw=1,c={4th},l=fig:4th}{example-image}
    \end{keyfloats}
    \keyfig{lw=1,c={5th},l=fig:5th}{example-image}
\end{keyfloats}
\end{document}

image.png

\documentclass[a4paper,UTF8]{ctexart}
%\usepackage{ctex}
\usepackage{geometry}  %设置页边距用
\geometry{left=1.0cm,right=1.0cm,top=1.5cm,bottom=1.5cm}  %设置页边距

\title{每日生产日报}
\author{冯阳}
\date{\today}

\usepackage{longtable}  %使用可以跨页的长表格

\usepackage{graphicx}
\usepackage{caption,subcaption}

%---------------------------------------------------------------------------------------------
\begin{document}
%---------------------------------------------------------------------------------------------
\maketitle
\newpage


\begin{longtable}{|l|l|p{6cm}|c|p{6cm}|c|}         % p用来设置行宽,同时自动换行
\hline
序号 &  施工楼栋  & 现场人员情况 & 施工人数 & 晚上加班情况 & 加班人数 \\
\hline
1    &  1$^\#$楼  & 11层柱加固9人,12层梁板水电预埋2人,3层垃圾整堆5人,1层二构支模5人,1层修补1人,外架落地灰清理2人 & 24 &&\\
\hline
2    &  2$^\#$楼  & 12层柱碰焊2人,钢筋绑扎13人,11层柱拆模9人,爬架提升6人,2层垃圾整堆5人,外架落地灰清理3人,1层外墙螺杆洞修补1人 & 39 &&\\
\hline
3    &  3$^\#$楼  & 12层梁板支模19人,9层外墙螺杆洞封堵2人,水电装落水管2人,8层泥工清扫2人,9层临边防护2人 & 27 &&\\
\hline
4    &  4$^\#$楼  & 架子工2人做一层防护2人搭爬梯,泥工1人四层修补。 & 5 &&\\
\hline
5    &  5$^\#$楼  & 钢筋工23人筏板扎钢筋 & 23 &&\\
\hline
6    &  6$^\#$楼  & 木工7人吊模 & 7 &&\\
\hline
7    &  7$^\#$楼  & 3层柱拼装合模10人,爬架安装4人 & 14 &&\\
\hline
8    &  8$^\#$楼  & 架子2人连墙件预埋,木工5人吊模。 & 7 &&\\
\hline
9    &  9$^\#$楼  & 地下室钢筋工22人绑扎墙柱,木工6人配模 & 28 &&\\
\hline
10   & 10$^\#$楼  &&&&\\
\hline
11   & 11$^\#$楼  &&&&\\
\hline
12   & 12$^\#$楼  &&&&\\
\hline
13   & 13$^\#$楼  & 木工11人配模 & 11 &&\\
\hline
14   & 14$^\#$楼  & 钢筋工:9人面筋绑扎,水电4人预埋线管 & 13 &&\\
\hline
15   & 15$^\#$楼  & 2层梁板钢筋绑扎12人 & 12 &&\\
\hline
16   &   4-1地库  &&&&\\
\hline
17   &   4-2地库  &&&&\\
\hline
18   &   4-3地库  & 承台钢筋绑扎2人 & 2 &&\\
\hline
19   &   4-4地库  &&&&\\
\hline
20   &   4-5地库  &&&&\\
\hline
21   &   5-1地库  &&&&\\
\hline
22   &   5-2地库  &&&&\\
\hline
23   &   5-3地库  &&&&\\
\hline
24   &   5-4地库  &&&&\\
\hline
25   &   5-5地库  &&&&\\
\hline
26   &   5-6地库  &&&&\\
\hline
27   &   5-7地库  &&&&\\
\hline
28   &   6-1地库  &&&&\\
\hline
29   &   6-2地库  &&&&\\
\hline
30   &   6-3地库  & 放线3人,掏桩芯1人,小工2人 & 6 &&\\
\hline
31   &   6-4地库  & 焊止水钢板3人 & 3 &&\\
\hline
32   &   6-5地库  & 泥工4人砌后浇带 & 4 &&\\
\hline
\end{longtable}
\newpage
%---------------------------------------------------------------------------------------------

\begin{figure}
        \captionsetup{labelformat=empty}
        \caption{现场图片}
        \label{fig:example}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{1}
            \captionsetup{labelformat=empty}
            \caption{1$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{2}
            \captionsetup{labelformat=empty}
            \caption{2$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{3}
            \captionsetup{labelformat=empty}
            \caption{3$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{4}
            \captionsetup{labelformat=empty}
            \caption{4$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{5}
            \captionsetup{labelformat=empty}
            \caption{5$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{6}
            \captionsetup{labelformat=empty}
            \caption{6$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{8}
            \captionsetup{labelformat=empty}
            \caption{8$^\#$楼}
    \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{9}
            \captionsetup{labelformat=empty}
            \caption{9$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{13}
            \captionsetup{labelformat=empty}
            \caption{13$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{14}
            \captionsetup{labelformat=empty}
            \caption{14$^\#$楼}
    \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{15}
            \captionsetup{labelformat=empty}
            \caption{15$^\#$楼}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{6-3}
            \captionsetup{labelformat=empty}
            \caption{6-3地库}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{6-4}
            \captionsetup{labelformat=empty}
            \caption{6-4地库}
        \end{subfigure}
        \begin{subfigure}{.25\textwidth}
            \centering
            \includegraphics[width=\textwidth]{6-5}
            \captionsetup{labelformat=empty}
            \caption{6-5地库}
        \end{subfigure}        
    \end{figure}

%----------------------------------------------------------------------------------------------
\end{document}

改好了

\documentclass{ctexbook}
\usepackage{tocloft}
\renewcommand{\cftchapleader}{\cftdotfill{\cftdotsep}}
\usepackage{zhlipsum}
\begin{document}
\tableofcontents
\chapter{例子}
\section{样式}
\zhlipsum[name=zhufu]
\end{document}

main-001.jpg
main-002.jpg
main-003.jpg
main-004.jpg

\documentclass{article}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhead[L]{\runtitle}
\fancyhead[R]{\runauthor}

\usepackage{lipsum}

\title{The title of article}
\author{Author one}

\makeatletter
\let\runauthor\@author
\let\runtitle\@title
\makeatother

\begin{document}
    \maketitle
    \lipsum
\end{document}

0.jpg
1.jpg

\documentclass[10pt]{beamer}
\usepackage{amsmath}
\usepackage{nicematrix}
\usepackage{braket}
\usepackage{arydshln}

\begin{document}

\begin{frame}{Matrix test}

\begin{equation*}
    \begin{pNiceArray}{cc:cc}[first-row,first-col]
        &  \bra{\phi_{B}}  &  \bra{\varphi_{\varepsilon}}  &   \bra{\phi_{B}}  &  \bra{\varphi_{\varepsilon}}   \\
        \bra{\phi_{B}} & A & A  & B  & B \\
        \displaystyle{\int \mathrm{d}\varepsilon \bra{\varphi_{\varepsilon}}} & A & A  & B  & B \\
        \cdashline{2-5}
        \bra{\phi_{B}} & C & C  & D  & D \\
        \displaystyle{\int \mathrm{d}\varepsilon \bra{\varphi_{\varepsilon}}} & C & C  & D  & D \\
    \end{pNiceArray}
\end{equation*}

\end{frame}

\end{document}

image.png

\documentclass[twocolumn]{article}
\setlength{\columnseprule}{0.4pt}
\usepackage{lipsum}

\begin{document}
\lipsum
\end{document}

image.png

假如使用lstlisting环境,那么需要设置literate

好像没见到用工具来做这个的……还是我不熟吧。我个人都爱手动解决

代码需要用代码块来呈现。请规范提问

这个表格的绘制难度不大。
lshort-zh-cn 表格那章节介绍的东西足够画这个表格了。

你用的都是l,其实可以直接规定列宽,p,具体用法查 lshort-zh-cn

你用管理员方式打开命令行运行一下试试吧

提供的代码不是最小工作示例,无法编译

发布
问题