update theme
This commit is contained in:
14
matlab.org
14
matlab.org
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user