Skip to content
Snippets Groups Projects
Commit ffc7004a authored by Mikhail Karnevskiy's avatar Mikhail Karnevskiy
Browse files

New logo for report

parent 1ce1c133
No related branches found
No related tags found
1 merge request!68Add title page. Modify conf.py.
......@@ -194,7 +194,7 @@ def make_report(run_path, tmp_path, out_path, project, author, version, report_t
with open("{}/conf.py".format(run_path), "r") as mfr:
for line in mfr:
if line == '# latex_logo = None\n':
mf.write("latex_logo = '{}/xfel.jpg'\n".format(module_path))
mf.write("latex_logo = '{}/xfel.pdf'\n".format(module_path))
mf.write("latex_additional_files = ['titlepage.tex.txt']\n")
elif line == 'latex_elements = {\n':
......@@ -266,7 +266,7 @@ def make_titlepage(sphinx_path, project, data_path):
gfile.write(' \\vspace{0mm}\n\n')
gfile.write(' \\begin{figure}[!h]\n')
gfile.write(' \\centering\n')
gfile.write(' \\includegraphics[scale=0.3]{xfel.jpg}\n')
gfile.write(' \\includegraphics[scale=0.3]{xfel.pdf}\n')
gfile.write(' \\end{figure}\n\n')
gfile.write(' \\vspace{0mm}\n')
gfile.write(' \\Large \\textbf{{Detector group}}\n\n')
......
cal_tools/cal_tools/xfel.jpg

88.8 KiB

File added
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment