The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [block]

one of the environments of the {beamer} documentclass: it puts the text of the user inside a box with a heading title

Filter by
Sorted by
Tagged with
2
votes
2answers
39 views

Remove vertical space in gather enviroment

I have the following code in a beamer: \begin{frame} \frametitle{New frame} \begin{block}{Distorsión radial} \begin{gather*} \delta_{ur}(u,v)=u(k_1\cdot r^2+k_2\cdot r^4),\\ \delta_{vr}(u,v)=v(k_1\...
0
votes
1answer
27 views

Beamer: Multiple blocks with images - vertical centering of rows

I have a slide with multiple blocks, each in a seperate column. Each block should contain two images on top of each other. In my use case these are tikzpictures, but here I just use includegraphics. ...
1
vote
1answer
55 views

How do I define a phantom block?

I want to define a type of block which when it is given some text, I will print nothing but it will take exactly the same space as a normal block. I am using white background, so I tried to just make ...
0
votes
0answers
20 views

Define a `beamer` block type that changes with themes

I would like to define a beamer block that has a characteristic colour; e.g. the characteristic colour of alertblock is red and that of exampleblock is green. However, I want the style, brightness, ...
1
vote
1answer
39 views

Can this conflict between `biblatex` and redefining the `\section` command be solved?

I am making a poster with the beamer class and the beamerposter package and I want to use enumerated blocks. They way I'm doing it is by defining a sectionblock environment as follows: \...
1
vote
2answers
46 views

Problem from converting standalone to article

I have drawn the following flowchart under the document class 'standalone' but the original document in which it is to be merged in of document class 'article'. So when I paste the code in my main ...
1
vote
1answer
93 views

Block diagram using latex

How to make a simple block diagram using latex e.g. I would like to make a block diagram as shown in pic.
0
votes
0answers
22 views

Block already defined error in beamer

I making presentation through beamer. I want to use blocks as given below but getting error. See the code given below: \documentclass{beamer} \usepackage{mathtools} \usepackage{array} \usepackage{...
0
votes
1answer
26 views

Error when using a block inside a frame in a beamer class document

The piece of code in question (I am using the "physics" package for bras and kets): \begin{block} \begin{equation*} \ket{\psi_{n\bm{k}}} = \frac{1}{\sqrt{N}}\sum_{\bm{R}}e^{i\bm{k}\cdot\bm{R}}\ket{\...
5
votes
2answers
108 views

Block diagram in electrical circuit

I'm new to LaTeX and I don't know how to put a block diagram in an electrical circuit. I'm all done with it except the block with G. Here is my code : \begin{circuitikz}[scale=3] \draw (0,1.5) ...
0
votes
0answers
20 views

Defining blocks in sty file [duplicate]

I am defining blocks in sty file \setbeamercolor{block alerted title}{fg=white,bg=UBCblue} \setbeamercolor{block alerted separator}{bg=white} \setbeamercolor{block alerted body}{fg=black,bg=white} ...
0
votes
1answer
50 views

Is it possible to put beamer blocks in tikz nodes?

I would like to use tikz to position beamer blocks in the frame. Here is my attempt, but it does not compile: \documentclass[beamer]{beamerswitch} \usetheme{metropolis} \usepackage{tikz} \...
0
votes
1answer
93 views

How do you delimit Beamer frames and blocks in LyX?

I’m a new LyX user, and I would like to make a Beamer presentation. But I don’t understand how to perform some absolutely basic functions: inserting a block in a frame that does not have one yet ...
0
votes
2answers
58 views

How to tackle complex overlays with columns, blocs, overprints and items?

Though I had answers for mastering overlays with relative counts (cf here), I cannot manage to use it properly in complex situations with columns, blocs, overprints and items. The result is ...
1
vote
1answer
34 views

How to center all blocks within beamer automatically?

I found a nice solution to change the width of the blocks within my beamer document. The blocks themselves are aligned left. Is there any opportunity to automatically center each block without ...
2
votes
1answer
107 views

Is it possible to put a rectangle as background in the \author section?

In the \documentclass[xcolor={dvipsnames}]{beamer} Is it possible to put a rectangle as background in the \author section ? A kind of block, so that the \author name has a background with light color....
1
vote
2answers
233 views

Verbatim inside \block

I already searched for a solution but found none which works for me. My aim is to write some command inside a block environment. Even though I used \cprotect or \protect it still won't work. Normally ...
0
votes
2answers
129 views

Creating a block matrix

I want to create the following block matrix So far I have obtain the following matrix \[ \renewcommand{\arraystretch}{1.3} \left[ \begin{array}{c@{}c:c:c:c:c:c} & \pmb{\Phi}_{1} &...
1
vote
1answer
195 views

How to wrap text around a graphic in beamer inside a block

I have the following code: \begin{block}{ROC-Curve} \begin{wrapfigure}{0.5/textwidth} \includegraphics[width=0.3\linewidth,height=0.3 \textheight,keepaspectratio]{ROC_curve.PNG} ...
2
votes
0answers
44 views

Bind an image and a paragraph together [closed]

I have multiple blocks of text and each block is associated with an image. I am trying to wrap each image with its associated paragraph individually and so on. I want the next block of text and image ...
4
votes
1answer
723 views

Highlight/color a part of text in block in beamer

I am using beamer in Latex to make a presentation. I use a block for definition like: \begin{block}{P1} \justifying Some text here \end{block} Let us say I wish to highlight a word "Some". By ...
2
votes
2answers
100 views

Image and text block

I do school project, there are a circuitikz circuits and some equations to each one. I'd like to keep it together and put the picture to the left, and equations on the right - as on the attached ...
2
votes
1answer
39 views

Block diagram with child on one of its node

I've been learning to use LaTeX for my final project at campus. And now, I get into flowchart-making section. I could make a simple block diagram, like input-output process but I find my self in ...
2
votes
1answer
122 views

Block diagram tikz presentation

i tried to present a tikz block diagram but my code does not give me what i want. Any help please. \documentclass{article} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \begin{document} \...
0
votes
1answer
212 views

Tikz Nested block diagram with boxed text inside other blocks

I'd like to create a figure that has a series of nested blocks with text inside. I'd like 4 blocks like: [block1]->[block2]->[block3]<-[block4] Where blocks look (below), can anyone suggest ...
3
votes
2answers
102 views

Block with title on the same line as content

I'm looking for a block environment with title on the same line as content. Something like this but with possibility to set a different background color for the title, in order to get something like ...
3
votes
1answer
390 views

Beamer: block in minipage/columns are out of the page

When I add a block in beamer inside a minipage, I have a block that is bigger than the minipage instead of a block that fits into the minipage. So this gives me really strange alignements: Any idea? ...
2
votes
1answer
115 views

is it possible to place a box with text over a picture in latex beamer? using overpic and block

\documentclass[aspectratio=169,usenames,dvipsnames]{beamer} \usepackage{graphicx} \setbeamercovered{transparent} % Transparente Overlays \usepackage{amsmath,amssymb,amstext} \usepackage{pifont} \...
1
vote
1answer
472 views

rounded and not rounded blocks

I would like to know if it is possible to have to different kinds of blocks and how to do it in beamer. As an example, one rounded for examples and one not rounded for theorems. Is it possible to ...
2
votes
2answers
114 views

ConTeXt: break paragraph after t-vim code block

I will edit this question here: I would like the \startc to work like $$math$$. \starttext In C, the program to print hello, world is \startc My C code here. \stopc Just how to run this program ...
1
vote
2answers
397 views

How to make special indents for a block of text

This is what I need: Headline First item in list continuation of description of first item if first line gets full second item on list continuation of description of item 2 ...
2
votes
2answers
246 views

How does one change framecolor for individual block in tikzposter?

Can one change the colour of the line surounding block, framecolor, for individual blocks when using tikzposter? If so, how? I fail to find it out. The background colour of a block, blockbodybgcolor ...
1
vote
1answer
156 views

Different block heights in tikzposter

In the code example attached, I have created 2 columns and 2 rows with blocks (see the figure below). The first column and first row, denoted "Test1a" gets a shorter height than the other four blocks. ...
0
votes
1answer
130 views

Beamer box alignment with enumerate placeholders

I'm trying to align a beamer box with the placeholder of an enumerated environment, but as you can see below it doesn't work out of the box. So far I've tried to resize the blue box with both with \...
1
vote
1answer
47 views

Vertical space on top of the content defined within an environment

I try to understand what's going on with a very simple environment I defined. Please note that I have difficulties to explain the problem. I tries to do my best, but it may not be clear. Please ...
1
vote
1answer
85 views

How to make a block transparent but not its title?

This code make a block transparent along with its title. I want just the block to be transparent but not its title. What do I have to do? \documentclass[compress]{beamer} \usecolortheme{rose} \...
1
vote
1answer
66 views

How can I output this special matrix?

I want to output a special matrix like this: But, I don't know how to do this. Thanks very much!
1
vote
1answer
80 views

How to overlay the fullscreen picture with box of tex

I found it very impressed with this display style of the author. My question is how to overlay the fullscreen picture with box of tex ? Thank you in advance
0
votes
0answers
39 views

Seperating overlapping wrapfigures

How do I separate these two wrapfigure elements? I wish for the second wrapfigure to start after the length of the first wrapfigure length. Instead, they merge into each other. The second ...
1
vote
1answer
149 views

How to enumerate frames by block?

I have many frames with multiple blocks and I want the number of the frames to increase by block, not by frame.How can I do that? Below is an example of one of my frames: \documentclass{beamer} \...
3
votes
2answers
250 views

Drawing Tikz function domain/codomain on selected set of nodes [duplicate]

I am trying to draw a flow-chart like diagram to conceptualize a decision process by which 1) an initiator first chooses whom to team up with and 2) what task(s) to do with this or that person. I ...
2
votes
1answer
213 views

Beamer block in article mode - framed or same style as in presentation mode

I am using the beamer class to create the slides and use the scrartl with \usepackage{beamerarticle} to create the script. The block environment looks well separated and coloured in the slide. I would ...
0
votes
1answer
74 views

How to split a report page in two

I am trying to divide my page in containers like in the above image In the left side will be an image and in the right side will be a table. I need a nice way to display this image. I tried to use \...
0
votes
0answers
24 views

Combination of columns, block and center renders the wrong textcolor in the first block [duplicate]

I just noticed a strange behavior in beamer: if just after the title page, I use a colums environment, in which I put a block, and in which I center the text, the text has the wrong color, namely the ...
1
vote
2answers
212 views

Tikzposter block with no content

I want to use a tikzposter block as a title with no content inside the block. I am currently using: \block{Proposed trajectory}{} Which gives me: However, I would like to have no white bar at all, ...
0
votes
1answer
588 views

Vertical alignment of blocks with and without columns

In a beamer presentation, when I work with blocks in columns, LaTeX seems to add some additional vertical space before the title of the first block. How can I avoid this behaviour? A minimal working ...
0
votes
2answers
831 views

How to add block title section and color without the title in beamer?

When I empty the block title in beamer it doesn't show the green color in Madrid theme. I want to get this color although when I empty the title as well as when give a title.
-1
votes
1answer
136 views

Why there is no block for showing algorithm/pseudocode in beamer?

Although there are many blocks in beamer, but I don't find any algorithm/pseudo-code block. Why there is no algorithm block? Or, Is there any alternative block for algorithm? Or, Is block for ...
1
vote
1answer
174 views

adding blocks in Presento beamer theme [duplicate]

I wish to add blocks in Presento beamer theme. I am not able to get the frame around the blocks. \documentclass[12pt]{beamer} \usepackage{config/presento} \begin{document} \begin{frame} \...
1
vote
2answers
424 views

Stretch block to fill minipage vertically in beamer

I have the following environment that is supposed to divide the beamer page in four equal parts: \newcommand{\FourQuads}[4]{ \begin{minipage}[t][.5\textheight][t]{\textwidth} \begin{minipage}[t]{....