Skip to content

Alternative lists adjustment #1134

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 27, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Install the `MacTeX distribution <http://tug.org/mactex/>`_.
If you are on a slow network, you'll want to get the `BasicTeX package <http://tug.org/mactex/morepackages.html>`_ instead,
then run the following command to install the other packages that the draft requires:

sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts
sudo tlmgr install latexmk isodate substr relsize ulem fixme rsfs extract layouts enumitem

------------
Instructions
Expand Down
4 changes: 2 additions & 2 deletions source/macros.tex
Original file line number Diff line number Diff line change
Expand Up @@ -353,8 +353,8 @@
%%--------------------------------------------------
%% Indented text
\newenvironment{indented}
{\list{}{}\item\relax}
{\endlist}
{\begin{indenthelper}\item\relax}
{\end{indenthelper}}

%%--------------------------------------------------
%% Library item descriptions
Expand Down
1 change: 1 addition & 0 deletions source/std.tex
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
\usepackage{parskip} % handle non-indented paragraphs "properly"
\usepackage{array} % new column definitions for tables
\usepackage[normalem]{ulem}
\usepackage{enumitem}
\usepackage{color} % define colors for strikeouts and underlines
\usepackage{amsmath} % additional math symbols
\usepackage{mathrsfs} % mathscr font
Expand Down
8 changes: 7 additions & 1 deletion source/styles.tex
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,13 @@
% set style for main text
\setlength{\parindent}{0pt}
\setlength{\parskip}{1ex}
\setlength{\partopsep}{-1.5ex}

% set style for lists (itemizations, enumerations)
\setlength{\partopsep}{0pt}
\newlist{indenthelper}{itemize}{1}
\setlist[itemize]{parsep=\parskip, partopsep=0pt, itemsep=0pt, topsep=0pt}
\setlist[enumerate]{parsep=\parskip, partopsep=0pt, itemsep=0pt, topsep=0pt}
\setlist[indenthelper]{parsep=\parskip, partopsep=0pt, itemsep=0pt, topsep=0pt, label={}}

%%--------------------------------------------------
%% set caption style and delimiter
Expand Down