1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

TeX文書の編集中、白バックで目が疲れる

Posted at

emacsでもなんでも、TeXソースの編集画面は黒バックで、表示チェックしてるpdfの文章は白バックって方いませんか?
私は、それでした。
pdfも黒バックにして、目の疲れを軽減したいということで、pdfを黒バックにするという、超小技。

TeXソースに次の二行を仕込む。

\usepackeage{pagecolor}

としておいて、

\pagecolor{black!100}\color{white}

をどこかに入れておけば、そこ以降は黒バックになります。
100の部分を変えれば、ソフトに黒目のバックになってくれます。

図とかは、黒バックで作成し直さないといけないので、諦めました。
ほんとは、dviからpdfへの変換時に、反転処理できればいいのですが、難しそうなので、今後の課題に。

では、目の健康を!

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?