New answers tagged

2

As your question just asked about individually coloring components of footnotes without including an actual color scheme, the following is just a guess: With you can change the color of the separating line: \let\oldfootnoterule\footnoterule \renewcommand{\footnoterule}{\color{<color>}{\oldfootnoterule}} \documentclass{beamer} % see https://...


2

I would go for a multline environment. Unrelated: don't load packages twice, and also, if you load amssymb, needless to load amsfonts. \documentclass{beamer} \newcommand\Fontvi{\fontsize{2}{4}\selectfont} \usepackage[utf8]{inputenc} \usepackage[compat=1.1.0]{tikz-feynman} \usepackage{mathtools, amsthm, amssymb} \usepackage{graphicx} \usepackage{tikz} \...


1

I think the equation could benefit from a couple of additional line breaks. \documentclass{beamer} \usetheme{Antibes} \usepackage{amsmath, amsthm, amssymb}%,amsfonts} \newtheorem{rules}{Rule} \usepackage{graphicx} \usepackage[utf8]{inputenc} %% I've commented out all instructions that are repetitive or %% do not affect the body of the sample document. %\...


0

You should split your equation. Please Consider the following code: \documentclass{beamer} \usepackage[compat=1.1.0]{tikz-feynman} \usepackage{amsmath, amsthm, amssymb,amsfonts} \usepackage{tikz} \newtheorem{rules}{Rule} \usetheme{Antibes} \begin {document} \begin {frame} \begin{rules} \label{Rule2} \begin{align} \label{eq:rule-B} &(A_1 + \...


0

When I compile your code I get a different result from your. The bloch is centered with an horizontal offset (left and right). Have you update to the last version of textpos?


0

The default color of the frame title background using the Frankfurt theme already is a (dark) blue: \documentclass{beamer} \usetheme{Frankfurt} \begin{document} \begin{frame}{Frame Title} \end{frame} \end{document} In your document, you overwrote this color using \setbeamercolor{structure}{bg=black, fg=sgibeet}. To change the color from the purple (...


1

Depending on the exact output you want to achieve, you could also add the [t] option to the frame environments: \documentclass[demo]{beamer} \usepackage{caption} \begin{document} \begin{frame}[t] \begin{figure} \centering \includegraphics[width=0.7\textwidth]{image1} \caption{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx ...


1

To change the background color of the section titles in the header from black to your blue, add \setbeamercolor*{section in head/foot}{bg=myblue, fg=white} and to change the background color of the frame title from your blue to gray, replace \colorlet{titleleft}{myblue} \colorlet{titleright}{myblue} by \colorlet{titleleft}{gray} \colorlet{titleright}{gray}. ...


2

To change the foreground and background colors of the beamer frame, you could use the following lines: \colorlet{titleleft}{gray!80} %<----- left half of frame title background color \colorlet{titleright}{gray!60} %<----- right half of frame title background color \setbeamercolor*{frametitle}{fg=white} %<---- Color of the frame title text Also ...


5

The right-hand tabular environment is defined to contain 5 columns, but it has only 3.; do get rid of the final two. Moreover, the right-hand tabular environment contains a lot of very clumsy and cluttery code which simply isn't needed. You should simplify it drastically, maybe along the lines shown in the code below. \documentclass[aspectratio=169]{beamer} ...


6

you have many issues with your slide: in beamer table environment is not a float, so it not need any positioning option (in your case H, which is ignored) referencing tables without having captions has no sense if you use \caption,referencing has sense if captions are numbered use \multicolumns or each cell in the second table is superfluous in second table ...


1

With \colorlet{titleleft}{blue!30!black} \colorlet{titleright}{blue!30!black} \setbeamercolor*{frametitle}{fg=white} \setbeamercolor*{subsection in head/foot}{bg=yellow!30!white,fg=blue!30!black} you can achievce the following: \documentclass[xcolor=dvipsnames]{beamer} \usecolortheme[named=blue]{structure} %------------------------\...


0

Sorry, your question is not very clear. Maybe, do you want this results? \documentclass[xcolor=dvipsnames]{beamer} \usecolortheme[named=blue]{structure} %------------------------\AtBeginSubsection[]---------------------- \AtBeginSubsection[]{ \begin{frame}<beamer>[noframenumbering,plain]{Outline} \...


2

In the following shortened MWE, I have used \setbeamercolor{page number in head/foot}{bg=black,fg=white} to get a white page number on a black background (please compare with \setbeamercolor{author in head/foot}{bg=black}, the settings for the author). In order to color the background of the title in the color myblue, I have changed \setbeamercolor{title in ...


5

Welcome to TeX.SE! Here is a solution that borrows \int_step_variable:nnnNn from expl3: \documentclass{beamer} \usepackage{expl3} \usepackage{tikz} \ExplSyntaxOn % Borrow a loop macro from expl3 \cs_set_eq:NN \intstepvariable \int_step_variable:nnnNn \ExplSyntaxOff \begin{document} \begin{frame}{Circles in circle} \begin{center} \begin{tikzpicture} \...


9

I think something like this is what you're after. \documentclass{beamer} \usepackage{tikz} % define a counter \newcount\CircNum % macro to hold a color name \newcommand\Clr{black} \begin{document} \begin{frame} % set up an animation, \CircNum changes from 1 to 17 % with each frame \animatevalue<1-17>{\CircNum}{1}{17} \begin{tikzpicture} % draw the ...


1

Adding a \ vfill` seems to do the trick: \documentclass[demo]{beamer} \usepackage{caption} \begin{document} \begin{frame} \begin{figure}[!ht] \centering \includegraphics[width=0.7\textwidth]{image1} \caption{xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx} \end{figure} \vfill\null \...


1

You can scale the fonts, but as you already remarked that makes them also bolder. \documentclass[9pt]{beamer} \usefonttheme{professionalfonts} \usepackage[T1]{fontenc} \usepackage{lxfonts} \DeclareFontFamily{T1}{llcmtt}{\hyphenchar\font-1} \DeclareFontShape{T1}{llcmtt}{m}{n}{<-> s*[1.22]ec-lmtt10}{} \DeclareFontShape{T1}{llcmtt}{m}{it}{<-> s*[...


0

I finally opted to use a variation of @Fran's suggestion in the comments above. A justification to future people like me follows below. In the style of @Marijn's code: iooci.sty \usepackage{etoolbox} \institute{Institute of Often Classified Information} % default institute and logo \logo{\fbox{\Huge IoOCI}} \setbeamertemplate{classificationframe}{% \...


0

Did you try \newcommand\hideit[1]{% \only<0| handout:1>{\mbox{}}% \invisible<0| handout:1>{\textcolor{red}{#1}}} ?


0

I propose this layout: \documentclass{beamer} \usepackage{mathtools, nccmath} \usepackage{accents} \newcommand{\ubar}[1]{\underaccent{\bar}{#1}} \setbeamersize{text margin left = 5mm,text margin right = 5mm} \begin{document} \section{Methods and Materials} \begin{frame} \begin{equation} \label{modelo_mat} \begin{alignedat}{3} & \text{minimize} &&...


0

see if the following modification of your code fragment fit on your slide: \tiny \begin{equation} \label{modelo_mat} \begin{aligned} & \text{minimize} && \sum_{i=1}^{N} (w_1DTT3_i+w_2DTTI_i+w_3a_i)\\ & \text{sujeito a:} && y_{fi}^h = \left[\dfrac{X_{Cfi}}{f_Q h_{si}}+j\left(\dfrac{hX_{Cfi}}{h_{si}^2}-\dfrac{X_{Cfi}}{h}\right)\right]^{...


1

According to the beamer documentation, the frame environment accepts the following arguments: \begin{frame}<⟨overlay specification⟩>[<⟨default overlay specification⟩>][⟨options⟩]{⟨title⟩}{⟨subtitle⟩} Therefore, {content} in your second slide is interpreted as the framesubtitle and \begin{frame}{Title} {contents} \end{frame} is actually ...


1

You could put the title page and a conditional 'Classified' frame in a style file. The frames can be inserted using the AfterEndPreamble hook from the etoolbox package, which is executed at the end of the \begin{document} command. MWE, iooci.sty: \usepackage{etoolbox} \newif\ifclassified \classifiedtrue % set boolean to true by default \institute{...


0

You are getting a ! Misplaced \noalign because, after full expansion, there may be no remaining tokens between the TeX primitives \cr, which is used in \\, and \noalign, which is used in the \*rule macros. Tokens that disappear during the expansion, like \if, are fine. But \only cannot be fully expandable because it needs to keep track of how many overlays ...


0

Example: \documentclass{beamer} \usepackage{textcmds} \begin{document} \begin{frame} This is to test dashes \\ X\textendash rays are very powerful \end{frame} \end{document} If you want to insert dash within beamer slide, use package textcmds and include \textendash where ever you want to display dash. If you want to insert a long dash within beamer slide,...


1

Here is a way with tikz: \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame}{} \begin{tikzpicture}[overlay,remember picture] \node[draw=red,fill=yellow,rectangle,shift={(-0.5,0)}, text width=3cm,above,rotate=90] at (current page.east) {\color{black}\footnotesize SOME TEXT that will be broken in several lines};\end{tikzpicture} \end{...


0

Assuming that your beamer theme is actually Berkeley, I'd suggest using two columns as follows: \documentclass[10pt,xcolor={table,dvipsnames},t]{beamer} \usetheme{Berkeley} \usepackage{graphicx} \usepackage{wrapfig} \usepackage[export]{adjustbox} \begin{document} \begin{frame}{Simplicial Subdivisions} \begin{columns} \begin{column}[t]{0.7\textwidth} \...


0

The \setbeamertemplate{bibliography item}{\scalebox{1.5}{\pgfuseimage{beamericonarticle}}} in utfprpgtex-poster.sty explicitly disables the numbering in the bibliography and forces the little icons to be shown instead (though to be fair, it is already the beamer default to place the little icons, this line does not make things worse in that regard, it just ...


3

It seems that using the plain TeX macro package insbox and enumitem (to change the right margin of the list), it works. Not sure there are no side-effects, though. \PassOptionsToPackage{demo}{graphicx} \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage{enumitem} \input{insbox} \begin{document} \begin{frame}{Simplicial ...


1

You can write this equation on two lines, using the \MoveEqLeft command from mathtools (needless to load amsmath in this case: mathtools already does it). Unrelated: it is not necessary to load tikz-feymann thrice. \documentclass{beamer} \newcommand\Fontvi{\fontsize{2}{6}\selectfont} \usepackage[utf8]{inputenc} \usepackage[compat=1.1.0]{tikz-feynman} \...


1

the title of the block is missing: \begin{block}{Title} \begin{equation*} \ket{\psi_{n\bm{k}}} = \frac{1}{\sqrt{N}}\sum_{\bm{R}}e^{i\bm{k}\cdot\bm{R}}\ket{\phi_{n\bm{R}}} \end{equation*} \end{block}


1

The above sample could be done with \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage[american]{babel} \usepackage[style=authoryear]{biblatex} %%% THIS ADDS THE COMMA BETWEEN AUTHOR NAME AND YEAR \renewcommand*{\nameyeardelim}{\addcomma\space} %%% USUALLY YOU'D HAVE YOUR BIB FILE SEPARATE, THIS IS JUST FOR MWE \usepackage{filecontents} \...


1

You can use the <+(num)-> syntax for more flexible control of the overlay specification. Code \documentclass{beamer} \begin{document} \begin{frame} % \uncover<+->{Newly added content}\\ \uncover<+(1)->{Appear second}\\ \uncover<+(-1)->{Appear first} \end{frame} \end{document} Output And after uncommenting the first ...


1

The most likely cause of additional space around beamer blocks is that it's using a beamercolorbox with colsep*=0.75ex and some background color is set. The colsep option is explained in the manual in the section on beamercolorbox options: colsep*=⟨dimension⟩ sets an extra color separation space around the text that is horizontally outside the box. This ...


1

Your table is very tall ... To fit it in one frame you should reduce its font size to \tiny and also reduce \arraystretch to 0.8 and omit frame title: \documentclass{beamer} \usepackage{booktabs, tabularx} \begin{document} \begin{frame} %\frametitle{The table} \begin{table} \tiny \renewcommand\arraystretch{0.8} \caption{EXata ...


2

the height of ~ 3cm is commented out i would split the table or remove the title: \documentclass[12pt,oneside]{beamer} \begin{document} % \begin{frame} %\frametitle{This is a frame with a table} \begin{table}[!ht] \centering \caption{EXata simulation parameters} \vspace{0.3cm} \label{tab-3.2:assumptions} %\resizebox{\linewidth}{3cm}{% i would split it up \...


0

If placing the file in your directory results in error messages (as it does for me), you can also just write the following line before the text that is not visible: \setbeamercolor{normal text}{fg=black}\usebeamercolor*{normal text} It will change the font color to black, since the reason that you don't see the text is probably that your heading color is ...


5

When using listings with beamer, you need to add the [fragile] option after \begin{frame} if the frame contains a listing. Otherwise beamer cannot deal properly with the listing, that is somehow simlar to verbatim. From the beamer doc The ⟨environment contents⟩ [of a frame] can be normal LaTeX text, but may not contain \verb commands or verbatim ...


0

I ended up using Lualatex which allowed me to keep the pretty font but get around this but in xelatex.


3

As the beamer class already loads the xcolor package, your code results in the following error message: Option clash for package xcolor.. To overcome this, I have removed \usepackage[dvipsnames]{xcolor} and replaced it by the class option [xcolor={dvisnames}]. I have also enclosed the tcolorbox in a frame environment. \documentclass[xcolor={dvipsnames}]{...


0

In the following example, I have copied part of the beamerouterthemesidebar.sty to the MWE and added comments to the lines that can be modified in order to change the vertical spacing between the elements in the sidebar. \documentclass{beamer} \usetheme{Berkeley} \makeatletter \setbeamertemplate{sidebar \beamer@sidebarside} { \beamer@tempdim=\beamer@...


1

This answer was provided by Stackoverflow user samcarter in the chatroom. I am posting it here because it solved my problem. Here is a template that reproduces the 2015 behavior of the code in the question when it is run with TeX Live 2018. \documentclass[]{beamer} \setbeamertemplate{footline}[frame number]{}%gets rid of bottom navigation bars \...


0

This is a MWE with \transfade and \onslide. This work only in fullscreen mode. \documentclass{beamer} \usepackage{tikz} \begin{document} \begin{frame} \transfade \begin{tikzpicture} \onslide<2->{ \filldraw[shade, opacity=.5, color=red] (1,1) rectangle (0,0); } \end{tikzpicture} \end{frame} \end{document}


0

Since the outer theme sidebar that is used by the theme Berkley inserts the short versions of author and title, you can simply leave them blank: \documentclass[9pt]{beamer} \usetheme{Berkeley} \usepackage[utf8]{inputenc} \usepackage[english,greek]{babel} \begin{document} \author[]{Βασίλης Μπισκετζής} \title[]{Αυτόμοιοι Πιδακες σχετιζόμενοι με εκλάμψεις ...


1

you could use \mode<beamer>{\multiinclude[<visible@+>][graphics={height=\paperheight},format=png]{path/to/animation}} \mode<handout>{\multiinclude[start=xx][graphics={height=\paperheight},format=png]{path/to/animation}} where you need to replace xx by the number of pngs in this animation.


Top 50 recent answers are included