Skip to content

Commit 98ea4a1

Browse files
committed
Fix issues with quote environment
1 parent ac8e443 commit 98ea4a1

File tree

3 files changed

+13
-9
lines changed

3 files changed

+13
-9
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
/.vscode

template.tex

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@
33
\usepackage[T1]{fontenc}
44
\usepackage[utf8]{inputenc}
55
\usepackage{lmodern}
6-
\usepackage{hyperref}
76
\usepackage{graphicx}
87
\usepackage{caption}
98
\usepackage{natbib}
9+
\usepackage{xcolor}
10+
\usepackage{changepage}
11+
\usepackage{framed}
12+
\usepackage{hyperref}
1013
\bibliographystyle{abbrvnat}
1114

1215
% Make list items more compact
@@ -15,28 +18,26 @@
1518

1619
[- IMPORTS -]
1720

18-
% Style quotes
19-
\usepackage{xcolor}
20-
% Change links to basic
2121
\hypersetup{
2222
colorlinks,
2323
linkcolor={black},
2424
citecolor={black},
25-
% urlcolor={blue!80!black}
2625
urlcolor={black}
2726
}
28-
\usepackage{framed}
29-
\definecolor{quoteshade}{rgb}{0.95,0.95,1}
27+
28+
% Style quotes
29+
\definecolor{darkblue}{rgb}{0.0, 0.0, 0.55}
30+
\definecolor{quoteshade}{rgb}{0.95, 0.95, 1}
3031
\renewenvironment{quote}{%
3132
\def\FrameCommand{%
3233
\hspace{1pt}%
3334
{\color{darkblue}\vrule width 2pt}%
3435
{\color{quoteshade}\vrule width 4pt}%
3536
\colorbox{quoteshade}%
3637
}%
37-
\MakeFramed{\advance\hsize-\width\FrameRestore}
38+
\MakeFramed {\advance\hsize-\width \FrameRestore}%
3839
\noindent\hspace{-8pt}% disable indenting first paragraph
39-
\begin{adjustwidth}
40+
\begin{adjustwidth}{0pt}{0pt}% adjust as needed
4041
\vspace{2pt}\vspace{2pt}%
4142
}
4243
{%

template.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,4 @@ packages:
4747
- lmodern
4848
- natbib
4949
- xcolor
50+
- changepage

0 commit comments

Comments
 (0)