Giter VIP home page Giter VIP logo

latexthemetelecomnancy's Introduction

Latex Themes for Telecom Nancy

Personnal beamer and exercise theme used at Telecom Nancy.

1) Beamer theme

How to include the Beamer theme of Telecom Nancy in my project ?

Two solutions :

  1. copy the beamerthemeTelecomNancy.sty file in your latex project folder
  2. copy the beamerthemeTelecomNancy.sty on your latex packages folder (~/.texmf-var/tex/latex/)

How to use the Beamer theme of Telecom Nancy in my latex files ?

Minimal example

	\documentclass{beamer}
	\usetheme{TelecomNancy}

Full example

	\documentclass{beamer}

	\usetheme[
		toccolumns,
		tocnbsections=3,
		addsecspace,
		backgroundtitlepage=myBackgroud.png,
		logo=myLogo.png,
		firstcolor=color1,
		secondcolor=color2,
	]{TelecomNancy}

	\definecolor{color1}{RGB}{100, 100, 100}%
	\definecolor{color2}{RGB}{220, 0, 0}%

Beamer theme options

Option Default value Description
toccolumns Toc pages in two columns
tocnbsections 2 Number of sections in the first toc column
addsecspace Add space between section names and section content in toc page
onlysecinheadline Show only sections in headline (no subsections)
backgroundtitlepage Background image of the first page
logo Logo in bottom left of slides
firstcolor gray Primary color
secondcolor red Secondary color

2) Exercise class

How to include the exercise class of Telecom Nancy in my project ?

Two solutions :

  1. copy the TelecomNancy.cls file in your latex project folder
  2. copy the TelecomNancy.cls on your latex packages folder (~/.texmf-var/tex/latex/)

How to use the exercise class of Telecom Nancy in my latex files ?

The TelecomNancy class provides \globalinstructions and \exercise commands.

\globalinstructions[title]{instructions...}: the title is optionnal, it is ``Global instructions'' by default.

\nextExercise[title]{instructions}: The title is optionnal and the instructions part can be empty.

\nextQuestion{question}: New question for the current exercise.

\nextInstructions{instructions}: allow to add specific instructions in the middle of an exercise.

Warning: if questions appear before instructions, use \clearpage command before the concerned \nextExercise command.

Minimal example

	\documentclass{TelecomNancy}

	\begin{document}

		\coursetitle{Title of course}
		\courselevel{Course level}
		\courseyear{Year}

		\nextExercise{}

			\nextQuestion{First question of the current exercise}
			\nextQuestion{Second question of the first exercise.}

			\nextInstructions{
				Some specific instructions for the next questions of the current exercise.
			}

			\nextQuestion{Last question of the first exercise.}

	\end{document}

Full example

	\documentclass[headheight=4.5cm,
				   margin=2cm,
				   titlewidth=0.6,
				   sansserif,
				   firstcolor=color1,
				   secondcolor=color2,
				   % logo=myLogo.png,
				   % footband=myFootBand.png
				  ]{TelecomNancy}

	\definecolor{color1}{RGB}{100, 100, 100}
	\definecolor{color2}{RGB}{220, 0, 0}

	\begin{document}

		\coursetitle{Title of course}
		\courselevel{Course level}
		\courseyear{Year}
			
		\globalinstructions[Optionnal title, ``Global Instructions'' by default]
		{
			The global instructions.
		}

		\nextExercise[This is the first exercise]{
			You can write here instructions of the first exercise... or nothing.
		}

			\nextQuestion{First question of the current exercise}
			\nextQuestion{Second question of the first exercise.}

			\nextInstructions{
				If you need to add some specific instruction for the next questions of the current exercise.
			}

			\nextQuestion{Last question of the first exercise.}

		\nextExercise{}

			\nextQuestion{First question of the current exercise}
			\nextQuestion{Second question of the second exercise.}
			\nextQuestion{Last question of the second exercise.}

	\end{document}

Class options

Option Default value Description
headheight 4.5cm Height of headings. May be adapted according to margin.
margin 2cm Left and right margins.
titlewidth 0.6 Percentage of the title box width.
sansserif Add this option to use sans serif text.
firstcolor gray Primary color.
secondcolor red Secondary color.
logo Logo in bottom left of page.
footband Foot band image in right of the logo.

Bitdeli Badge

latexthemetelecomnancy's People

Contributors

akrah avatar bitdeli-chef avatar

Watchers

James Cloos avatar LaTeXStudio avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.