Skip to content

Commit 10870d7

Browse files
committed
provide both possible CIACO-compatible formats and write a little doc about this
1 parent 34ea38f commit 10870d7

File tree

5 files changed

+27
-7
lines changed

5 files changed

+27
-7
lines changed

.github/workflows/build-pdf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: Build LaTeX document
33
on: [push, pull_request]
44
env:
55
FINAL_FILENAME: thesis_final.pdf
6-
MAIN_LATEX: thesis.tex
6+
MAIN_LATEX: thesis_elec.tex
77
DATE_TIMEZONE: Europe/Brussels
88

99
jobs:

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
# Template for EPL's UCLouvain Ph.D. Theses
22

33
This repository contains a template to write your thesis with the CIACO's requirements.
4-
Just look at thesis.tex and start writing :-)
4+
Just look at either thesis_a4.tex or thesis_elec.tex and start writing :-)
55

66
NB: For the bibliography, use Biber instead of BibTex.
77

8+
## Thesis format
9+
10+
Two main files are proposed: either writing on A4 format (thesis_a4.tex) or on the CIACO specific one (thesis_elec.tex).
11+
Both formats should work for the CIACO, but make sure you mention the format you use when sending your PDF for printing!
12+
813
## Continuous Integration with GitHub
914

1015
If you use GitHub to host your repository, you can leverage the GitHub Actions to auto-generate the thesis PDF.
1116
For this, you have a few environment variables to configure this workflow:
1217

1318
| env variable | purpose |
1419
|---|---|
15-
| **MAIN_LATEX** | The entry point of your thesis (here it is thesis.tex) |
20+
| **MAIN_LATEX** | The entry point of your thesis (here it is thesis_elec.tex) |
1621
| **FINAL_FILENAME** | The final name of the file, which follows the naming conventions of the UCLouvain (for example : Yakoub_13861700_2020.pdf ) |
1722
| **DATE_TIMEZONE** | The timezone for release (by default, Github uses GMT timezone) |
1823

thesis.tex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
1-
\documentclass[11pt,twoside,a4paper,openright]{these-ucl}
2-
3-
% Margins required by the CIACO
4-
\usepackage[left=4.5cm,right=4.5cm,top=4.8cm,bottom=4.8cm]{geometry}
1+
% Do not compile this file directly, but instead the thesis_a4 or the thesis_elec one.
52

63
% For encoding
74
\usepackage[T1]{fontenc}

thesis_a4.tex

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
\documentclass[11pt,twoside,a4paper,openright]{these-ucl}
2+
3+
% This is the master file to compile your thesis for the format expected by the CIACO.
4+
5+
% Margins required by the CIACO
6+
\usepackage[left=4.5cm,right=4.5cm,top=4.8cm,bottom=4.8cm]{geometry}
7+
\input{thesis.tex}

thesis_elec.tex

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
\documentclass[11pt,twoside,onecolumn,openright]{these-ucl}
2+
3+
% This is the master file to compile your thesis in a more reader-friendly format.
4+
% Note that the output is equivalent to the thesis_a4 one, and it should generate the same print format in the end if you warn them (/!\ untested).
5+
6+
\setlength\paperheight{240mm}
7+
\setlength\paperwidth{160mm}
8+
9+
% Margins required by the CIACO
10+
\usepackage[left=2cm,right=2cm,top=1.95cm,bottom=1.95cm]{geometry}
11+
\input{thesis.tex}

0 commit comments

Comments
 (0)