Questions tagged [frame]
The frame tag has no usage guidance.
73
questions
1
vote
1
answer
160
views
ConTeXt: Adding a page border with two lines
Recently I've tried to add a simple double page border to a document in ConTeXt (with mtx-context version: 2023.09.26 18:19). E.g. more formal cover pages or documents might use something like that.
...
1
vote
1
answer
75
views
ConTeXt: Align \frame in margin header to get vertical rule in top margin
In ConTeXt I'm looking to make this LaTeX kaobook header.
I used \showframe to appreciate the layout elements and what happened to them while changing their dimensions:
\showframe
\setuppapersize[A4]...
7
votes
1
answer
257
views
Why is using frametitle the recommended way when using the beamer class?
I have just read that using frametitle explicitly is the recommended way for a frame's title when using the beamer package [1], i.e. \begin{frame}\frametitle{<title>} ... \end{frame} is ...
0
votes
1
answer
26
views
How can increase the width of the frame little bit beyond the margin?
\documentclass[letter,10.5pt]{article}
\usepackage[head=0pt,bottom=0.6in,top=0.8in, left=0.5in,right=0.5in, footskip=1cm]{geometry}
\usepackage{fancyhdr}\pagestyle{fancy}
\fancyhead{}
\fancyhead[R]{\...
2
votes
1
answer
112
views
A funny bug with input, newcommand, ifthenelse in a beamer
First I write a tex named thequest like:
\begin{quest}
Just a problem.
\end{quest}
Then in the main tex, I write
\newtheorem{quest}{Question}
\newcommand{\Fakeframe}[1]{\ifthenelse{\equal{#1}{}}{}{
...
2
votes
1
answer
106
views
How to make a minipage break over two pages<
I have an example of communication in mz document in a separate frame, for which I used fbox + minipage. How can I make it break over 2 pages? MWE below, I left all packages used, in case they ...
0
votes
1
answer
32
views
How to get a few paragraphs framed such that the frame is exactly as wide at the surrounding text and stays completely on the one page?
Let's say we want to get one or two paragraphs of text into a visible framed such that:
the total width of the frame (including its borders) is the exactly same as the width of the surrounding text (...
2
votes
1
answer
53
views
Set height of go to button in beamer class
I can set width of go to button in beamer presentation with the following code. How can I set height of go to button?
\documentclass{beamer}
\begin{document}
\begin{frame}
\frametitle{Sample}
\begin{...
1
vote
0
answers
31
views
How can I put a floating image on the upper right corner of the page/top of 2nd column using multicol?
I am trying to replicate the look of the 2nd edition AD&D Monstrous Manual. What I specifically want is to have an image defined at the start of the page, which is always in the top of the second ...
1
vote
1
answer
112
views
How to Automatically Make Niceframes Over Multiple Pages
I would like to create a special component of a book in which all the pages are framed in the manner of niceframe. And so, I would like an entire chapter, as usual, with the usual page breaks, and ...
2
votes
2
answers
105
views
Changing the Color of an Includegraphics Basic Frame with Adjustbox
MWE:
\documentclass[tikz]{book}
\usepackage{xcolor}
\usepackage[export]{adjustbox}
\begin{document}
\thispagestyle{empty}
\includegraphics[frame=2pt]{example-image-A}
\end{document}
gives
I would ...
1
vote
0
answers
146
views
tcolorbox does not break and starts on next page
I'm a beginner with latex and would have liked to make a recipe book. Each recipe would be framed in a tcolorbox as shown on the screenshot below:
The problem is that the boxes don't break if there ...
1
vote
3
answers
57
views
How to determine the position of the third node from the position of the two nodes?
Here is the image my existing code produces:
I hope that the FFFFF of the rhombus can be directly above C and directly to the right of E. How should I do it? Below is my minimal working case:
\...
0
votes
1
answer
92
views
! Missing \endcsname inserted.<to be read again>\end/ \begin{ [duplicate]
I'm trying to create a presentation, but a get this error.
'! Missing \endcsname inserted.'
this is my code:
'''
\begin{frame}[fragile]{Liste}
\begin{itemize}
\item Une liste est une structure de ...
-1
votes
1
answer
91
views
drawing box with latex [closed]
I want to write something like in the attached file.
Any help will be appreciated.
2
votes
2
answers
69
views
Wanted: Framed box with fixed width and centered content with manual linebreaks
I need a box with the following properties
framed
fixed width
content text is centered
manual line breaks in the content text are possible
The closest I have is:
\documentclass{article}
\usepackage{...
2
votes
1
answer
158
views
How to get such a frame?
How to draw such a box in Latex?
According to google, I tried the below method. When multi-line text appears, the text cannot be displayed left-aligned.
And the distance between the text and the upper ...
2
votes
3
answers
112
views
How to add numbers next to the frame line using mdframed
I just came across the mdframed package and found it very useful. However, I would like to add numbers next to the frame line similar to the picture I attached (See red numbers, that's how I want it). ...
2
votes
1
answer
61
views
Remove thin black frame around standalone image
My MWE:
\documentclass[12pt]{article}
\usepackage[most]{tcolorbox}
\tcbset{
sidebyside,
listing options={
basicstyle=\small\ttfamily,
breaklines=true,
postbreak=\mbox{\textcolor{red}{$...
2
votes
2
answers
49
views
Power in boxes to explain binary writtings
The code below is a starting point for a macro that will do calculations automatically.
The output uses too much horizontal spacing. Is there a way to use boxes with less inner space ? Maybe I should ...
2
votes
1
answer
79
views
Latex: Redefine Beamer's frame environment when within another environment
I have to make presentations with beamer regularly, and I tend to make slides that I can reuse later from one presentation to the next. When not using the slides, I like to keep them "hidden"...
2
votes
1
answer
60
views
Numbered boxes to "List of Boxes" in Optex
I'm trying to make a "List of Boxes" in Optex like the one offered by tcolorbox. I used two tricks for "round frames" and "new list of X" and "new caption" from ...
1
vote
1
answer
35
views
Unable to get the article cited in beamer the using the footcite coomand
I am trying to cite an article on my beamer slide, but it's not getting cited properly. Please see the code and output below. Please note that the first reference cited as techreport is cited properly,...
1
vote
1
answer
95
views
Beamer does not render custom `endpage` template when notes are enabled
Recently I built my first LaTeX beamer theme.
The theme is open-source and available at https://code.europa.eu/pol/european-commission-latex-beamer-theme/ (It has an integration with Nix so anyone ...
0
votes
1
answer
98
views
How can I add a second smaller tcolorbox on the lower right corner of the frame of a bigger tcolorbox?
I want to achieve what you can see in the attached picture. I succeed so far with my MWE to add a title to the upper left corner. How can I add the second tcolorbox in the lower right corner of the ...
2
votes
1
answer
40
views
frames surrounded by a rectangle in pgfmorepages
I have the following simple code:
\documentclass[10pt,handout]{beamer}
\usepackage{pgfmorepages}
\pgfpagesuselayout{2 on 1}[a4paper]
\begin{document}
\begin{frame}
\frametitle{Hello}
Nice to see you
\...
1
vote
2
answers
66
views
An Expedient Method for Perfectly Fitting an Image to a Pspicture
Consider the code:
\documentclass[a5paper,12pt,onecolumn,openany,final]{book}
\usepackage[hmargin=0.7in,vmargin=0.75in]{geometry}
\usepackage{pstricks}
\usepackage{graphicx}
\begin{document}
\...
1
vote
1
answer
42
views
Thicker margin line
tell me please how to make these lines (frame) more thicker?
\documentclass{article}
\usepackage[margin=3cm]{geometry}
\usepackage{tikz}
\begin{document}
\tikz[overlay, remember picture] \draw ([...
5
votes
1
answer
239
views
How to Make an Ordinary Page Border Resemble This Tcolorbox
I know that I can produce (ordinary) page borders, for example, as follows:
\documentclass{article}
\usepackage[margin=.75in,paperwidth=16cm,paperheight=24cm]{geometry}
\usepackage[a4,frame,noinfo,...
0
votes
1
answer
54
views
Customizing Beamersymbols
I find it tricky to click on the right beamersymbol and do not trust myself to do it during a presentation. See here for an illustration. So, I would like to reduce the number of beamer symbols, ...
4
votes
3
answers
155
views
Columns with a Right Parenthesis
I want to arrange my frame as shown in the attached figure. However, despite the idea, I don't know how to do that. Please help me out.
The left and right columns need not be framed. I used frames ...
4
votes
1
answer
110
views
Divide a frame from corner to corner
I want to divide a frame in beamer from corner to corner having images on both sides. It should look something like the image attached. I have this idea, but I'm completely unaware of how to do this. ...
1
vote
1
answer
164
views
Beamer: getting rid of outline frames in the overall count
I have a problem with Beamer: I would like the overall frame count to take into account only the frames with actual content.
Here there is an MWE:
\documentclass[envcountsect]{beamer}
\usetheme[...
2
votes
2
answers
313
views
Removing frames in the 'Python' environment
I use the Python environment from package pythonhighlight for highlighting code syntax. However, the code is always framed. Is there a possibility to switch off the frame around the code?
Here is my ...
0
votes
0
answers
133
views
How remove subsection for a specific frame in latex-beamer
hi guys I hope you are doing well I'm building a presentation using beamer latex, and I want to remove the bar in the header where the name of the subsection is shown just for specific frames
these ...
1
vote
1
answer
108
views
Adding a Colored Frame to a Do-It-Yourself Lettrine
This question is an extension of the one posed a while back in Adding a Letter to an Image in a Do-It-Yourself Lettrine
Consider the MWE
\documentclass{book}
\usepackage{lettrine}
\usepackage{xcolor}
...
1
vote
0
answers
215
views
Fix position of slide content in beamer
I'm struggling to get my custom theme running. I have created headline and footline banners with tikz but textheight is calculated wrongly. My first idea was to change the height of the head and ...
1
vote
0
answers
79
views
How to include a GIF image in a title frame in latex beamer [closed]
I am using the following beamer theme:
https://www.overleaf.com/project/626927e775988aa7abc79c3f
Instead of having the image "library.jpg" in the title frame, is there a way that I can ...
1
vote
1
answer
125
views
ConTeXt: Full text justification using \definefont
Background
Looking to make speech bubbles autofit the text using ConTeXt LMTX.
Problem
The right padding on the framed text changes depending on whether the macro for \definefont is used. In the ...
1
vote
2
answers
129
views
Can I redefine an environment?
I want to redefine frame like this:
\renewenvironment{frame}{
\begin{frame}{\bfseries{\sectiontitle}}
}{
\end{frame}
}
Then I can:
\section{My section}
\begin{frame}
\begin{itemize}
...
0
votes
2
answers
78
views
How to make frame decorations bigger?
It is very small and often I can't see them. For instance, those tildes:
\tilde{g}_{ij}\de{\tilde{x}^{i}}{x^{k}}\de{\tilde{x}^{j}}{x^{l}}
0
votes
1
answer
322
views
Undefined control sequence for \end{frame}
Problem Description
I have a error on the penultimate line 14, /end{frame}: "Undefined control sequence."
Anyone knows why?
MWE:
\documentclass[10pt,a4paper]{beamer}
\usepackage[utf8]{...
0
votes
1
answer
341
views
Minted: no margin outside of frame when using background color
I am using minted with a background color and a frame (see MWE below) for displaying code with syntax highlighting in my document. How can I remove the space (see red arrows in image below) outside of ...
0
votes
1
answer
57
views
How can I align frames vertically with option [frame=single] when using showexpl in LaTeX?
When I use the option [frame=single] for LTXexample, the frame around the LaTeX code gets poor vertical alignment with respect to the formatted output, especially for one-line coding.
How can we get ...
1
vote
1
answer
101
views
How to put a frame over a page?
I'd like to have a frame along the margins of a page. I'm working on TeXWorks. I don't know how can I do it, can anyone help me please?
1
vote
1
answer
537
views
Hyperlink to return to a previous slide
I am trying to use \hyperlink{}{} to return to a previous slide using beamer.
I am doing the following:
% SLIDE 31
\begin{frame}
\frametitle{ML 1}
\framesubtitle{SVM 1}
...
0
votes
1
answer
687
views
sub sub figure frame or box in latex
I have two subfigures with common captions and the other two subfigures with common captions. I need something like the attached. where "abc" and "time(s)" are labels. Please help ...
1
vote
0
answers
135
views
Beamer Layouting a Frame multiple Minipages
I do try to realize a given structure of a presentation in Latex beamer. As a minimum working example I wrote the following code:
I want to structure my frame as shown in the image:
The dimensions ...
1
vote
0
answers
31
views
Auto detect blank page and add something [duplicate]
i have a beamer
\documentclass{beamer}
\usepackage{xpatch}
\makeatletter
%\patchcmd\what{}{}{}{} ?
\makeatother
\begin{document}
\frame{\frametitle{First}
Something.
}
\frame{\frametitle{Second}
...
1
vote
1
answer
55
views
Some problem about the frame
I have made a box and I have a few problems. The first one is that, no matter how I change the toptitle or the bottomtitle, the spacing between the box and the article below is still unchanged.
How ...