Example #1
0
\lfoot{%s}
\rfoot{%s}
\cfoot{}

%% Ide jöhetnek a különböző csomagok (\usepackage{ })
"""

# For intervalrandom() in interval.py
times = '\\times'
decimal_point = '.'


from varEC.datalist import DataList


files = DataList('Files')
files.append(
    'input',
    'The names of the exercise-serieses wich contains the exercises',
    input_files
)
files.append('output', 'The whole name of the output file', output_file)


header_footer = DataList('Dates for header and footer')
header_footer.append('title', 'Title', 'Physics')
header_footer.append('inst', 'Institution', 'XY TeXnical Scool')
header_footer.append('course', 'Course, grade', 'LaTeX (correspondence course)')
shift = 1  # Egy nap múlva (holnap)
localtime = time.localtime(time.time() + shift*24*3600)
date_en = time.strftime("%d %m %Y", localtime)  # English format
Example #2
0
\lfoot{%s}
\rfoot{%s}
\cfoot{}

%% Ide jöhetnek a különböző csomagok (\usepackage{ })
"""

# For intervalrandom() in interval.py
times = r'\cdot'
decimal_point = ','


from varEC.datalist import DataList


files = DataList('Fájlok')
files.append('input', 'A feladatokat tartalmazó fájlok nevei', input_files)
files.append('output', 'A kimeneti fájl teljes neve', output_file)


header_footer = DataList('A fej- és láblécbe kerülő adatok')
header_footer.append('title', 'Cím', title)
header_footer.append('inst', 'Az intézet neve', inst)
header_footer.append('course', 'Tagozat,  szak,  évfolyam', course)

try:
    date = date
except NameError:
    date = gadgets.date_string_from_triple(gadgets.tomorrow_triple())

header_footer.append('date', 'Dátum', date)