rc-qlc 0.3.24__cp311-cp311-macosx_11_0_arm64.whl → 0.3.27__cp311-cp311-macosx_11_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (84) hide show
  1. qlc/cli/__init__.py +100 -9
  2. qlc/cli/installer.py +23 -5
  3. qlc/cli/qlc_main.py +54 -32
  4. qlc/cli/qlc_py_main.py +43 -38
  5. qlc/config/json/qlc_config.json +94 -10
  6. qlc/config/nml/mars_A1_sfc.nml +4 -5
  7. qlc/config/nml/mars_A3_sfc.nml +0 -1
  8. qlc/config/nml/mars_B1_pl.nml +2 -2
  9. qlc/{examples/cams_case_1/config/nml/mars_A3_sfc.nml → config/nml/mars_B1_sfc.nml} +7 -8
  10. qlc/config/nml/mars_C1_pl.nml +1 -1
  11. qlc/{examples/cams_case_1/config/nml/mars_C1_pl.nml → config/nml/mars_C1_sfc.nml} +7 -8
  12. qlc/config/nml/mars_C2_pl.nml +1 -1
  13. qlc/{examples/cams_case_1/config/qlc_cams.conf → config/qlc.conf} +80 -18
  14. qlc/{examples/cams_case_1/mod/b2ro/2018/b2ro_20181215-20181231_A3_sfc.grb → doc/CAMS_b2ro-b2rn_20181201-20181221_qlc_Z1-png_202509090814.pdf} +0 -0
  15. qlc/doc/README.md +213 -49
  16. qlc/doc/USAGE.md +266 -29
  17. qlc/examples/cams_case_1/mod/b2rn/2018/b2rn_20181201-20181221_B1_pl.grb +0 -0
  18. qlc/examples/cams_case_1/mod/b2rn/2018/b2rn_20181201-20181221_C1_sfc.grb +0 -0
  19. qlc/examples/cams_case_1/mod/b2ro/2018/b2ro_20181201-20181221_B1_pl.grb +0 -0
  20. qlc/examples/cams_case_1/mod/b2ro/2018/b2ro_20181201-20181221_C1_sfc.grb +0 -0
  21. qlc/install.py +272 -107
  22. qlc/py/__main__.cpython-311-darwin.so +0 -0
  23. qlc/py/averaging.cpython-311-darwin.so +0 -0
  24. qlc/py/bias_plots.cpython-311-darwin.so +0 -0
  25. qlc/py/control.cpython-311-darwin.so +0 -0
  26. qlc/py/io.cpython-311-darwin.so +0 -0
  27. qlc/py/loadmod.cpython-311-darwin.so +0 -0
  28. qlc/py/loadobs.cpython-311-darwin.so +0 -0
  29. qlc/py/logging_utils.cpython-311-darwin.so +0 -0
  30. qlc/py/map_plots.cpython-311-darwin.so +0 -0
  31. qlc/py/matched.cpython-311-darwin.so +0 -0
  32. qlc/py/plot_config.cpython-311-darwin.so +0 -0
  33. qlc/py/plotting.cpython-311-darwin.so +0 -0
  34. qlc/py/plugin_loader.cpython-311-darwin.so +0 -0
  35. qlc/py/processing.cpython-311-darwin.so +0 -0
  36. qlc/py/scatter_plots.cpython-311-darwin.so +0 -0
  37. qlc/py/stations.cpython-311-darwin.so +0 -0
  38. qlc/py/statistics.cpython-311-darwin.so +0 -0
  39. qlc/py/style.cpython-311-darwin.so +0 -0
  40. qlc/py/timeseries_plots.cpython-311-darwin.so +0 -0
  41. qlc/py/utils.cpython-311-darwin.so +0 -0
  42. qlc/py/version.cpython-311-darwin.so +0 -0
  43. qlc/sh/qlc_A1.sh +30 -11
  44. qlc/sh/qlc_B1a.sh +1 -18
  45. qlc/sh/qlc_B2.sh +8 -1
  46. qlc/sh/qlc_C5.sh +90 -65
  47. qlc/sh/qlc_D1.sh +287 -56
  48. qlc/sh/qlc_Z1.sh +6 -6
  49. qlc/sh/qlc_batch.sh +61 -0
  50. qlc/sh/qlc_common_functions.sh +17 -29
  51. qlc/sh/qlc_main.sh +49 -26
  52. qlc/sh/tex_template/beamercolorthemeCAMS2_35.sty +51 -0
  53. qlc/sh/tex_template/beamerfontthemeCAMS2_35.sty +166 -0
  54. qlc/sh/tex_template/beamerthemeCAMS2_35.sty +25 -0
  55. qlc/sh/tex_template/subcaption.sty +170 -0
  56. qlc/sh/tex_template/template.tex +109 -0
  57. rc_qlc-0.3.27.dist-info/METADATA +309 -0
  58. rc_qlc-0.3.27.dist-info/RECORD +103 -0
  59. qlc/config/json/qlc_config_example_1a_all-obs.json +0 -237
  60. qlc/config/json/qlc_config_example_1b_all-mod.json +0 -353
  61. qlc/config/json/qlc_config_example_1c_all-coll.json +0 -266
  62. qlc/config/json/qlc_config_example_2a_all-obs.json +0 -237
  63. qlc/config/json/qlc_config_example_2b_all-mod.json +0 -353
  64. qlc/config/json/qlc_config_example_2c_all-coll.json +0 -265
  65. qlc/config/json/qlc_config_example_3a-us_obs.json +0 -82
  66. qlc/config/json/qlc_config_example_3b-us_mod.json +0 -122
  67. qlc/config/json/qlc_config_example_3c-us_coll.json +0 -46
  68. qlc/config/json/qlc_config_example_4a_eu-obs.json +0 -41
  69. qlc/config/json/qlc_config_example_4b_eu-mod.json +0 -122
  70. qlc/config/json/qlc_config_example_4c_eu-coll.json +0 -45
  71. qlc/config/qlc_cams.conf +0 -26
  72. qlc/config/qlc_test.conf +0 -26
  73. qlc/config/qlc_tex.conf +0 -107
  74. qlc/examples/cams_case_1/config/json/qlc_config.json +0 -41
  75. qlc/examples/cams_case_1/config/nml/mars_B1_pl.nml +0 -19
  76. qlc/examples/cams_case_1/mod/iqi9/2018/iqi9_20181215-20181231_A3_sfc.grb +0 -0
  77. qlc/sh/qlc_start.sh +0 -23
  78. qlc/sh/qlc_start_batch.sh +0 -46
  79. rc_qlc-0.3.24.dist-info/METADATA +0 -142
  80. rc_qlc-0.3.24.dist-info/RECORD +0 -113
  81. {rc_qlc-0.3.24.dist-info → rc_qlc-0.3.27.dist-info}/WHEEL +0 -0
  82. {rc_qlc-0.3.24.dist-info → rc_qlc-0.3.27.dist-info}/entry_points.txt +0 -0
  83. {rc_qlc-0.3.24.dist-info → rc_qlc-0.3.27.dist-info}/licenses/LICENSE +0 -0
  84. {rc_qlc-0.3.24.dist-info → rc_qlc-0.3.27.dist-info}/top_level.txt +0 -0
