Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
liuthesis
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ola Leifler
liuthesis
Commits
dd7b8a55
Commit
dd7b8a55
authored
4 years ago
by
Fredrik Lindeberg
Browse files
Options
Downloads
Patches
Plain Diff
Added support for custom logos
parent
ad67febe
No related branches found
Branches containing commit
Tags
1.3.0
Tags containing commit
1 merge request
!33
Custom logo support
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
demo_lith_phd_custom_frontlogo.tex
+83
-0
83 additions, 0 deletions
demo_lith_phd_custom_frontlogo.tex
liuthesis.cls
+16
-1
16 additions, 1 deletion
liuthesis.cls
with
99 additions
and
1 deletion
demo_lith_phd_custom_frontlogo.tex
0 → 100644
+
83
−
0
View file @
dd7b8a55
%%% demothesis.tex ---
%%
%% Filename: demothesis.tex
%% Description:
%% Author: Ola Leifler
%% Maintainer:
%% Created: Thu Oct 14 12:52:20 2010 (CEST)
%% Version: $Id$
%% Version:
%% Last-Updated: Mon Aug 14 16:34:10 2017 (+0200)
%% By: Ola Leifler
%% Update #: 178
%% URL:
%% Keywords:
%% Compatibility:
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%% Commentary:
%%
%%
%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%% Change log:
%%
%%
%% RCS $Log$
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%
%%% Code:
\documentclass
[phd,lith,english]
{
liuthesis
}
\usepackage
{
todonotes
}
%% Settings go in settings.tex
\include
{
settings
}
\frontlogo
{
liu
_
lebanon
}
\department
{
Institutionen för datavetenskap
}
\departmentenglish
{
Department of Computer and Information Science
}
\edition
{
1:1
}
% \supervisor{Min handledare}
\titleenglish
{
A very very long title
}
\division
{
Division of Human-Centered Systems
}
\thesisnumber
{
111111
}
\publicationyear
{
2017
}
\isbn
{
123456
}
\divanumber
{
456789
}
\author
{
Författaren
}
\keywords
{
keyword1,keyword2
}
\thesissubjectenglish
{
thesis subject
}
\begin{document}
% Choose any chapter style compatible with Memoir that you like
\chapterstyle
{
VZ43
}
% Include your chapters here
\include
{
intro
}
\include
{
theory
}
\include
{
method
}
% \include{results}
% \include{discussion}
% \include{conclusion}
% And print the references (by default in references.bib)
\printbibliography
% Demonstrates the use of included publications, for graduate-level theses
% If including paper and you want a proper PDF/A, ensure that you have the exact fonts installed!
%\includearticle{scigen}
%\includearticletex{scigen}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%% demothesis.tex ends here
This diff is collapsed.
Click to expand it.
liuthesis.cls
+
16
−
1
View file @
dd7b8a55
...
...
@@ -139,6 +139,11 @@
\createvariable
{
thesissubject
}
\createvariable
{
thesissubjectenglish
}
% Added, frontlogo
\newif\iffrontlogo
\frontlogofalse
\def\frontlogo
#1
{
\frontlogotrue\gdef\@
frontlogo
{
#1
}}
\newif\ifsubtitleswedish
\subtitleswedishfalse
\def\subtitleswedish
#1
{
\subtitleswedishtrue\gdef\@
subtitleswedish
{
#1
}}
...
...
@@ -818,7 +823,13 @@
\vfill
{}
\begin{textblock*}
{
\textwidth
}
(2cm,
\paperheight
-4cm)
\swedishenglish
{
\gdef\@
langlogo
{
sv
}}{
\gdef\@
langlogo
{
en
}}
\parbox
{
0.4
\textwidth
}{
\includegraphics
[width=85mm]
{
liu
_
primary
_
black
_
\@
langlogo
_
rgb
}}
%
\parbox
{
0.4
\textwidth
}{
\iffrontlogo
\includegraphics
[height=40mm]
{
\@
frontlogo
}
%% use height
\else
\includegraphics
[width=85mm]
{
liu
_
primary
_
black
_
\@
langlogo
_
rgb
}
\fi
}
%
\hspace*
{
32mm
}
\parbox
{
0.5
\textwidth
}{
\raggedleft
%
\vspace*
{
4mm
}
...
...
@@ -846,7 +857,11 @@
{
\Large\bfseries\@
author
}
\\
\vfill
\swedishenglish
{
\gdef\@
langlogo
{
sv
}}{
\gdef\@
langlogo
{
en
}}
\iffrontlogo
\includegraphics
[height=30mm]
{
\@
frontlogo
}
%% use height
\else
\includegraphics
[width=60mm]
{
liu
_
primary
_
black
_
\@
langlogo
_
rgb
}
\fi
\\
[12mm]
{
\footnotesize
\swedishenglish
{
%
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment