Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
1
Help us understand the problem. What is going on with this article?
@yamau_

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

More than 1 year has passed since last update.

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
Help us understand the problem. What is going on with this article?
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away

Comments

No comments
Sign up for free and join this conversation.
Sign Up
If you already have a Qiita account Login
1
Help us understand the problem. What is going on with this article?