summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/bxghost/bxghost.sty
blob: a4084e8a041876ec53b75f629931e4bf84b728b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%%
%% This is file 'bxghost.sty'.
%%
%% Copyright 2019-2023 Takuto Asakura (wtsnjp)
%%   GitHub:   https://github.com/wtsnjp
%%   Twitter:  @wtsnjp
%%
%% This package is distributed under the MIT License.
%%

%% package declaration
\NeedsTeXFormat{LaTeX2e}
\ProvidesPackage{bxghost}[2023/02/26 v0.5.1]

%% load the library
\RequirePackage{bxghost-lib}

%--------------------------------------- the verb option

\newif\ifbxqgg@verb \bxqgg@verbfalse
\DeclareOption{verb}{\bxqgg@verbtrue}
\DeclareOption{noverb}{\bxqgg@verbfalse}
\ProcessOptions\relax

% patch \verb
\ifbxqgg@verb
  \edef\verb{\noexpand\bxqgg@eghost\unexpanded\expandafter{\verb}}
  \edef\verb@egroup{%
    \unexpanded\expandafter{\verb@egroup}\noexpand\bxqgg@eghost}
\fi

%--------------------------------------- all done
\endinput
%% EOF