qlc/sh/qlc_Z1.sh CHANGED
@@ -1,4 +1,4 @@
1
- #!/bin/sh -e
1
+ #!/bin/bash -e
2
2
 
3
3
  # Source the configuration file to load the settings
4
4
  . "$CONFIG_FILE"
@@ -20,7 +20,7 @@ for param in "$@"; do
20
20
  log "Subscript $0 received parameter: $param"
21
21
  done
22
22
 
23
- log "$0 TEX_DIRECTORY = $TEX_DIRECTORY"
23
+ log "$0 TEX_DIRECTORY = ${TEX_DIRECTORY}"
24
24
  pwd -P
25
25
 
26
26
  # module load for ATOS
@@ -90,10 +90,10 @@ log "--------------------------------------------------------------------------
90
90
  log "Processing ${PLOTTYPE}:"
91
91
 
92
92
  log "QLTYPE : $QLTYPE"
93
- log "TEAM_PREFIX : $TEAM_PREFIX"
94
- log "EVALUATION_PREFIX: $EVALUATION_PREFIX"
95
- log "MODEL_RESOLUTION : $MODEL_RESOLUTION"
96
- log "TIME_RESOLUTION : $TIME_RESOLUTION"
93
+ log "TEAM_PREFIX : ${TEAM_PREFIX}"
94
+ log "EVALUATION_PREFIX: ${EVALUATION_PREFIX}"
95
+ log "MODEL_RESOLUTION : ${MODEL_RESOLUTION}"
96
+ log "TIME_RESOLUTION : ${TIME_RESOLUTION}"
97
97
  log "mDate : $mDate"
