ntnu-tex / beamerthementnu Goto Github PK
View Code? Open in Web Editor NEWA LaTeX beamer theme for presentations in the NTNU corporate design
Home Page: https://github.com/ntnu-tex/beamerthementnu/blob/master/ntnu-beamer-documentation.pdf
A LaTeX beamer theme for presentations in the NTNU corporate design
Home Page: https://github.com/ntnu-tex/beamerthementnu/blob/master/ntnu-beamer-documentation.pdf
This is similar to #6 but not the same so I thought it deserved its own issue.
When using the NTNU style in 16:9 format, the logo with the circles in the upper right corner shadows the title.
\documentclass[screen, aspectratio=169]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
% Use the NTNU-temaet for beamer
% \usetheme[style=ntnu|simple|vertical|horizontal,
% language=bm|nn|en,
% smalltitle,
% city=all|trondheim|alesund|gjovik]{ntnu2017}
\usetheme[style=ntnu,language=en]{ntnu2017}
\usepackage[english]{babel}
\title[Short title]{The full and long title of the presentation}
\subtitle{Subtitle if you want}
\author[O. Nordmann]{Ola Nordmann}
\institute[NTNU]{Department of \LaTeX-ical sciences, NTNU}
\date{1 January 1970}
%\date{} % To have an empty date
\begin{document}
\begin{frame}
\titlepage
\end{frame}
% Alternatively, special title page command to get a different background
% \ntnutitlepage
\begin{frame}
\frametitle{Main theorem}
\begin{theorem}
{\LaTeX} makes things easier.
\end{theorem}
\begin{proof}
For details, see Flynn.
\end{proof}
\end{frame}
\end{document}
Possible solution: Use LaTeX to produce the text, rather than the backgrounds.
Adding \usepackage{biblatex}
results in the following log file errors:
! Undefined control sequence.
\blx@checkencoding ...@bibencoding '}}\ifboolexpr
{togl {blx@safeinputenc} a...
l.17 \begin{document}The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g.,\hobx'), type
I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.! Argument of @FirstOfTwo has an extra }.
\par
l.17 \begin{document}I've run across a
}' that doesn't seem to match anything. For example,
\def\a#1{...}' and\a}' would produce this error. If you simply proceed now, the
\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your}' was spurious, just type
2' and it will go away.Runaway argument?
! Paragraph ended before @FirstOfTwo was complete.
\par
l.17 \begin{document}I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.! Argument of @secondoftwo has an extra }.
\par
l.17 \begin{document}I've run across a
}' that doesn't seem to match anything. For example,
\def\a#1{...}' and\a}' would produce this error. If you simply proceed now, the
\par' that
I've just inserted will cause me to report a runaway
argument that might be the root of the problem. But if
your}' was spurious, just type
2' and it will go away.Runaway argument?
! Paragraph ended before @secondoftwo was complete.
\par
l.17 \begin{document}I suspect you've forgotten a `}', causing me to apply this
control sequence to too much text. How can we recover?
My plan is to forget the whole thing and hope for the best.
Done in the small example file. How can this be fixed?
I had a nice discussion with @VeroniMattia today about the future of this repository. Owing to the stars it already has and the general history (and forks), we would like to keep this history but also move to a more generic URL/collaboration style that is not necessarily depending on one person. So I just founed a small org (those are free here, too) at
https://github.com/orgs/ntnu-tex/
where for now I also invited you @martstr to be owner, since I think that will make It easier to move this repository there. It will have then a URL that is independent of who is developing this.
Anyone who wants to take the chance and join in on development is of course welcome. I will check the currently open issues here soon, to also clean the ones that are not in relation to the 2020 theme.
Hi, when I use tikzexternalize I get the following text over the tikz generated figures "includegraphics optimized away because it does not contribute to exported pdf". However, if I disable optimize using \tikzset{external/optimize=false} I get the NTNU logo over all my pictures. Any ides on what could be wrong?
The title is shadowed by the NTNU name if style=horizontal is use. See minimal example under. This can be avoided by changing line 15 in beamerinnerthementnu2017.sty, such that width is adjusted depending on size.
\documentclass[screen, aspectratio=43]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usetheme[style=horizontal,language=en]{ntnu2017}
\usepackage[english]{babel}
\usepackage[style=numeric,backend=biber,natbib=false,sorting=none]{biblatex}
\title[Short title]{A very, very, very, very, very long title}
\author[O. Nordmann]{Ola Nordmann}
\institute[]{}
\date{}
\begin{document}
\begin{frame}
\titlepage
\end{frame}
\end{document}
I had a discussion today with @VeroniMattia and here is a short summary
NTNU
without a yearPossible bug fix: Execute "texhash" after putting the folders into their place.
Hi,
I noticed that the left margin is correct when using 169 aspect ratio and vertical style as long as you have no columns defined. If you use columns, then the left margin overlaps with the vertical blue bar. Is there an easy fix for this? At the end I add an example file that shows the problem.
Thank you!
Giampiero
\documentclass[screen, aspectratio=169]{beamer}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
% Use the NTNU-temaet for beamer
% \usetheme[style=ntnu|simple|vertical|horizontal,
% language=bm|nn|en,
% smalltitle,
% city=all|trondheim|alesund|gjovik]{ntnu2017}
\usetheme[style=vertical,language=en]{ntnu2017}
\usepackage[english]{babel}
\usepackage[style=numeric,backend=biber,natbib=false,sorting=none]{biblatex}
\begin{document}
\begin{frame}
\frametitle{Failing margin on left columns}
\begin{columns}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item one
\item two
\item three
\end{itemize}
\end{column}
\begin{column}{0.5\textwidth}
\begin{itemize}
\item one
\item two
\item three
\end{itemize}
\end{column}
\end{columns}
\end{frame}
\end{document}
Thank you for the template, it is very useful. However, it is not clear to me why making a one-file template. Beamer has a neat way to define all the style specific configurations in a theme file with the following advantages:
Is there any reason not to use a theme file to define the template? Thank you!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.