Skip to content

Commit

Permalink
more content
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiomtzlosa committed Dec 21, 2020
1 parent cd52a59 commit 1e210f3
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 29 deletions.
Binary file modified book-cover/universal/book_cover.dvi
Binary file not shown.
Binary file modified book-cover/universal/book_cover.pdf
Binary file not shown.
Binary file modified book_cover.pdf
Binary file not shown.
Binary file modified report-combine.pdf
Binary file not shown.
1 change: 1 addition & 0 deletions report.equ
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
\formatfalse
\contentsline {addequations}{\numberline {2.1}Theoretical Kittel equation expanded for a Permalloy thin-film for X-axe}{3}{eqfigure.caption.8}%
Binary file modified report.pdf
Binary file not shown.
44 changes: 15 additions & 29 deletions utils/imports.tex
Original file line number Diff line number Diff line change
Expand Up @@ -265,9 +265,22 @@
\newif\ifformat
\formattrue

% Command to avoid style expand in TOC/LOT/LOF
\newcommand{\donotexpandstyles}[1]{
\AtBeginDocument{\addtocontents{#1}{\protect\formatfalse}}
\AtEndDocument{\addtocontents{#1}{\protect\formattrue}}
}

% Do not expand styles in table of contents
\AtBeginDocument{\addtocontents{toc}{\protect\formatfalse}}
\AtEndDocument{\addtocontents{toc}{\protect\formattrue}}
\donotexpandstyles{toc}
% Do not expand styles in list of tables
\donotexpandstyles{lot}
% Do not expand styles in list of figures
\donotexpandstyles{lof}
% Do not expand styles in list of equations
\donotexpandstyles{equ}

% Do not show styles on TOC/LOT/LOF, put \maybe before styled text
\makeatletter
\DeclareRobustCommand{\maybe}[1]{%
\ifformat
Expand All @@ -278,33 +291,6 @@
}
\makeatother

% Do not expand styles in list of tables
\AtBeginDocument{\addtocontents{lot}{\protect\formatfalse}}
\AtEndDocument{\addtocontents{lot}{\protect\formattrue}}
\makeatletter
\DeclareRobustCommand{\maybe}[1]{%
\ifformat
\expandafter#1%
\else
\expandafter\@firstofone
\fi
}
\makeatother

% Do not expand styles in list of figures
% https://tex.stackexchange.com/questions/131930/remove-font-styles-in-list-of-figures
\AtBeginDocument{\addtocontents{lof}{\protect\formatfalse}}
\AtEndDocument{\addtocontents{lof}{\protect\formattrue}}
\makeatletter
\DeclareRobustCommand{\maybe}[1]{%
\ifformat
\expandafter#1%
\else
\expandafter\@firstofone
\fi
}
\makeatother

% remove word Chapter at the beginning of each chapter
%\titleformat{\chapter}[block]{\normalfont\huge\bfseries}{\thechapter.}{1em}{\Huge}\titlespacing*{\chapter}{0pt}{-19pt}{0pt}
% https://tex.stackexchange.com/questions/62516/how-to-suppress-chapter-in-chapter-while-keeping-numbering
Expand Down

0 comments on commit 1e210f3

Please sign in to comment.