98
98
  log "ext : $ext"
99
99
  log "exp1 : $exp1"
qlc/sh/qlc_batch.sh ADDED
@@ -0,0 +1,61 @@
1
+ #!/bin/bash -e
2
+ SCRIPT="$0"
3
+ # user specific configuration file
4
+ QLC_DIR="$HOME/qlc"
5
+ CONFIG_DIR="$QLC_DIR/config"
6
+ CONFIG_FILE="$CONFIG_DIR/qlc.conf"
7
+
8
+ # Source the configuration file and automatically export all defined variables
9
+ # to make them available to any subscripts that are called.
10
+ set -a
11
+ . "$CONFIG_FILE"
12
+ set +a
13
+
14
+ # Source the common functions script to make the 'log' function available
15
+ . "$SCRIPTS_PATH/qlc_common_functions.sh"
16
+
17
+ log "________________________________________________________________________________________"
18
+ log "Start ${SCRIPT} at `date`"
19
+ #log "----------------------------------------------------------------------------------------"
20
+ #log "Copyright (c) 2021-2025 ResearchConcepts io GmbH. All Rights Reserved. "
21
+ #log "Questions / comments to: Swen M. Metzger <sm@researchconcepts.io> "
22
+ log "----------------------------------------------------------------------------------------"
23
+ if [ "$1" == "" ] ;then
24
+ log "type, e.g.:"
25
+ log "sqlc b2ro b2rn 2018-12-01 2018-12-21 mars"
26
+ log "sqlc b2ro b2rn 2018-12-01 2018-12-21"
27
+ log " "
28
+ log "Use option 'mars' to retrieve files and then submit a a dependency job once all data have been retrieved."
29
+ log "Or, option 'mars' can be skipped, if all data are already present in $MARS_RETRIEVAL_DIRECTORY"
30
+ log "________________________________________________________________________________________"
31
+ log "End ${SCRIPT} at `date`"
32
+ log "________________________________________________________________________________________"
33
+ exit 0
34
+ fi
35
+ if [ "$5" == "mars" ] ;then
36
+ jobid='${SLURM_JOB_ID}'
37
+ cat > $HOME/qlc/run/qlc_batch.sh$$<<EOF
38
+ #!/bin/ksh -e
39
+ #SBATCH --job-name=$HOME/qlc/run/qlc_batch.sh$$
40
+ #SBATCH --output=log-%J.out
41
+ #SBATCH --error=err-%J.out
42
+ #SBATCH --export=ALL
43
+ qlc $1 $2 $3 $4 $5
44
+ echo "SLURM_JOB_ID = ${jobid}"
45
+ sbatch --dependency=afterok:${jobid} --mail-user=$USER@ecmwf.int qlc $1 $2 $3 $4
46
+ EOF
47
+ else
48
+ cat > $HOME/qlc/run/qlc_batch.sh$$<<EOF
49
+ #!/bin/ksh -e
50
+ #SBATCH --job-name=$HOME/qlc/run/qlc_batch.sh$$
51
+ #SBATCH --output=log-%J.out
52
+ #SBATCH --error=err-%J.out
53
+ qlc $1 $2 $3 $4
54
+ EOF
55
+ fi
56
+ sbatch $HOME/qlc/run/qlc_batch.sh$$
57
+ squeue -u "$USER"
58
+ log "________________________________________________________________________________________"
59
+ log "End ${SCRIPT} at `date`"
60
+ log "________________________________________________________________________________________"
61
+ exit 0
@@ -1,4 +1,4 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
2
 
3
3
  # Source the configuration file to load the settings
4
4
  . "$CONFIG_FILE"
@@ -13,27 +13,13 @@ HOST=`hostname -s | awk '{printf $1}' | cut -c 1`
13
13
 
14
14
  # Function to log messages to a file
15
15
  log() {
16
- local timestamp
17
- timestamp1=$(date +"%Y-%m-%d %H:%M:%S")
18
- timestamp2=$(date +"%Y%m%d%H%M")
19
- # timestamp2=$(date +"%Y%m%d%H")
20
- local log_message="[$timestamp1] $1"
21
-
22
- # Create log directory if not existent
23
- if [ ! -d "$WORKING_DIRECTORY/log" ]; then
24
- mkdir -p $WORKING_DIRECTORY/log
25
- fi
26
-
27
- # Specify the log file path
28
- # local log_file="$WORKING_DIRECTORY/log/qlc_${timestamp2}_$$.log"
29
- local log_file="$WORKING_DIRECTORY/log/qlc_${timestamp2}.log"
30
-
31
- # Append the log message to the log file
32
- echo "$log_message" >> "$log_file"
33
- # echo "$log_message" | tee -a "$log_file"
34
-
35
- # Also print the log message to the standard output (console)
36
- echo "$log_message"
16
+ # Create a log message and write to stdout and log file
17
+ # We use a subshell to ensure all output is captured and redirected atomically
18
+ (
19
+ local log_message
20
+ log_message=$(printf "[%s] %s" "$(date +"%Y-%m-%d %H:%M:%S")" "$*")
21
+ echo "$log_message"
22
+ )
37
23
  }
38
24
 
39
25
  # Define the sorting function
