Questions tagged [height]

{height} is the measurement of the extent of something from top to bottom.

Filter by
Sorted by
Tagged with
0 votes
1 answer
39 views

How can I automatically force two side by side floats of any kind (including texts) to have (approximately) the same height?

I often put two floats side by side using the minipage environment: it can be two texts (typically excerpts from books or press articles), two pictures (a map, a photography or a chart) or one of each ...
user avatar
0 votes
3 answers
67 views

Using tikzcd in \multirow

Earlier, I has asked to ask how to make &'s work for tikzcd environment nested inside tabular. I got my answer in tikz-cd's manual---I just had to use ampersand replacement=\&. Now, another ...
user avatar
  • 297
2 votes
1 answer
50 views

How to Code a TOC Title and Divider Beneath Which Facilitates Possible Height Adjustments

I have a centered TOC title and linear divider beneath which I would like to simultaneously raise or lower in the document, maintaining the blank vertical space between the two. I don't know if I have ...
user avatar
  • 4,895
1 vote
1 answer
39 views

How to get the height of a minipage right?

I am trying to get the height of a minipage by using a box. I have found several threads where they solve it this way. However, if I use the height to draw a vertical line (the vertical line is just ...
user avatar
  • 41
1 vote
1 answer
57 views

How to measure precisely the height of a figure and its caption?

I would like to create a command that calculates the maximum size of a figure so that the figure and its caption do not overflow into the margins. To do this, I save the caption in a box (\boxcaption),...
user avatar
  • 281
0 votes
0 answers
23 views

Limit image width and heigth, if manual scale exceeds page width or height

Objective I have a few images which I would prefer to all have the same scaling, with the exception of images that are too wide or too tall to fit on a single page. Code to Limit Image Width % Auto ...
user avatar
  • 185
0 votes
0 answers
21 views

How to set separate parameters for each entity in msc package?

I am using the msc package in Overleaf to draw a Message Sequencing Chart in latex ( i am compiling using xetex since pdflatex will not display msc diagrams ) and referring to the manual provided on ...
user avatar
0 votes
0 answers
25 views

I want to know the exact text height of each line, what method can be used to achieve it?

As shown in the figure below, I want to know the height from the bottom to the top of each line of text. Is there a way to achieve this?
user avatar
  • 149
1 vote
2 answers
114 views

Adjust width and height on page in landscape mode

I'm writing a business plan using the business plan theme from elsamuko. The last part is a financial plan which is added on an empty page in landscape mode. I want to add just a simple pdf output to ...
user avatar
  • 326
1 vote
2 answers
81 views

\parbox with stretchable height

I am trying to create a framed \parbox that stretches to fill the available space. I have tried \fbox{\parbox[c][0pt plus 1fill][t]{3in}{...Content...}} but the \parbox doesn't seem to stretch at all....
user avatar
4 votes
3 answers
250 views

How to *lower* an overline

My question is similar to these two, but all the solutions have been about raising the overline. In contrast, I would like to lower the overline so that it is the same height for all lowercase letters....
user avatar
2 votes
3 answers
69 views

Table with even row heights and vertical alignment

I'm unable to get the following table to have even row heights with vertical alignment \renewcommand\tabularxcolumn[1]{m{#1}} ... \begin{table} \renewcommand*{\arraystretch}{1} \begin{...
user avatar
1 vote
1 answer
85 views

How to set an inline tcbox height to a fixed height (1em)

I'm searching for a way to avoid the following layout (image below) where the underscore and the lower case letters get tightened inside the tcbox : ideally, I'd like the tcbox to keep a height that ...
user avatar
  • 179
3 votes
1 answer
196 views

Decrease row height in tabularray

\documentclass{article} \usepackage{tabularray, xcolor} \begin{document} \begin{tblr}{ columns={3em, c, colsep=2pt}, rows={3em, m, rowsep=2pt}, row{2,3} = {ht=0pt, abovesep=0pt, belowsep=0pt}, ...
user avatar
  • 617
2 votes
1 answer
135 views

How do I adjust top margin of inline graphic to align with rest of text?

What is my problem? Here is the latex markdown I have for rendering my phone number \textbf{(\includegraphics[width=3.0mm]{call.png})}\ 123-456-7890 My phone number shows up like this - the icon is ...
user avatar
  • 145
1 vote
1 answer
69 views

Greatest possible height in tcbraster

In the following situation, when the outer left box is higher than the outer right box, i want to have the greatest possible height for the inner boxes (inside the raster of the outer right box). \...
user avatar
1 vote
2 answers
173 views

get height and width of tikz node

Consider this application: \documentclass[border=5pt]{standalone} \usepackage{graphicx} \usepackage{tikz} \begin{document} \begin{tikzpicture} \node(a) at (0.0, 0.0)[anchor=south west]{\...
user avatar
  • 6,803
1 vote
1 answer
27 views

height of text starting in table not equal

I have a question about my table. I don't have the text starting from the same line-height between the top rule and the bottom rule. Could you help me how I could adjust that the height between the ...
user avatar
  • 471
5 votes
2 answers
359 views

How to get the row height and column width within a tabular?

Do you know how I can specify the size of a cell in points (pt) within a tabular, that is the row height and the column witdh? In text mode there are commands like \textwidth or \baselineskip but this ...
user avatar
  • 483
0 votes
1 answer
69 views

Warning while using geometry Tufte book style - (Over-specification in `v'-direction)

I try to adjust the page layout of my tufte-book document using the geometry package. A warning appears while I change the vertical layout, maybe its due to a missing field in my geometry declaration? ...
user avatar
1 vote
1 answer
59 views

Adjusting height of \left(, \right), etc

For aesthetic reasons, I prefer the aspect of the first equation in the following example to the second. \begin{align} \Big\|\sum_{n=1}^\infty f_n\Big\|_p^p&=\int_X\Big|\sum_{n=1}^\infty f_n\Big|^...
user avatar
0 votes
2 answers
408 views

Dynamic row height adjustment in tables with multirow

I need to create a table in LaTeX that looks exactly like its counterpart in a Word document. For this, I need a table that can span multiple pages with repeating headers (longtable, etc.) and ...
user avatar
  • 255
1 vote
2 answers
205 views

Reduce height of sqrt

There are many questions here about increasing the height of the square root (e.g. How to adjust/increase the height of square root?), but I'd like to decrease it. Consider the following code and ...
user avatar
  • 525
2 votes
2 answers
112 views

How do I reduce the height of a colored row in a table?

I want to get this: I wrote this, when I put [-1.5ex] after \\, I can get reduced row height but the color of the row is still normal row height. How can I make the color's height reduce? Any ...
user avatar
  • 23
1 vote
1 answer
56 views

Height with xsim's blank-command

Currently I'm working with the package xsim and I want to use the blank-command for a gapped text. When my gap text is several lines long the space between the lines is too narrow to write. Therefore ...
user avatar
  • 445
0 votes
1 answer
83 views

Vertical alignment within cells with increased height no longer working

The below code used to deliver me a nicely formated table having cells with an increased height and vertically centered text. However, when rebuilding the the document now, the text is not vertically ...
user avatar
  • 21
3 votes
1 answer
68 views

Absolute values and height scaling on some symbols

I currently use a macro: \newcommand{\abs}[1]{\left\lvert #1 \right\rvert} in order to write absolute values, but I'm finding that when I combine this with \hat then the height is modified in an ...
user avatar
  • 145
1 vote
3 answers
146 views

Setting the vertical height of a row that uses `diagbox`

I am trying to set the vertical height of a row which uses diagbox to be smaller, but past techniques such as \setarstrut and cellspace appear to not be working thus far. In particular, I am able to ...
user avatar
  • 121
1 vote
1 answer
539 views

Will width=\textwidth also automatically scale the height of the original image?

For example, \includegraphics[width=0.5\textwidth]{Example.jpg} Will the height also been automatically adjusted according to the same ratio of width?
user avatar
  • 213
1 vote
1 answer
143 views

LuaLaTeX: Find true height of multicols environment (series of vboxes) using node library

How to find the true height (and other dimensions) of contents of multicols environment in mini-page using LuaTeX node library? So far in my experiments with luatex node library, I have been able to ...
user avatar
  • 1,228
0 votes
0 answers
82 views

How to automatically adjust textfields height to fill in a table cell?

I am making a document in which I am using a lot of tables which are using checkboxes and textfields. Both are working fine only one issue I have and that is the automatic adjustment of the textfields ...
user avatar
  • 1
1 vote
1 answer
87 views

How can I automatically check, that \baselineskip is large enough?

When I set a font size and baselineskip, I have to take care, that the baselineskip is large enough for my font. Is there an automatic way to check this in LaTeX? Given the following example: \...
user avatar
  • 4,286
1 vote
2 answers
78 views

How to change the subcell height in latex?

I want to make a table in LaTeX which will be just like the picture. I have used the code: \begin{table}[h!] \begin{tabular}{|c|c|c|c|c|}\hline Class & Format & Constant Value &...
user avatar
8 votes
1 answer
517 views

How can I get the height of a TikZ node and store it in a length?

I need to know the height of a TikZ node and store it in a length so it can later be used by other commands and reference this exact dynamic length. So here is an MWE that illustrates what I want to ...
user avatar
  • 4,286
0 votes
2 answers
96 views

determine current font height

There are many answers here which explain how to obtain the size of the current font (\f@size) and others which explain how to obtain the height of a given character (\settoheight) in the current font....
user avatar
  • 664
1 vote
2 answers
225 views

tcolorbox: Fix row height of a tcbitemize

I need a tcbitemize-structure like this with a total height of 6cm. How can I set, that the 1st row has a height of ca. 2cm only? (2nd row: "rest".) \documentclass{article} \usepackage[...
user avatar
  • 6,217
0 votes
1 answer
41 views

Version of \smash that still stretches, shrinks and allows linebreaks

Is it possible to set the height, depth or total height — optionally — of some content in a paragraph to zero while still allowing its white spaces to stretch or shrink and linebreaks to occur? Maybe ...
user avatar
  • 379
2 votes
1 answer
248 views

Fixing the size of the header in Beamer

I found a template that I like but the header is not fixed and it increases as function of the number of sections present in the document. It is a template ready from Radboud University Nijmegen. I ...
user avatar
2 votes
3 answers
178 views

How do I increase an image's height starting from width=\textwidth?

I'd like to know if it's possible to set the width of an image as \textwidth and increase the resulting height without affecting the width. In other words, putting width=\textwidth also the height is ...
user avatar
3 votes
1 answer
58 views

My font changes the height of my tabular row, how could I fix that?

The height of my row changes according to the font I use on. I have a problem with the φ or ψ letters for example, they make the height of row bigger. As you can see on the image under, rows with the ...
user avatar
  • 149
2 votes
2 answers
97 views

How to get the height of lrbox

I need to know the height of lrbox before I will be using it in my code. For some reason, my code is getting me odd non-correct value. \documentclass{article} \usepackage[utf8]{inputenc} \begin{...
user avatar
  • 205
0 votes
1 answer
151 views

Nested \left and \right) make \vphantom have non-zero width

I have many nested \left( and \right) parentheses in my document and I'm trying to find a flexible way to make outer pairs larger. Unfortunately, I cannot use \delimitershortfall recommended here. ...
user avatar
  • 369
1 vote
1 answer
53 views

Trouble with table size

I am having trouble with a table I am currently working on in latex. The width is fine and I know how to adjust the vertical spacing but the font size makes it impossible for anyone to read. Every ...
user avatar
  • 13
0 votes
1 answer
45 views

How can I arrange my figures like a self-defined matrix using LaTex?

I have three plots: a.eps, b.eps, and c.eps How can I arrange my figures like the following, so I will later refer to them as Fig.1 (a) and so on? Can I tweak the height and width of a, b, and c?
user avatar
0 votes
1 answer
197 views

Fancy style, textheight change from chapter to chapter

I create my own header and footer style with the package fancyhdr, and I want it also on the chapter pages. I used the solution in this thread. Also, as my style needed to change the spacing between ...
user avatar
  • 608
2 votes
0 answers
150 views

Setting rounded rectangle minmum height affects width

I'm having troubles trying to modify a rounded rectangle minimum height without affecting the node width. I know there are some stretches boolean for trapezium or triangle to make it but I didn't find ...
user avatar
2 votes
1 answer
131 views

Get height of figure and caption - for wrapfigure pagebreak detection

I want a function that automatically detects if a figure and its caption will run of the page when used within the wrapfigure environment, such that it will stay with the text that I placed it with in ...
user avatar
  • 75
2 votes
1 answer
284 views

Table with all Rows with the same height

I want to create a Table with all Rows the same height, indepent how many lines of text they actually have. If the largest amount for a row/cell is three lines, all row should have a height if the had ...
user avatar
1 vote
2 answers
97 views

Two pictures next to a big one, to fit in textwidth [duplicate]

I want two pictures next to another big one and every picture has a different size (like the example below). I want that all pictures keep their aspect ratio and the pictures to the right should have ...
user avatar
  • 13
0 votes
1 answer
192 views

How to calculate the size of a tikz node

I'm trying to customize a template, in which the following snipet generates a "mini table of contents" respect to the book's part which is created. \node[anchor=south east,inner xsep=1.7cm,...
user avatar

1
2 3 4 5