update theme

This commit is contained in:
2023-10-13 12:30:13 +02:00
parent 9346aee86d
commit f8070f6e51
37 changed files with 3017 additions and 3364 deletions

View File

@@ -7,7 +7,7 @@
* Startup
:PROPERTIES:
:HEADER-ARGS:matlab+: :tangle ~/Documents/MATLAB/startup.m
:HEADER-ARGS:matlab+: :tangle ~/.config/matlab/startup.m
:END:
** Setup LaTeX as a default interpreter
@@ -16,7 +16,6 @@ set(groot, 'DefaultTextInterpreter', 'LaTeX');
set(groot, 'DefaultAxesTickLabelInterpreter', 'LaTeX');
set(groot, 'DefaultAxesFontName', 'LaTeX');
set(groot, 'DefaultLegendInterpreter', 'LaTeX');
set(groot, 'DefaultConstantLineInterpreter', 'LaTeX');
#+end_src
** Default Line Width
@@ -39,14 +38,12 @@ set(groot, 'DefaultTextFontSize', 10);
set(groot, 'DefaultAxesFontUnits', 'points');
set(groot, 'DefaultAxesFontSize', 10);
set(groot, 'DefaultUicontrolFontSize', 10);
set(groot, 'DefaultConstantLineFontSize', 10);
#+end_src
** Default Fonts
#+begin_src matlab
set(groot, 'DefaultAxesFontName', 'Helvetica');
set(groot, 'DefaultTextFontName', 'Helvetica');
set(groot, 'DefaultConstantLineFontName', 'Helvetica');
#+end_src
** Make figures into a Box
@@ -88,6 +85,13 @@ format compact;
format long g;
#+end_src
** Change TMPDIR to deal with Archlinux issue
See https://fr.mathworks.com/matlabcentral/answers/1798895-invalid-cross-device-link-18-when-saving-a-file-on-arch-linux?s_tid=srchtitle
#+begin_src matlab
setenv('TMPDIR', '/home/thomas/.cache')
#+end_src
** Home Path
#+begin_src matlab
toolboxes_path = '~/Cloud/programming/matlab/';
@@ -161,7 +165,7 @@ clear;
* Setup
:PROPERTIES:
:HEADER-ARGS:matlab+: :tangle ~/Documents/MATLAB/setup.m
:HEADER-ARGS:matlab+: :tangle ~/.config/matlab/setup.m
:END:
This script should be run once after Matlab is installed.