洗子の小窝 但行己路 无问山海
歌曲封面 未知作品
  • 歌曲封面Can’t Get It RightBowAsWell
  • 歌曲封面RockstarHYBS
  • 歌曲封面Ontario GothicFoxes in Fiction
  • 歌曲封面When She's GoneJosh Fudge
  • 歌曲封面All The Way HomeWIM
  • 歌曲封面Love Is Just a MemoryMichael Seyer
  • 歌曲封面The Best ThingElectric Youth
  • 歌曲封面Gentle Showerパイパー
  • 歌曲封面Here With Med4vd
  • 歌曲封面CarolineAHV
  • 歌曲封面i walk this earth all by myself - Reeperbahn Festival CollideREEPERBAHN FESTIVAL COLLIDE
  • 歌曲封面Bloody Mary GirlShe Her Her Hers
  • 歌曲封面ArrowsShe Her Her Hers
  • 歌曲封面Episode 33She Her Her Hers
  • 歌曲封面BikeADOY
  • 歌曲封面Was It Something I SaidMyKey
  • 歌曲封面霓虹甜心马赛克
  • 歌曲封面7 in the MorningJosh Fudge
  • 歌曲封面Dinner AloneJosh Fudge
  • 歌曲封面一如往常逃走鮑伯
Title

【LaTeX】分栏显示与列表环境(三)

洗子

·

📝学习录

·

Article
⚠️ 本文最后更新于2024年08月16日,已经过了150天没有更新,若内容或图片失效,请留言反馈
本节我们学习如何设置分栏显示以及列表环境,已经第三节啦!加油加油!

一、分栏显示

分栏显示需要调用宏包multicol

♾️ latex 代码:
\usepackage{multicol}       %多列排版

基本代码如下:

♾️ latex 代码:
\begin{multicols}{2}
    内容
\end{multicols}

{}输入的数值为要该环境下想要分的页面列数,这里的代码用的是2,即分为两列进行排版。

二、有序列表

2.1 有序列表基本格式

有序列表使用的是enumerate环境,基本格式代码如下:

♾️ latex 代码:
\begin{enumerate}
    \item 内容1
    \item 内容2
\end{enumerate}

2.2 有序列表自定义格式

这里列举出三种自定义格式分别为:带括号的阿拉伯序列,小写字母序列和罗马数字序列。

♾️ latex 代码:
\begin{multicols}{4}
    \begin{enumerate}
        \item 内容1
        \item 内容2
    \end{enumerate}
%带括号的阿拉伯序列
    \begin{enumerate}[label = (\arabic*)]
        \item 内容1
        \item 内容2
    \end{enumerate}
%小写字母序列
    \begin{enumerate}[label = \alph*.]
        \item 内容1
        \item 内容2
    \end{enumerate}
%罗马数字序列
    \begin{enumerate}[label =\Roman*.]
        \item 内容1
        \item 内容2
    \end{enumerate}
\end{multicols}

三、无序列表

3.1 无序列表基本格式

♾️ latex 代码:
\begin{itemize}
    \item 内容1
    \item 内容2
\end{itemize}

3.2 无序列表自定义格式

♾️ latex 代码:
\begin{multicols}{2}
    \begin{itemize}
        \item 内容1
        \item 内容2
    \end{itemize}
    
    \begin{itemize}
        \item[-] 内容1
        \item[*] 内容2
    \end{itemize}
\end{multicols}

四、解说列表

一般是用来解释条目的,很少用到大家了解一下就好。

♾️ latex 代码:
\begin{description}
    \item[item a] 内 容1
    \item[item b] 内 容2
\end{description}
现在已有 623 次阅读,3 条评论,1 人点赞
Author:洗子
作者
【LaTeX】分栏显示与列表环境(三)
当前文章累计共 1895 字,阅读大概需要 1 分钟。
【FPGA】按键控制蜂鸣器
2024年3月31日 · 0评论
【FPGA】按键控制LED灯实验
2024年3月20日 · 0评论
【光遇】拾光季任务
2024年3月13日 · 0评论
Comment:共3条
发表
  1. 头像
    @
    很好,学习了.
    · Windows · Chrome

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
  2. 头像
    @

    好友

    🐈️

    二猫
    🤔技术活,有点看不懂了
    · Windows · Chrome

    👍

    💖

    💯

    💦

    😄

    🪙

    👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
    1. 头像
      @

      博主

      洗子
      @二猫
      嘎嘎~很简单的啦😄
      · Windows · Chrome

      👍

      💖

      💯

      💦

      😄

      🪙

      👍 0 💖 0 💯 0 💦 0 😄 0 🪙 0
搜 索 消 息 足 迹
你还不曾留言过..
你还不曾留下足迹..
博主 欢迎访问洗子的小站,常来访哦! 不再显示
博主