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
1 vote
0 answers
41 views

Latex beamer two boxes side by side

I want to place two boxes side by side and one box below both of them such that the are aligned. I thought of using columns, but then the alignment does not match. Here my minimal example: \...
user avatar
0 votes
2 answers
70 views

How to right align the last line of a block of text?

I’m using pandoc to convert a Markdown file to a LaTeX document and then to PDF. The document I have contains some quotations. Coming from standard Markdown, they are rendered as quotation or quote in ...
user avatar
2 votes
1 answer
107 views

How to draw multi-blocks block diagram?

I am trying to draw this block diagram I am a beginner and I started with this code \begin{figure} \centering \tikzstyle{block} = [draw, fill=white, rectangle, minimum height=3em, minimum width=6em] ...
user avatar
1 vote
0 answers
41 views

Interaction between Beamer, Nicematrix and Polyglossia

I have run into a curious interaction between Nicematrix and Polyglossia when used in Beamer, specifically in connection with the command \Block. The code shown compiles perfectly in XeLaTeX if the ...
user avatar
1 vote
2 answers
104 views

How to fit dmath equation into a block in beamer?

I am trying to fit a long equation into the beamer block: \documentclass[pdf]{beamer} \usepackage{adjustbox} % to fit content into a box % Resize equations to always fit into frame: \usepackage{...
user avatar
  • 11
1 vote
0 answers
75 views

Overlapping block title and block body in beamer

In the following MWE I have managed to overlap block title and block body. However, I want to send block body to the back or block title to the front. \documentclass{beamer} \usetheme{Dresden} \...
user avatar
  • 281
1 vote
0 answers
65 views

how to adjust the width of the block title to the length of the text

I want the block title width to automatically adjust to the length of the text. In the following MWE, I have changed the beamer template for the block environment and set the width of the block title ...
user avatar
  • 281
1 vote
0 answers
70 views

Prevent beamer columns environment from adding vertical space

the beamer columns environment adds vertical space before the content of the columns, which becomes particularly obvious (and ugly) when used within a block: \documentclass{beamer} \usetheme{...
user avatar
  • 155
1 vote
2 answers
68 views

How to center the blocks with respect a line?

I'm making the following block diagram, but I don't know how to move or center the first column of 4 blocks, in a way there is the same number up and down respect the line of U MWE \documentclass{...
user avatar
  • 1,077
0 votes
0 answers
22 views

How to rolling windows block in latex? [duplicate]

I wanted to write the following matrix, but I can't draw borders. This is a sample code that I found on the internet \left.R=\left[\begin{array}{cccc} r_{1,1} & r_{1,2} & \cdots & r_{1, S}...
user avatar
  • 1
0 votes
1 answer
47 views

how to change the width of a single block in beamer keeping it centered

A very similar question was already asked here. Unfortunately, as it often happens, it was mistakenly marked as a duplicate of the following question. While the latter is a perfectly legitimate ...
user avatar
  • 141
2 votes
1 answer
148 views

Latex Beamer - Manual cover and uncover blocks and images

I don't know how to achieve the following: On page 1 I have an image A and a block with text. Here, Image A shows some flowchart (as png) and the block should be covered (grayed out). On the second ...
user avatar
0 votes
1 answer
80 views

block environment without beamer

I like the block environment, namely: \begin{block}{Example} Something interesting \end{block} However, it seems it is linked to beamer. So, is it possible to have something like the block ...
user avatar
  • 199
1 vote
0 answers
50 views

When using a block in beamer class the output is giving two overlapped box

The output of this code gives two overlapped boxes. What is wrong? \documentclass{beamer} \usepackage{graphicx} %\setbeamersize{text margin left=0.5cm,text margin right=0.5cm} \mode<presentation&...
user avatar
2 votes
3 answers
420 views

NiceTabular: Vertical rules are being drawn through blocks

I am making a table with dotted vertical lines, so I am using the NiceTabular environment instead of the tabular environment. I expect the vertical lines not to be drawn within the \Block that I am ...
user avatar
  • 23
0 votes
0 answers
26 views

How to add text block right to the recipient address in scrlttr2

I would like to add a text block to the right of the recipient address in scrlttr2. You can see details here: The problem is that the recipient address is added automatically and parameters are set ...
user avatar
0 votes
1 answer
88 views

Justify text in alert blocks

how can I justify the text inside an alert block? \begin{frame} \begin{alertblock}{hello} text to justify \end{alertblock} \end{frame}
user avatar
  • 13
0 votes
1 answer
230 views

How to add blank lines in Beamer - block

I am writing a presentation on Overleaf and using Beamer. Example: \begin{frame}{Title} \begin{block}{Bloc title} Line one Line three \end{block} \end{frame} However, I'm not able to add ...
user avatar
  • 105
1 vote
0 answers
51 views

Remove lines from block title

Whenever I render my slides, there is always at least a vertical or horizontal (sometimes both) line in the title environment of my block sections. If it is of relevance, I am using TexStudio on ...
user avatar
1 vote
2 answers
151 views

Tikz Drawing Block

Hello everyone. How to draw this block in LaTeX using TikZ? Thank you for all.
user avatar
2 votes
1 answer
156 views

Defining beamer block with customizable colors

I am trying to define a block with customizable colors. I want to put this in a file of common definitions (say common_defs.tex) and include it in each presentation and set its title and text ...
user avatar
  • 2,313
7 votes
1 answer
412 views

Annoying black color appears on beamer block after some edits

Here's my problem: You see the black color there around my block? I don't know why this happened. I want to remove it. By the way since ths beamer requires a picture. Please use any picture and ...
user avatar
1 vote
0 answers
114 views

\pause with transparent rounded shadow blocks rendered incorrectly

This simple LaTeX code is not rendered as one may expect. \documentclass{beamer} \setbeamercovered{transparent} \setbeamertemplate{blocks}[rounded][shadow=true] \begin{document} \begin{frame} \begin{...
user avatar
1 vote
0 answers
57 views

Block and theorem 'blocks' have the same color setting?

I am trying to set the colour of my 'theorem' blocks in beamer. As per this advice, I changed the \setbeamercolor{block title} and \setbeamercolor{block body} colours. This worked but I noticed it ...
user avatar
  • 209
2 votes
2 answers
282 views

NiceTabular: Overhang of vertical rule next to a filled block

I created a table with the nicematrix package. It looks quite good except of one point: I used a filled block over multiple rows with some rotated content. But the vertical rule next to the block does ...
user avatar
  • 483
1 vote
1 answer
63 views

Apply command to this area only

What is the syntax for apply command on specific area only? What I mean is something like: \newcommand{\somevariable}{3} \somevariable %3 -- some block which doesn't effect the outsize -- \...
user avatar
4 votes
2 answers
100 views

How to add extra space between the left-side legend and the left parenthesis of a matrix in the presence of a vertical line?

I have the following example: \documentclass{article} \usepackage[english]{babel} \usepackage{booktabs} \usepackage{array} \usepackage{blkarray} \begin{document} \begin{equation}\label{cexA_Rmat} \...
user avatar
  • 512
1 vote
1 answer
155 views

How to omit the title bar of a block?

I want to omit the title bar of a block: So to go from this to just that I know there is the \usepackage{framed, color} but I do not know how to get the exact same color that is provided in the ...
user avatar
  • 367
3 votes
5 answers
297 views

Strange centering behaviour with nicematrix

With the package nicematrix I try to create a NiceTabular to be able to work with blocks. While doing so, I made some interesting/strange observations. The first thing, I realized: Blocks and rules do ...
user avatar
  • 483
0 votes
1 answer
115 views

Using tikz to strike out a beamer block

In this post I found this command to strike out words with a red cross: \newcommand\mycrossed[1]{\tikz[baseline=(A.base)] \node[cross out, draw= red, draw opacity=0.5, line width=1.5pt, ...
user avatar
  • 110
2 votes
1 answer
88 views

How to encircle /square rows/elements and block this Matrix [duplicate]

The following matrix is my desired matrix form : I attempted to use the nice matrix environment since it offers a solution encircling/squaring rows and elements as seen in this photo above. The only ...
user avatar
1 vote
0 answers
43 views

Why are titles of blocks in beamer not translated with the babel package [duplicate]

Is there a way to change only the title of a build in beamer block? Because the babel package doesn't do it. \documentclass{beamer} \usepackage[dutch]{babel} \begin{document} \begin{frame}{Translate ...
user avatar
1 vote
0 answers
41 views

LYX - empty space in block

Hey I try to do block in LYX but I get sth like this: How can I delete this empty space? My code: #LyX 2.3 created this file. For more info see http://www.lyx.org/ \lyxformat 544 \begin_document \...
user avatar
  • 241
1 vote
1 answer
614 views

Change name and numbering of block title

I'm trying to make the following changes to the default settings in Beamer: Instead of the usual numbering of the blocks (1, 2, 3), I would like to add a prefix: (A.1, A.2, A.3). I would also like to ...
user avatar
1 vote
0 answers
62 views

How to put a block in the top part of a column?

How can I put a block in the top part of a column in beamer? For example I have the following code: \documentclass[pdf]{beamer} \begin{document} \begin{frame} \begin{columns} \begin{...
user avatar
  • 205
2 votes
1 answer
112 views

plot block matrix with braces inside the matrix

how could I plot this block matrix? I tried to plot it with this code but braces is still remained. ` \documentclass[12pt]{article} \usepackage{amsmath} \usepackage{nicematrix} \usepackage{amscd} \...
user avatar
  • 21
4 votes
1 answer
232 views

How to do a line break and horizontal space for blocks with 'nicematrix'?

I don't know what to do anymore, I try to generate a table with labels by using the \block command (I am using XeLateX, if that is important, because with the default one I get a pixelated font). My ...
user avatar
2 votes
1 answer
105 views

Creating a special block matrix

I'm trying to create an special block matrix with the following structure: Would you please guide me on how to design it? Thank you.
user avatar
  • 455
1 vote
1 answer
91 views

How can I create boxes like the frametitle and framesubtitle in the middle of a frame?

I am preparing a lecture note in beamer. I want to make headings in the middle of the frame which should look like frametitle or framesubtitle boxes. In the following MWE, I am using a block to create ...
user avatar
2 votes
0 answers
110 views

Beamer Overlay Replacing items

I have an itemize list with three elements which I would like to uncover after each other. Every item comes with two "examples", represented by blocks. I would like to uncover the three ...
user avatar
  • 350
1 vote
1 answer
627 views

How to shift Block environment to the left in beamer?

I have a figure which is coming out of the block environment in a beamer presentation: I found this thread and defined a varblock environment, where I set the width to be a little larger. But the ...
user avatar
  • 107
1 vote
1 answer
307 views

Beamer flush right in title

I am currently working on some presentation with latex-beamer. Now i've got some theorems where I want to add some context to where it comes from (aka. citations). And I want them to appear where you ...
user avatar
  • 100
1 vote
2 answers
59 views

Arrows in Block Diagram are not alligned

Good evening, i am trying to create a nice plot. Everything works fine so far, but i can not align the arrow from Node "specific" and "theoretical" to Node "cool". Thanks for every idea. Phil \...
user avatar
  • 35
0 votes
2 answers
122 views

Block-diagram phase noise algorithm

I am trying to recreate the block diagram shown on the following link https://www.mathworks.com/help/comm/ref/phasenoise.html#fp605734-Algorithms I tried creating it using the examples at the ...
user avatar
1 vote
3 answers
353 views

How to design a block diagram

Hello I was wondering how to do block diagrams in Latex. I am a beginner to the program so I am pretty remedial at it so far. I want to create just without the bold lines or gray blocks. I am having ...
user avatar
  • 135
0 votes
2 answers
168 views

Little space at the bottom of a beamer block

I want to expand the space after the equation at the bottom of a beamer block to looks smooth. I tried to use \vspace{1in}, \leavevmode\hphantom{ }, and \vspace{0.1in}. but it produces long vertical ...
user avatar
  • 4,174
2 votes
1 answer
144 views

How to draw arrow at the start in the flow chart?

I am confused how to draw arrow in the flowchart at the beginning and end. I used the following \documentclass[a4paper,10pt]{article} \usepackage{tikz} \usetikzlibrary{shapes.geometric, arrows} \...
user avatar
  • 21
1 vote
0 answers
72 views

Autowidth Box for Itemize Environment

A newenvironment is defined using varwidth and tikz to get a block of width equal to that of the content within it. It works fine, unless itemization is involved. A MWE is given here. \documentclass[]...
user avatar
  • 984
1 vote
1 answer
450 views

In tikzposter how to align blocks?

I want to arrange blocks in the following manner: Basically none of the blocks are aligned in a single column or row. Number of blocks does not matter. I just want blocks to cross over the column or ...
user avatar
  • 21
1 vote
0 answers
54 views

How do I customize a beamer block that look like this? [closed]

I desire to customize block in beamer that looks like this image: I have tried to use column style but most times I have been unable to write the same length of reasonable text in each column unlike ...
user avatar

1
2 3 4 5