Skip to content

Commit

Permalink
avoid missing jumoline.sty error by using IfFileExists
Browse files Browse the repository at this point in the history
  • Loading branch information
kmuto committed Feb 28, 2017
1 parent b3b7ce0 commit 7709adc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/latex/layout.tex.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
\usepackage{amsmath}

%% if you use @<u>{} (underline), use jumoline.sty
\IfFileExists{jumoline.sty}{
\usepackage{jumoline}
}

\newenvironment{shadedb}{%
\def\FrameCommand{\fboxsep=\FrameSep \colorbox{shadecolorb}}%
Expand Down
2 changes: 2 additions & 0 deletions test/assets/test_template.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@
\usepackage{amsmath}

%% if you use @<u>{} (underline), use jumoline.sty
\IfFileExists{jumoline.sty}{
\usepackage{jumoline}
}

\newenvironment{shadedb}{%
\def\FrameCommand{\fboxsep=\FrameSep \colorbox{shadecolorb}}%
Expand Down

0 comments on commit 7709adc

Please sign in to comment.