Giter Club home page Giter Club logo

Comments (3)

samcarter avatar samcarter commented on August 24, 2024

related #100

from beamer.

samcarter avatar samcarter commented on August 24, 2024

There is a reason why the shrink option is called "evil" in the beamer user guide :)

See this comment https://tex.stackexchange.com/questions/516345/shrinked-frames-with-hyperrefs-in-beamer-have-displaced-hyperlinks#comment1305643_516345

That's a general problem with such transformations. You will see the same problem e.g. with combining pages with pgfpages etc.

from beamer.

samcarter avatar samcarter commented on August 24, 2024

Instead of using the evil shrink option, you could use a smaller font size. You could even do this automatically using the fitting library of tcolorbox:

% Created 2023-09-22 Fri 20:17
% Intended LaTeX compiler: pdflatex
\documentclass[presentation]{beamer}
\usepackage{listings}
%\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
%\usepackage{graphicx}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
%\usepackage{amsmath}
%\usepackage{amssymb}
\usepackage{capt-of}
%\usepackage{hyperref}
\usetheme{default}
\author{Guillaume MULLER}
\date{\today}
\title{}
\hypersetup{
 pdfauthor={Guillaume MULLER},
 pdftitle={},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 28.1 (Org mode 9.7)}, 
 pdflang={English},
 pdfborder={0 0 1}% <- for this example to show the link positions
 }
\usepackage{biblatex}

\usepackage[most]{tcolorbox}
\tcbset{enhanced,frame empty,interior empty,size=tight}

\usepackage{relsize}
\setbeamerfont{block title}{size=}

\begin{document}

\begin{frame}[label={sec:org6881bbd}]{Test2}
\begin{tcolorbox}[fit,height=.8\textheight]
\begin{block}{Block1 with links}
\begin{itemize}
\item Some text \href{https://www.google.com}{Link1}
\item {\smaller \href{https://www.microsoft.com}{Link2}}
\item A very long text before the link \href{https://mail.google.com}{Link3} text text
\end{itemize}
\end{block}
\begin{block}{Block2 with links}
\begin{itemize}
\item Test \href{https://www.yopmail.com}{Link4}
\item \href{https://test.it}{Link5}
\end{itemize}
\end{block}
\begin{block}{Block1 with links}
\begin{itemize}
\item Some text \href{https://www.google.com}{Link1}
\item {\smaller \href{https://www.microsoft.com}{Link2}}
\item A very long text before the link \href{https://mail.google.com}{Link3} text text
\end{itemize}
\end{block}
\begin{block}{Block1 with links}
\begin{itemize}
\item Some text \href{https://www.google.com}{Link1}
\item {\smaller \href{https://www.microsoft.com}{Link2}}
\item A very long text before the link \href{https://mail.google.com}{Link3} text text
\end{itemize}
\end{block}
\end{tcolorbox}
\end{frame}
\end{document}

test-1

from beamer.

Related Issues (20)

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.