@@ -53,15 +39,15 @@ sort_files() {
53
39
  # Initialize arrays
54
40
  fnam=()
55
41
 
56
- # workaround for system dependency
42
+ # workaround for system dependency (obsolete)
57
43
  if [ "${myOS}" == "Darwin" ]; then
58
- # var_element=8
59
- var_element=9
60
- exp_element=10
44
+ # var_element=9
45
+ # exp_element=10
46
+ var_element=7
47
+ exp_element=8
61
48
  else
62
- # var_element=7
63
- var_element=8
64
- exp_element=9
49
+ var_element=7
50
+ exp_element=8
65
51
  fi
66
52
 
67
53
  # Read the list of files from the file list
@@ -72,6 +58,8 @@ sort_files() {
72
58
  var="${parts[$var_element]}"
73
59
  fvar+=("$var")
74
60
  vars+=" $var" # Create a space-separated list of variable names
61
+ # echo "file $file"
62
+ # echo "var $var"
75
63
  done < "$files_list"
76
64
 
77
65
  # Get unique variable list
qlc/sh/qlc_main.sh CHANGED
@@ -1,6 +1,23 @@
1
- #!/bin/sh -e
1
+ #!/bin/bash -e
2
2
  umask 0022
3
3
 
4
+ # --- Start: Environment Setup ---
5
+ # Find the Python executable that runs this tool.
6
+ # This ensures that any executables installed in the same environment (like pyferret) are found.
7
+ # Fallback to 'python3' if 'qlc' is not in the path (e.g., during development).
8
+ PYTHON_CMD=$(which python3)
9
+ if command -v qlc >/dev/null 2>&1; then
10
+ QLC_PATH=$(which qlc)
11
+ PYTHON_CMD=$(head -n 1 "$QLC_PATH" | sed 's/^#!//')
12
+ fi
13
+
14
+ # Get the directory of the Python executable.
15
+ PYTHON_BIN_DIR=$(dirname "$PYTHON_CMD")
16
+
17
+ # Prepend this directory to the PATH for this script and all subscripts.
18
+ export PATH="$PYTHON_BIN_DIR:$PATH"
19
+ # --- End: Environment Setup ---
20
+
4
21
  ARCH="`uname -m`"
5
22
  myOS="`uname -s`"
6
23
  HOST="`hostname -s`"
@@ -9,14 +26,15 @@ CUSR="`echo $USER`"
9
26
  QLC_DIR="$HOME/qlc"
10
27
  CONFIG_DIR="$QLC_DIR/config"
11
28
  CONFIG_FILE="$CONFIG_DIR/qlc.conf"
12
- CONFIG_TEX="$CONFIG_DIR/qlc_tex.conf"
13
29
 
14
- # Source the configuration file to load the settings
30
+ # Source the configuration file and automatically export all defined variables
31
+ # to make them available to any subscripts that are called.
32
+ set -a
15
33
  . "$CONFIG_FILE"
34
+ set +a
35
+
16
36
  export CONFIG_DIR
17
37
  export CONFIG_FILE
18
- . "$CONFIG_TEX"
19
- export CONFIG_TEX
20
38
 
21
39
  # Include common functions
22
40
  FUNCTIONS="$SCRIPTS_PATH/qlc_common_functions.sh"
@@ -29,7 +47,7 @@ log "Start ${SCRIPT} at `date`"
29
47
  log "----------------------------------------------------------------------------------------"
30
48
  log "Purpose of QLC = Quick Look CAMS/IFS results -- ${HOST} on ${myOS} / ${ARCH} - ${CUSR} "
31
49
  log " QLC uses subscripts defined in $CONFIG_FILE "
32
- log " see $QLC_DIR/doc/README.md for details "
50
+ log " see $QLC_DIR/doc/README.md for details "
33
51
  log "Don^t expect too much, as we follow the KISS principle >Keep it simple, stupid!< ;-) ..."
34
52
  log "________________________________________________________________________________________"
35
53
  log "Copyright (c) 2021-2025 ResearchConcepts io GmbH. All Rights Reserved. "
@@ -38,10 +56,14 @@ log "--------------------------------------------------------------------------
38
56
 
39
57
  # Check if the required parameters are provided
40
58
  if [ $# -eq 0 ]; then
41
- log "Error: No parameters provided. Please provide your parameters in the following syntax:"
42
- log "$0 exp1 exp2 startDate endDate, e.g.:"
43
- log "$0 b2ro iqi9 2018-12-15 2018-12-31 mars"
44
- log "$0 b2ro iqi9 2019-01-01 2019-01-31"
59
+ log "No parameters provided. Please provide your parameters in the following syntax:"
60
+ log "qlc exp1 exp2 startDate endDate [mars]"
61
+ log "type, e.g.:"
62
+ log "qlc b2ro b2rn 2018-12-01 2018-12-21"
63
+ log "qlc b2ro b2rn 2018-12-01 2018-12-21 mars"
64
+ log " "
65
+ log "Use option 'mars' to retrieve files and then submit a dependency job once all data have been retrieved."
66
+ log "Or, option 'mars' can be skipped, if all data are already present in $MARS_RETRIEVAL_DIRECTORY"
45
67
  log "________________________________________________________________________________________"
46
68
  log "End ${SCRIPT} at `date`"
47
69
  log "________________________________________________________________________________________"
@@ -56,22 +78,20 @@ done
56
78
  # Check if the configuration file exists
57
79
  if [ -f "$CONFIG_FILE" ]; then
58
80
  # Read and export the variables from the configuration file
59
- while IFS= read -r line; do
60
- var_name=$(echo "$line" | cut -d= -f1)
61
- var_value=$(echo "$line" | cut -d= -f2-)
62
-
63
- # Check if the variable is an array
64
- if [[ "$var_value" =~ "^[[:space:]]*\(.*\)[[:space:]]*$" ]]; then
65
- eval "array=($var_value)"
66
- for element in "${array[@]}"; do
67
- log "Configuration file: $var_name=$element"
68
- # export "$var_name"
69
- done
70
- else
71
- log "Configuration file: $var_name=$var_value"
72
- # export "$var_name"
73
- fi
74
- done < "$CONFIG_FILE"
81
+ # ----------------------------------------------------------------------------------------
82
+ # Log the active configuration settings, excluding comments and empty lines
83
+ log "Active configuration settings from: ${CONFIG_FILE}"
84
+ grep -v '^\s*#\|^\s*$' "$CONFIG_FILE" | while IFS= read -r line; do
85
+ log " ${line}"
86
+ done
87
+ log "----------------------------------------------------------------------------------------"
88
+
89
+ # Source the configuration file and automatically export all defined variables
90
+ # to make them available to any subscripts that are called.
91
+ set -a
92
+ . "$CONFIG_FILE"
93
+ set +a
94
+
75
95
  else
76
96
  log "Error: Config file '$CONFIG_FILE' not found."
77
97
  exit 1
@@ -110,6 +130,9 @@ for name in "${SUBSCRIPT_NAMES[@]}"; do
110
130
 
111
131
  if [ "$5" == "mars" ]; then
112
132
  log "Only calling the mars retrieval script, the other processes can be called in the second qlc submission step (without option: mars)"
133
+ log "----------------------------------------------------------------------------------------"
134
+ log "End ${SCRIPT} at `date`"
135
+ log "________________________________________________________________________________________"
113
136
  exit 1
114
137
  fi
115
138
 
@@ -0,0 +1,51 @@
1
+ % Copyright 2007 by Till Tantau
2
+ %
3
+ % This file may be distributed and/or modified
4
+ %
5
+ % 1. under the LaTeX Project Public License and/or
6
+ % 2. under the GNU Public License.
7
+ %
8
+ % See the file doc/licenses/LICENSE for more details.
9
+
10
+ \mode<presentation>
11
+
12
+
13
+ \setbeamercolor*{palette primary}{use=structure,fg=white,bg=structure.fg!80!green}
14
+ \setbeamercolor*{palette secondary}{use=structure,fg=white,bg=structure.fg!75!green}
15
+ \setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=structure.fg!85!green}
16
+ \setbeamercolor*{palette tertiary}{use=structure,fg=white,bg=structure.fg!80!green}
17
+ %\setbeamercolor*{palette quaternary}{fg=white,bg=green}
18
+ \setbeamercolor*{palette quaternary}{use=structure,fg=white,bg=structure.fg!85!green}
19
+
20
+ \setbeamercolor*{sidebar}{use=structure,bg=structure.fg}
21
+ \setbeamercolor*{sidebar}{use=structure,fg=blue,fg=structure.fg!80!green}
22
+
23
+ \setbeamercolor*{palette}{use=structure,fg=blue,fg=structure.fg!80!green}
24
+ \setbeamercolor*{palette sidebar primary}{use=structure,fg=structure.fg!10}
25
+ \setbeamercolor*{palette sidebar secondary}{fg=white}
26
+ \setbeamercolor*{palette sidebar tertiary}{use=structure,fg=structure.fg!50}
27
+ \setbeamercolor*{palette sidebar quaternary}{fg=white}
28
+
29
+ \setbeamercolor*{titlelike}{use=structure,fg=structure.fg}
30
+ \setbeamercolor*{titlelike}{use=structure,fg=blue,fg=structure.fg!80!green}
31
+
32
+ \setbeamercolor*{separation line}{}
33
+ \setbeamercolor*{fine separation line}{}
34
+
35
+ \setbeamercolor*{block title}{use=structure,fg=white,bg=structure.fg!80!green}
36
+ \setbeamercolor{block title alerted}{use=alerted text,fg=alerted text.fg,bg=alerted text.fg!20!bg}
37
+ \setbeamercolor{block title example}{use=example text,fg=example text.fg,bg=example text.fg!20!bg}
38
+
39
+ %\setbeamercolor{block body}{use=structure,fg=blue,fg=structure.fg!80!green}
40
+ %\setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!10!bg}
41
+ %\setbeamercolor{block body alerted}{parent=normal text,use=block title alerted,bg=block title alerted.bg!10!bg}
42
+ %\setbeamercolor{block body example}{parent=normal text,use=block title example,bg=block title example.bg!90!bg}
43
+
44
+ \setbeamercolor{block body}{parent=normal text,use=block title,bg=block title.bg!10!bg}
45
+ \setbeamercolor{section in toc}{use=structure,fg=blue,fg=structure.fg!80!green}
46
+ %\setbeamercolor{subsection in toc}{use=structure,fg=blue,fg=structure.fg!80!green}
47
+ %\setbeamercolor{toc}{use=structure,fg=blue,fg=structure.fg!80!green}
48
+
49
+
50
+ \mode
51
+ <all>
@@ -0,0 +1,166 @@
1
+ % Copyright 2007 by Till Tantau
2
+ % Copyright 2012,2015 by Vedran Mileti\'c, Joseph Wright
3
+ %
4
+ % This file may be distributed and/or modified
5
+ %
6
+ % 1. under the LaTeX Project Public License and/or
7
+ % 2. under the GNU Public License.
8
+ %
9
+ % See the file doc/licenses/LICENSE for more details.
10
+
11
+ \mode<presentation>
12
+
13
+
14
+ \setbeamerfont{normal text}{} % ignored currently
15
+ \setbeamerfont{alerted text}{}
16
+ \setbeamerfont{example text}{}
17
+
18
+ \setbeamerfont{structure}{}
19
+ \setbeamerfont{tiny structure}{size=\tiny}
20
+
21
+ \setbeamerfont{title}{size=\Large,parent=structure}
22
+ \setbeamerfont{title in head/foot}{}
23
+ \setbeamerfont{title in sidebar}{size=\tiny}
24
+
25
+ \setbeamerfont{subtitle}{size=\normalsize,parent=title}
26
+
27
+ \setbeamerfont{author}{}
28
+ \setbeamerfont{author in head/foot}{}
29
+ \setbeamerfont{author in sidebar}{size=\tiny}
30
+
31
+ \setbeamerfont{institute}{size=\scriptsize}
32
+ \setbeamerfont{institute in head/foot}{}
33
+ \setbeamerfont{institute in sidebar}{}
34
+
35
+ \setbeamerfont{date}{}
36
+ \setbeamerfont{date in head/foot}{}
37
+ \setbeamerfont{date in sidebar}{}
38
+
39
+ \setbeamerfont{part name}{size=\LARGE}
40
+ \setbeamerfont{part title}{size=\LARGE,parent=title}
41
+
42
+ \setbeamerfont{section name}{size=\Large}
43
+ \setbeamerfont{section title}{size=\Large,parent=title}
44
+
45
+ \setbeamerfont{section in toc}{parent=structure}
46
+ \setbeamerfont{section in toc shaded}{parent=section in toc}
47
+ \setbeamerfont{section in head/foot}{}
48
+ \setbeamerfont{section in sidebar}{size=\tiny}
49
+ \setbeamerfont{section number projected}{size=\small,parent={section in toc,projected text}}
50
+
51
+ \setbeamerfont{subsection name}{size=\large}
52
+ \setbeamerfont{subsection title}{size=\large,parent=title}
53
+
54
+ \setbeamerfont{subsection in toc}{}
55
+ \setbeamerfont{subsection in toc shaded}{parent=subsection in toc}
56
+ \setbeamerfont{subsection in head/foot}{}
57
+ \setbeamerfont{subsection in sidebar}{}
58
+
59
+ \setbeamerfont{subsubsection in toc}{size=\footnotesize}
60
+ \setbeamerfont{subsubsection in toc shaded}{parent=subsubsection in toc}
61
+ \setbeamerfont{subsubsection in head/foot}{}
62
+ \setbeamerfont{subsubsection in sidebar}{}
63
+
64
+ \setbeamerfont{headline}{parent={tiny structure}}
65
+ \setbeamerfont{footline}{parent={tiny structure}}
66
+
67
+ \setbeamerfont{sidebar}{size=\Tiny,parent={tiny structure}}
68
+ \setbeamerfont{sidebar left}{parent=sidebar}
69
+ \setbeamerfont{sidebar right}{parent=sidebar}
70
+
71
+ %\setbeamerfont{frametitle}{parent=structure,size=\footnotesize}
72
+ %\setbeamerfont{frametitle}{parent=structure,size=\Large}
73
+ \setbeamerfont{frametitle}{parent=structure,size=\normalsize}
74
+ \setbeamerfont{framesubtitle}{parent=frametitle,size=\footnotesize}
75
+
76
+ \setbeamerfont{caption}{size=\small}
77
+ \setbeamerfont{caption name}{parent={structure,caption}}
78
+
79
+ \setbeamerfont{button}{size=\tiny}
80
+
81
+ \setbeamerfont{block body}{}
82
+ \setbeamerfont{block body alerted}{}
83
+ \setbeamerfont{block body example}{}
84
+ %\setbeamerfont{block title}{size=\large,parent={structure,block body}}
85
+ %\setbeamerfont{block title}{size=\normalsize,parent={structure,block body}}
86
+ %\setbeamerfont{block title}{size=\small,parent={structure,block body}}
87
+ \setbeamerfont{block title}{size=\scriptsize,parent={structure,block body}}
88
+ \setbeamerfont{block title alerted}{parent={block title,alerted text}}
89
+ \setbeamerfont{block title example}{parent={block title,example text}}
90
+
91
+ \setbeamerfont{item}{parent=structure}
92
+ \setbeamerfont{subitem}{parent=item}
93
+ \setbeamerfont{subsubitem}{parent=subitem}
94
+
95
+ \setbeamerfont{item projected}{size=\tiny,parent={item,projected text}}
96
+ \setbeamerfont{subitem projected}{parent=item projected}
97
+ \setbeamerfont{subsubitem projected}{parent=subitem projected}
98
+
99
+ \setbeamerfont{itemize item}{parent=item}
100
+ \setbeamerfont{itemize subitem}{parent=subitem}
101
+ \setbeamerfont{itemize subsubitem}{parent=subsubitem}
102
+
103
+ \setbeamerfont{enumerate item}{parent=item}
104
+ \setbeamerfont{enumerate subitem}{parent=subitem}
105
+ \setbeamerfont{enumerate subsubitem}{parent=subsubitem}
106
+
107
+ \setbeamerfont{itemize/enumerate body}{}
108
+ \setbeamerfont{itemize/enumerate subbody}{size=\small}
109
+ \setbeamerfont{itemize/enumerate subsubbody}{size=\footnotesize}
110
+
111
+
112
+ \setbeamerfont{description item}{parent=item}
113
+
114
+ \setbeamerfont{projected text}{parent={tiny structure}}
115
+
116
+ \setbeamerfont{abstract}{size=\small}
117
+ \setbeamerfont{abstract title}{parent={abstract,structure},size=\normalsize}
118
+
119
+ \setbeamerfont{verse}{family=\rmfamily,shape=\itshape}
120
+
121
+ \setbeamerfont{quotation}{shape=\itshape}
122
+ \setbeamerfont{quote}{parent=quotation}
123
+
124
+ \setbeamerfont{note page}{size=\small}
125
+ \setbeamerfont{note title}{parent=note page}
126
+ \setbeamerfont{note date}{size=\footnotesize}
127
+
128
+ \def\beamer@tsfont{\sffamily}
129
+ \def\beamer@sfont{\sffamily}
130
+ \def\familydefault{\sfdefault}
131
+ \def\mathfamilydefault{\sfdefault}
132
+ \beamer@sansmathfalse
133
+
134
+ \ProcessOptionsBeamer
135
+
136
+ \setbeamerfont{tiny structure}{family=\beamer@tsfont}
137
+ \setbeamerfont{structure}{family=\beamer@sfont}
138
+
139
+ \def\beamer@ftb@str{
140
+ \setbeamerfont{structure}{shape=\scshape,family=\rmfamily}
141
+ \setbeamerfont{section in toc}{size=\large}
142
+ }
143
+ \def\beamer@ftb@tstr{\setbeamerfont{tiny structure}{shape=\scshape,family=\rmfamily}}
144
+
145
+ \DeclareOptionBeamer{onlysmall}{\let\beamer@ftb@str=\relax}
146
+ \DeclareOptionBeamer{onlylarge}{\let\beamer@ftb@tstr=\relax}
147
+
148
+ \setbeamerfont{author}{size=\scriptsize}
149
+ \setbeamerfont{author in head/foot}{}
150
+ \setbeamerfont{author in sidebar}{size=\tiny}
151
+
152
+ \setbeamerfont{date}{size=\scriptsize}
153
+ \setbeamerfont{date in head/foot}{size=\tiny}
154
+ \setbeamerfont{date in sidebar}{}
155
+
156
+ \ProcessOptionsBeamer
157
+
158
+ \mode<presentation>
159
+
160
+ \beamer@ftb@str
161
+ \beamer@ftb@tstr
162
+
163
+
164
+ \mode
165
+ <all>
166
+
@@ -0,0 +1,25 @@
1
+ % Copyright 2007 by Till Tantau
2
+ %
3
+ % This file may be distributed and/or modified
4
+ %
5
+ % 1. under the LaTeX Project Public License and/or
6
+ % 2. under the GNU Public License.
7
+ %
8
+ % See the file doc/licenses/LICENSE for more details.
9
+
10
+ \mode<presentation>
11
+
12
+ \newif\ifbeamer@secheader
13
+ \beamer@secheaderfalse
14
+
15
+ \DeclareOptionBeamer{secheader}{\beamer@secheadertrue}
16
+ \ProcessOptionsBeamer
17
+
18
+ %\useoutertheme{infolines}
19
+ \useoutertheme[subsection=false]{smoothbars}
20
+ \useinnertheme[shadow=false]{rounded}
21
+ \usecolortheme{CAMS2_35}
22
+ \usefonttheme{CAMS2_35}
23
+
24
+ \mode
25
+ <all>