There is a bug in the thesis class for the layout commands like \horizontalmarginsvalue.
Indeed, calling them does not actually change the layout since the if conditions that sets the margin values and the \checkandfixthelayout command are only executed at loading time. Thus changing any value in the preamble will have no effect whatsoever.
Proposed solution
The margin values should be passed as parameters to the class so that they can be set directly.
Additionally, the other commands should force a call to the command to fix the layout.
# Description of the problem
There is a bug in the thesis class for the [layout commands](https://git.tigrau.ovh/Ambroise/LaTeX-Templates/src/branch/master/York-Thesis/yorkthesis.cls#L72-L75) like `\horizontalmarginsvalue`.
Indeed, calling them does not actually change the layout since the if conditions that sets the margin values and the `\checkandfixthelayout` command are [only executed at loading time](https://git.tigrau.ovh/Ambroise/LaTeX-Templates/src/branch/master/York-Thesis/yorkthesis.cls#L77-L97). Thus changing any value in the preamble will have no effect whatsoever.
# Proposed solution
The margin values should be passed as parameters to the class so that they can be set directly.
Additionally, the other commands should force a call to the command to fix the layout.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Description of the problem
There is a bug in the thesis class for the layout commands like
\horizontalmarginsvalue.Indeed, calling them does not actually change the layout since the if conditions that sets the margin values and the
\checkandfixthelayoutcommand are only executed at loading time. Thus changing any value in the preamble will have no effect whatsoever.Proposed solution
The margin values should be passed as parameters to the class so that they can be set directly.
Additionally, the other commands should force a call to the command to fix the layout.
Fix the layout commandsto Bug: Fix the layout commands