You are not logged in.

#1 2015-01-26 22:12:09

qaderzade
Member
Registered: 2014-12-12
Posts: 30

[SOLVED]Add beamerthemelankton-keynote.sty in latex

Hi
I am trying to use a new beamer theme called beamerthemelankton-keynote.sty in my presentation which I have not used it before but I do not know why I con not declare it to my latex.
After some searching I have found that it should be copied it at

/usr/share/texmf-dist/tex/latex/beamer/themes/theme/

or directly at

/usr/share/texmf-dist/tex/latex/

I tried both and after copy the .sty file I run

# texhash

but I have been faced with below error

LaTeX Font Warning: Font shape `LY1/ptm/m/n' undefined
(Font)              using `LY1/ptm/m/n' instead on input line 100.

! Corrupted NFSS tables.
wrong@fontshape ...message {Corrupted NFSS tables}
                                                  error@fontshape else let f...
l.100 \fontencoding\encodingdefault\selectfont

All these attempts are while I have no problem in windows by using Miktex which beamerthemelankton-keynote.sty is in the same folder of main tex file.
Is there any one can help me?

Last edited by qaderzade (2015-02-02 17:06:15)

Offline

#2 2015-01-26 23:05:00

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: [SOLVED]Add beamerthemelankton-keynote.sty in latex

Unless you're getting an error that explicitly says that the .sty is not found, then that's not an issue (I think). There's a problem with the file itself-a font issue apparently. Post the content of the .tex file here (in code tags).

Also, try adding

\usepackage{lmodern}

Last edited by nullified (2015-01-26 23:06:41)


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#3 2015-01-27 05:35:47

qaderzade
Member
Registered: 2014-12-12
Posts: 30

Re: [SOLVED]Add beamerthemelankton-keynote.sty in latex

Below is my summarized code, I have been added {lmodern}. When I comment the line

\usetheme{lankton-keynote}

I have no error and the presentation pdf create, but when uncomment it I have that error

\documentclass[serif,mathserif,hyperref={pdfpagelabels=false}]{beamer}
\usepackage{amsmath, amsfonts, epsfig, xspace}
\usepackage{algorithm,algorithmic}
\usepackage{pstricks,pst-node}
\usepackage{multimedia}
\usepackage[normal,tight,center]{subfigure}
\setlength{\subfigcapskip}{-.5em}
\usepackage{beamerthemesplit}
\usetheme{lankton-keynote}
\usepackage{lmodern}% http://ctan.org/pkg/lm
\usefonttheme{serif}

\author{Qaderzade}

\title[Short Title\hspace{13em}\insertframenumber/\inserttotalframenumber]{Qaderzade}

\institute{University}

\begin{document}

\maketitle

\begin{frame}
\frametitle{Qaderzade}
Qaderzade\pause
\end{frame}

\end{document}

I think my problem is in regard to adding that .sty to my latex packages or themes or any other place that should be added.

Offline

#4 2015-01-28 06:52:17

qaderzade
Member
Registered: 2014-12-12
Posts: 30

Re: [SOLVED]Add beamerthemelankton-keynote.sty in latex

No one can help me?

Offline

#5 2015-02-02 09:14:04

qaderzade
Member
Registered: 2014-12-12
Posts: 30

Re: [SOLVED]Add beamerthemelankton-keynote.sty in latex

Hi again
It will be very good if any one can help me in this issue because it is very important for me.
At least post a message.

Offline

#6 2015-02-02 13:17:30

nullified
Member
From: Massachusetts, USA
Registered: 2013-12-09
Posts: 468

Re: [SOLVED]Add beamerthemelankton-keynote.sty in latex

I suspect there's something wrong with the .sty itself. Have you tried asking on a LaTeX forum? I don't know if I can be of help, but place the .sty in code tags here. I will try to replicate the issue. I have just switched over to using Beamer for presentations myself.


"We may say most aptly, that the Analytical Engine weaves algebraical patterns just as the Jacquard-loom weaves flowers and leaves." - Ada Lovelace

Offline

#7 2015-02-02 13:58:55

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,541
Website

Re: [SOLVED]Add beamerthemelankton-keynote.sty in latex

Have you looked at the examples provided with the style?  I just tried the included example, and it worked fine.  Then I tried your document, and it failed.  I replaced your header lines (includes,classes) with those from the example template, and then yours worked fine.

EDIT: it seems you only need to add the following parameter to the document class: xcolor=svgnames

Last edited by Trilby (2015-02-02 14:00:37)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#8 2015-02-02 17:05:08

qaderzade
Member
Registered: 2014-12-12
Posts: 30

Re: [SOLVED]Add beamerthemelankton-keynote.sty in latex

Thanks to your posts.
It solved by installing below package:

# pacman -S texlive-fontsextra

Last edited by qaderzade (2015-02-02 17:05:35)

Offline

Board footer

Powered by FluxBB