LoginSignup
1
1

More than 3 years have passed since last update.

LaTeX、listingsでのフレームの簡単なオプション

Last updated at Posted at 2019-05-05

frame=none|topline|bottomline|lines|single|leftline|shadowbox での指定

  • デフォルトは枠なし
    (例)[frame = ]
    スクリーンショット 2019-05-05 16.33.48.png
    frame = none としても同じ.

  • [frame =topline|bottomline|lines|single|leftline|shadowbox]
     順に、上、下、上下、4方向の一重線のフレーム、左と上、影付きフレーム の線が表示される.

(例)[frame = leftline]
スクリーンショット 2019-05-05 16.34.47.png

(例)[frame = shadowbox]
スクリーンショット 2019-05-05 16.43.07.png

tbrlTBRL の8文字による指定

  • アルファベットの小文字が1重線、大文字が2重線を指定し、tbrlは順に、tがtopで上の線、bはbottomで下の線、rは右、lは左の線を指定する.これらを組み合わせてフレームを指定できる.順不同.

(例)[frame=TbL]
スクリーンショット 2019-05-05 16.46.55.png

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1