Hot answers tagged

5

You have several errors, I fixed the most important ones. All the \def should better be \newcommand. Don't load geometry, it doesn't make sense, as beamer already loads it with its own options Don't load xcolor, rather pass the options to the class as shown Don't load graphicx Don't load url, it's already coming with hyperref Since you need a frame, it ...


5

A quick hack would be to write the title a second time, a bit offset and in a darker colour. The following example uses a mixture of the background colour and black \color{black!20!green-abs} and is a bit darker than the shadow shown in your example, but this can be adjusted to fir your needs. \setbeamertemplate{frametitle}{ \begin{beamercolorbox}[wd=\...


5

I would recommend using biber (the default) instead of bibtex as the back end for using biblatex. With the standard author-year style, there are two main citation commands: \textcite{} produces Author yyyy \parencite{} produces (Author yyyy) To get the comma between the name and the year, you need: \renewcommand*{\nameyeardelim}{\addcomma\addspace} ...


4

Internally, beamer replaces certain fonts. Apparently the you don't have the replacement font in a place where XeLaTeX can find it, so it doesn't appear. To suppress this replacement, you can either load the beamer class with the professionalfont option, or add \usefonttheme{professionalfonts} to your preamble. (Note the difference!) See section 18.1 of the ...


4

You can use breqn package for this: \documentclass{article} \usepackage{amsthm,amsmath,breqn,lipsum} \usepackage[showframe,margin=5cm]{geometry} \begin{document} \lipsum[1-2] \begin{frame}[shrink=0, t]{The \textbf{\textit{DP}} Algorithm} \begin{center} \begin{minipage}{.9\textwidth} \begin{proof} \begin{enumerate} ...


3

This is simply to show how to reformat the equation with as little effort as possible. Copy the line to be broken. Use \right. or \left. to balance an otherwise unmatched \left or \right. Use \hphantom to preserve spacing, and \vphantom to preserve the \left ... \right size. Note, the additional \qquad is to compensate for the missing = and \{. \...


3

For fun, here is a solution in ConTeXt. The solution relies on my wrapper around the drops module by Peter Rolf. The drops module uses imagemagic to draw the shadow (which looks more realistic than the tikz-style shadows) \usemodule[dropshadow] \setupexternalfigures[location={local,global,default}] \definedropshadow [polaroid] [flatdark] [...


2

You can use the \includesvglayer command from mycommands.sty (a package I've written to group common utilities of this kind). It calls the Python script inkscape2scenes.py (see branch dev) that calls inkscape to export the combinations of layers defined within the SVG to separate PDF + text overlayed using the picture environment within LaTeX (usual PDF+...


2

I'll complete samcarter's answer with a couple modifications I added: I moved the code to a function, and I darkened the shadow. Function: \tikzset{ text shadow/.code args={[#1]#2at#3(#4,#5)#6}{ \pgfkeysalso{/tikz/.cd,#1} \foreach \x in {0,10,...,40}{% \node[#1, xshift=\x*-0.001cm, yshift=\x*0.001cm] at (#4,#5){% ...


2

You need to place the algorithm inside a frame. Even then the content is too much to fit on a regular slide. As such, I've placed it inside a box - using an [H] float specifier - and resized it to fit within the frame height. \documentclass[dvipsnames,svgnames]{beamer} \usepackage[ruled,vlined,linesnumbered]{algorithm2e} \begin{document} \begin{frame}[...


1

Please check the following MWE: \documentclass{beamer} \usetheme{Warsaw} \makeatletter \setbeamertemplate{headline}{} \addtobeamertemplate{headline}{} { \leavevmode% \hbox{% \begin{beamercolorbox}[wd=.5\paperwidth,ht=2pc,left]{} \colorbox{green}{\hbox to 5pc{\vbox to 2pc{}}} \end{beamercolorbox}}% \begin{beamercolorbox}[wd=.5\paperwidth,ht=2pc,...


1

Beamer has its own mechanism to control colours, so the following motto applies \setbeamercolor{bibliography entry author}{fg=black} Same works for bibliography entry title, bibliography entry location, bibliography entry note and bibliography item.


1

A quik'n'derty template can be generated in TeXstudio for example, utilizing the built-in wizards. Prerequisites Install TeXstudio Familiarize with TeXstudio Start up TeXstudio Actions After Start goto Menu -> Wizards -> Quick beamer presentation Select the theme you like the most. Select all the packages you need. Add title and author. Check for ...


1

frametitle has nothing to do with the titlepage, thats what you get as "headline" on slides when you use \frametitle{...}. To modify the font of the titlepage, you have to adjust the components, such as author or date separately. \documentclass[a4paper]{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[francais]{babel} % This here ...


1

The error on adding this line: \section*{References} The section is created automatically by the bibliography


1

Give the frame containing your textblock a label that is not used as part of your \includeonlyframes list: \documentclass{beamer} \includeonlyframes{current} \usepackage[absolute,overlay]{textpos} \begin{document} \begin{frame}[label=current] Slide 1 \end{frame} \begin{frame}[label=notcurrent] Slide 2 \begin{textblock*}{5cm}(9cm,2.5cm) % {block ...


1

An alternative to pgfpages could be pdfpages. In this case, you create the beamer presentation, an later on include it as an external file inside the handout document which could be something like: \documentclass[a4paper, landscape]{article} \usepackage[vmargin={2cm,1.5cm}]{geometry} \usepackage{pdfpages} \begin{document} \includepdf[pages=1-8,nup=2x2,...



Only top voted, non community-wiki answers of a minimum length are eligible