rc-qlc 0.3.24__cp311-cp311-win32.whl → 0.3.27__cp311-cp311-win32.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.
- qlc/cli/__init__.py +100 -9
- qlc/cli/installer.py +23 -5
- qlc/cli/qlc_main.py +54 -32
- qlc/cli/qlc_py_main.py +43 -38
- qlc/config/json/qlc_config.json +94 -10
- qlc/config/nml/mars_A1_sfc.nml +4 -5
- qlc/config/nml/mars_A3_sfc.nml +0 -1
- qlc/config/nml/mars_B1_pl.nml +2 -2
- qlc/{examples/cams_case_1/config/nml/mars_A3_sfc.nml → config/nml/mars_B1_sfc.nml} +7 -8
- qlc/config/nml/mars_C1_pl.nml +1 -1
- qlc/{examples/cams_case_1/config/nml/mars_C1_pl.nml → config/nml/mars_C1_sfc.nml} +7 -8
- qlc/config/nml/mars_C2_pl.nml +1 -1
- qlc/{examples/cams_case_1/config/qlc_cams.conf → config/qlc.conf} +80 -18
- 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
- qlc/doc/README.md +213 -49
- qlc/doc/USAGE.md +266 -29
- qlc/examples/cams_case_1/mod/b2rn/2018/b2rn_20181201-20181221_B1_pl.grb +0 -0
- qlc/examples/cams_case_1/mod/b2rn/2018/b2rn_20181201-20181221_C1_sfc.grb +0 -0
- qlc/examples/cams_case_1/mod/b2ro/2018/b2ro_20181201-20181221_B1_pl.grb +0 -0
- qlc/examples/cams_case_1/mod/b2ro/2018/b2ro_20181201-20181221_C1_sfc.grb +0 -0
- qlc/install.py +272 -107
- qlc/py/__main__.cp311-win32.pyd +0 -0
- qlc/py/averaging.cp311-win32.pyd +0 -0
- qlc/py/bias_plots.cp311-win32.pyd +0 -0
- qlc/py/control.cp311-win32.pyd +0 -0
- qlc/py/io.cp311-win32.pyd +0 -0
- qlc/py/loadmod.cp311-win32.pyd +0 -0
- qlc/py/loadobs.cp311-win32.pyd +0 -0
- qlc/py/logging_utils.cp311-win32.pyd +0 -0
- qlc/py/map_plots.cp311-win32.pyd +0 -0
- qlc/py/matched.cp311-win32.pyd +0 -0
- qlc/py/plot_config.cp311-win32.pyd +0 -0
- qlc/py/plotting.cp311-win32.pyd +0 -0
- qlc/py/plugin_loader.cp311-win32.pyd +0 -0
- qlc/py/processing.cp311-win32.pyd +0 -0
- qlc/py/scatter_plots.cp311-win32.pyd +0 -0
- qlc/py/stations.cp311-win32.pyd +0 -0
- qlc/py/statistics.cp311-win32.pyd +0 -0
- qlc/py/style.cp311-win32.pyd +0 -0
- qlc/py/timeseries_plots.cp311-win32.pyd +0 -0
- qlc/py/utils.cp311-win32.pyd +0 -0
- qlc/py/version.cp311-win32.pyd +0 -0
- qlc/sh/qlc_A1.sh +30 -11
- qlc/sh/qlc_B1a.sh +1 -18
- qlc/sh/qlc_B2.sh +8 -1
- qlc/sh/qlc_C5.sh +90 -65
- qlc/sh/qlc_D1.sh +287 -56
- qlc/sh/qlc_Z1.sh +6 -6
- qlc/sh/qlc_batch.sh +61 -0
- qlc/sh/qlc_common_functions.sh +17 -29
- qlc/sh/qlc_main.sh +49 -26
- qlc/sh/tex_template/beamercolorthemeCAMS2_35.sty +51 -0
- qlc/sh/tex_template/beamerfontthemeCAMS2_35.sty +166 -0
- qlc/sh/tex_template/beamerthemeCAMS2_35.sty +25 -0
- qlc/sh/tex_template/subcaption.sty +170 -0
- qlc/sh/tex_template/template.tex +109 -0
- rc_qlc-0.3.27.dist-info/METADATA +309 -0
- rc_qlc-0.3.27.dist-info/RECORD +103 -0
- qlc/config/json/qlc_config_example_1a_all-obs.json +0 -237
- qlc/config/json/qlc_config_example_1b_all-mod.json +0 -353
- qlc/config/json/qlc_config_example_1c_all-coll.json +0 -266
- qlc/config/json/qlc_config_example_2a_all-obs.json +0 -237
- qlc/config/json/qlc_config_example_2b_all-mod.json +0 -353
- qlc/config/json/qlc_config_example_2c_all-coll.json +0 -265
- qlc/config/json/qlc_config_example_3a-us_obs.json +0 -82
- qlc/config/json/qlc_config_example_3b-us_mod.json +0 -122
- qlc/config/json/qlc_config_example_3c-us_coll.json +0 -46
- qlc/config/json/qlc_config_example_4a_eu-obs.json +0 -41
- qlc/config/json/qlc_config_example_4b_eu-mod.json +0 -122
- qlc/config/json/qlc_config_example_4c_eu-coll.json +0 -45
- qlc/config/qlc_cams.conf +0 -26
- qlc/config/qlc_test.conf +0 -26
- qlc/config/qlc_tex.conf +0 -107
- qlc/examples/cams_case_1/config/json/qlc_config.json +0 -41
- qlc/examples/cams_case_1/config/nml/mars_B1_pl.nml +0 -19
- qlc/examples/cams_case_1/mod/iqi9/2018/iqi9_20181215-20181231_A3_sfc.grb +0 -0
- qlc/sh/qlc_start.sh +0 -23
- qlc/sh/qlc_start_batch.sh +0 -46
- rc_qlc-0.3.24.dist-info/METADATA +0 -142
- rc_qlc-0.3.24.dist-info/RECORD +0 -113
- {rc_qlc-0.3.24.dist-info → rc_qlc-0.3.27.dist-info}/WHEEL +0 -0
- {rc_qlc-0.3.24.dist-info → rc_qlc-0.3.27.dist-info}/entry_points.txt +0 -0
- {rc_qlc-0.3.24.dist-info → rc_qlc-0.3.27.dist-info}/licenses/LICENSE +0 -0
- {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/
|
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
|
qlc/sh/qlc_common_functions.sh
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#!/bin/
|
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
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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=
|
59
|
-
|
60
|
-
|
44
|
+
# var_element=9
|
45
|
+
# exp_element=10
|
46
|
+
var_element=7
|
47
|
+
exp_element=8
|
61
48
|
else
|
62
|
-
|
63
|
-
|
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/
|
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
|
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 "
|
42
|
-
log "
|
43
|
-
log "
|
44
|
-
log "
|
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
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
#
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
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>
|