New answers tagged

5 votes
Accepted

Circuitikz with Labels on the right side

Ah, I got it. What I normally do is choose an element in the circuit drawing, name it (naming the node or the element), and then align the table to the baseline of that element. For example, in the ...
Rmano's user avatar
  • 41.1k
0 votes

How to get vertical alignment in the header row of a table?

With {NiceTabular} of nicematrix. In {NiceTabular}, you merge cells both horizontally and vertically with the command \Block. For the rows, you give the number of logical rows (and not the number of ...
F. Pantigny's user avatar
  • 40.8k
1 vote
Accepted

Making horizontal lines (rules) meet at a specific y-position

With the package tabularray. \documentclass[border=5mm]{standalone} \usepackage{tabularray} \begin{document} \noindent\begin{tblr}{ colspec={Q[r] X}, column{1} = {font=\LARGE}, %column{2} ...
pascal974's user avatar
  • 4,817
1 vote
Accepted

Beamer presentation with one slide, containing a single image, centered horizontally and vertically

If your beamer version is up-to-date, you could use the s frame option to prevent beamer from influencing the vertical alignment and then manually add vertical fill symmetrically on the top and bottom:...
samcarter_is_at_topanswers.xyz's user avatar
2 votes

Making horizontal lines (rules) meet at a specific y-position

You can use \leaders TeX primitive: \def\myrulefill{\leaders\hrule height.1pt\hfill\kern.5em\null} \noindent\fbox{\begin{minipage}{\dimexpr\textwidth-2\fboxsep-2\fboxrule\relax} \vskip0.1cm \LARGE \...
wipet's user avatar
  • 74.7k
2 votes
Accepted

vertical alignment of a tkzpicture in a longtable cell

This places the baseline corectly for both \someset and \smallset. \documentclass{report} \usepackage{tikz} \usepackage{longtable} \begin{document} % define a square with text \def\sqs{2.6cm} \...
John Kormylo's user avatar
  • 79.9k
1 vote

how to reformat vdots to be bigger?

I believe you only need to fix \vdots so it takes into account the current font size. \documentclass[portrait,a0b,final]{a0poster} \usepackage{amsmath,amssymb,amsfonts} \usepackage{mathtools} \...
egreg's user avatar
  • 1.1m
3 votes

how to reformat vdots to be bigger?

The original definition of \vdots: \vbox {\baselineskip 4\p@ \lineskiplimit \z@ \kern 6\p@ \hbox {.}\hbox {.}\hbox {.}} uses the normal full stop (see the arguments of the \hbox commands). If you ...
cabohah's user avatar
  • 11.7k
1 vote

Remove extra spacing between subsections in amsart document class

I think you're abusing \subsection and I guess you never use \subsection with a title. However, I'll provide a way to add an optional title in parentheses, that could come in handy. \documentclass[...
egreg's user avatar
  • 1.1m
1 vote
Accepted

Remove extra spacing between subsections in amsart document class

To remove the stretch before a subsection heading, the definition for that heading can be patched, as follows: \usepackage{etoolbox} \makeatletter \patchcmd\subsection {.5\linespacing\@plus.7\...
barbara beeton's user avatar
0 votes

Table row height, text vertical center and color

With tabularray: \documentclass[ignorenonframetext, xcolor={dvipsnames}]{beamer} \mode<presentation> { \usetheme{Berkeley} \usecolortheme{dolphin} \usepackage{tabularray} } \begin{document} \...
CarLaTeX's user avatar
  • 63.2k
0 votes

Increase row height and center, but only the first row

In {NiceTabular} of nicematrix, you can use the key cell-space-limits of the command \RowStyle in your first row. Moreover, the key hvlines draws all the rules (horizontal and vertical) and you still ...
F. Pantigny's user avatar
  • 40.8k
1 vote

Table row height, text vertical center and color

Here is a way to create that table with {NiceTabular} of nicematrix. \documentclass[ignorenonframetext, xcolor={dvipsnames}]{beamer} \mode<presentation> { \usetheme{Berkeley} \usecolortheme{...
F. Pantigny's user avatar
  • 40.8k
0 votes

Regarding the alignment of shape inside the \table environment. How to center the table and rounded rectangle?

You have a spurious space after the tikzpicture which throws off the centring. Simply remove that space: \begin{tikzpicture} \node [color = white, font=\scriptsize, fill = gray!...
cfr's user avatar
  • 199k

Top 50 recent answers are included