Questions tagged [height]

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

Filter by
Sorted by
Tagged with
2
votes
0answers
49 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 ...
2
votes
1answer
30 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 ...
1
vote
1answer
66 views

Table with all Rows with the same height

I want to create a Table with all Rows with the same height, indepent how lines of text they actually have. If the largest amount for a row/cell is three lines, all row should have the height if the ...
1
vote
2answers
56 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 ...
0
votes
1answer
64 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,inner ysep=...
2
votes
1answer
81 views

LaTeX: Inline image, but preserving line height

I'd like to include an inline image (to typeset hieroglyphic inscriptions) but I don't want it to stretch the line height, even if the image is too tall to fit. I don't mind it colliding with the line ...
0
votes
1answer
29 views

Get the height of optional text

I would like to create a cover page with latex, with optional fields, such that other fields get their position depending on whether the optional field exists or not. I found the trick of using \...
2
votes
1answer
36 views

How to get a bold horizontal line in a long table using xltabular

I have a long table going over several pages and I need the last horizontal line of this table on each page to be bold. However, I only get the horizontal line on the very last page to be bold. Is ...
1
vote
0answers
38 views

How to fix the \tikz\width error and \tikz\height error?

I drew two graphs using tikz package. However, there are errors about '\tikz\width' and '\tikz\height'. How to fix those errors? \documentclass{article} \usepackage{tikz} \usepackage{pgfplots} \...
2
votes
1answer
72 views

How to set a fixed height to a colorbox?

I currently have a simple colorbox, I would like to increase its height. Is there a way to set a fixed height, or maybe a kind of padding? I added \hspace to add some space horizontally, but a \vspace ...
2
votes
2answers
89 views

Create table using exact horizontal and vertical cell sizes with intentional cell overlap

I need to create a table where each cell is 1em x 1em. The contents of each cell in the table will be a single glyph from a special Unicode font. Each glyph is 1.1em x 1.1em. There is intentional ...
1
vote
0answers
19 views

Set an option to a custom environment to change width of a setheight

I'm tuning the code @CarLaTeX proposed in this topic to separate teacher version and student version. The goal is when the boolean is true (student version), a blank line takes the place of the stuff....
1
vote
2answers
93 views

change margins for landscape table

I got a large table in landscape format after some text. The text before the table uses the standard margins set by article. Now for the table afterwards, I would like to change the margins, that is ...
0
votes
2answers
51 views

How can I grow the height of a function letter to match the height of the parameters?

I'm only an occasional LaTeX user, and ever more rare math mode user, so maybe this is simple for others, but not for me: I have a function named L*, and it has a fraction as parameter. In my first ...
13
votes
3answers
262 views

Setting fixed height (in all situations and characters) for overset notations

A noticeable downside to aesthetics in the \vec{} notation is that, for "short" and "tall" characters (a, i, v vs b, k, l), the overset vector notation shows difference in its height from the baseline....
1
vote
1answer
82 views

Dynamically enlarge the height of a page [duplicate]

There is a way to dynamically enlarge a page in a LaTeX document? the thing I want is to have a document which will always have a single page, so the page should increase in height to hold all the ...
1
vote
1answer
232 views

Subfloat: How to align two images with different width to same height?

Assumed we have two images with different widths. Now we want to align them next to each other, but with same height. Minimum working example (MWE): \documentclass{article} \usepackage{graphicx} \...
0
votes
0answers
50 views

How to know the height of the footnotes?

I tried to use the following code to get the height of the footnote box : \documentclass{article} \begin{document} Example\footnote{A footnote}. Height : \the\ht\footins. \end{document} However, I ...
0
votes
1answer
108 views

sizing of fractions in limits

How can i write the fractions in 1) so the numerator and denominator have the same height as the non-fraction in 2) I'm using: $1.\; \displaystyle{\lim_{x \to 1}}$ $\frac{x^2}{x-2}$ \\ $2.\; \...
4
votes
3answers
357 views

How to make a 0pt height box?

We can use \makebox[0pt]{text} to make a box that is logically 0pt width to external (as if nothing existed to the surroundings, while actually we can put whatever in it). My questions is---what is ...
4
votes
1answer
235 views

LaTeX - how to detect scale of \includegraphics

I have a general question, so without any example code. I'm implementing part of document containing gallery of images. Generally, I have two types of images: 1) document, typically scanned A4, ...
1
vote
0answers
71 views

how to set absolute tabular cell/row height and width [duplicate]

I am designing a tabular table (row/cell) containing 40 rows, 10 cells per row. A requirement is that the rows be 7mm in height and cells 17mm in width. The width I seem to have found. I have not ...
2
votes
1answer
265 views

How to reduce frame title box size in a special case

how to reduce frame title box size in this case, a tried this one but it changes the color of the titlebox \documentclass{beamer} \mode<presentation> \useinnertheme[shadow=true]{...
0
votes
1answer
27 views

is it possible to fix the height of a tikz box same?

My tags are follows: \documentclass{book} \usepackage{tikz} \usetikzlibrary{shapes,arrows} \newcommand{\buttonfont}[1]{\textsf{\textbf{#1}}} \newcommand*{\btn}[1]{\begin{tikzpicture} \node (1) ...
4
votes
1answer
263 views

Can I resize a TikZ picture to have certain dimensions (width, height)?

Suppose that I have made aTikZ picture using the standalone class, is there an easy way to determine some fixed output dimension of this picture, say width=16cm, height=12cm? This could be useful in ...
0
votes
0answers
26 views

Document with page dimensions (esp. height) determined by size of image to be included (how to create)?

I am working on an enormous project that will be completed in several stages. The first step is to compile many screenshots or other images into a single document, where there would be one image per ...
2
votes
1answer
356 views

How to define a minimal height for all rows of a tabular?

Question In a tabular, how to ensure all rows have a vertically centered content and a height greater or equal to a given value (e.g. 0.8 cm)? (See MWE at bottom of the question). (The cell's content ...
1
vote
1answer
67 views

How to globally stretch text height, keeping the margin limits?

I am working with a designer that requires the height of the font type we are using to be stretched by a factor of 1.2. I have succeeded doing so using the adjustbox package, as described in the post ...
1
vote
1answer
230 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. ...
1
vote
0answers
64 views

Exam class: How to compute the height of the solutionbox if printed

I'm using the exam class in school and I would like to compute the height of the solution boxes if they are printed, so I can have the same space, if they are not printed. something like: \begin{...
2
votes
1answer
242 views

Why is the height of (pdfpages) \includepdf files not taken into account?

The following MWE (to be run at least twice) points out on its 2nd page (the number of which being invisible, BTW) that the height of (pdfpages) \includepdf files seems to not be taken into account. ...
2
votes
1answer
727 views

enforce total height of tcolorbox title

I have a few tcolorbox'es in my document and I want to make them all have title sections with the same height. But some of my titles have characters that go under the baseline and others don't. So, ...
3
votes
1answer
59 views

\enlargethispage but for double page in twoside mode

In twoside mode, when I use \enlargethispage on a page, it increase it height in the bottom. So, it is the regular behavior of this command. But it occure an ugly height distortion with the page in ...
1
vote
1answer
50 views

How to maintain the shape of a surd when using enlarged grouping inside the radical?

When this MWE is compiled, the appearance of the surd in equation (1) is correct (the parenthesis are placeholders to demonstrate the issue without using \left( and \right)). When \left( and \right)...
4
votes
1answer
149 views

pgfplots height=, what is it good for?

My understanding of the height= key was that that would fix the height of the plot and the y= value would be adjust accordingly. But, that does not appear to be the case. Both plots below have ...
6
votes
2answers
770 views

How can I increase the space after a \crule in a booktabs table?

In the table created in the MWE below, I want the space between the crule and the third row to be slightly greater and the space between the text in the 2nd row and the crule to be slightly smaller. ...
1
vote
1answer
52 views

adjust the table on the next page

i have question for table in the next page i hope my table like this (ms. word) : why when i compile be like this : my code : \begin{table}[H] \centering \caption{Spektrogram digit 0-9} \label{tab:...
3
votes
2answers
248 views

How can I show the height of the tcolorbox?

MWE \documentclass{article} \usepackage{tcolorbox} \begin{document} \begin{tcolorbox} Bla Bla \begin{tcolorbox} Bla Bla \end{tcolorbox} \end{tcolorbox} \end{document} How ...
6
votes
1answer
192 views

How to guess and use the height of a tabular row

As a pure challenge, I try to draw hugly top tabular column. I have almost done, still a poblem to control there height. \documentclass[a4paper]{article} \usepackage{array,tabularx,tikz,ragged2e,...
7
votes
2answers
497 views

Need the height of the descent

I'm creating a few custom icons for my latex documents that are repeated using tikz. However, in order to align them to the text I need to know the descent to set the baseline in the correct place. I ...
3
votes
1answer
339 views

Why does minimum height of a trapezium node affect also the width?

If I change minimum height=... of a trapezium node, also the width changes. It doesn't happen with standard rectangle nodes. \documentclass[border=0pt]{standalone} \usepackage[utf8]{inputenc} \...
4
votes
1answer
179 views

TikZ: Improving Figure (lines, height, margins, labels)

I created code (below) that creates following figure of consecutive processes. I tried my best to write clean and structured code for a good reproduction: Code \documentclass[tikz,border=2mm]{...
2
votes
2answers
1k views

Tikz axis width and height keys do not get correct aspect ratio

I have a problem when I try to set width and height of the axis environment in a tikzpicture. Consider the following MWE: \documentclass{standalone} \usepackage{tikz} \usepackage{pgfplots} \begin{...
0
votes
1answer
1k views

How to set text height in a textblock using textpos in Beamer?

I'm using the textpos package with Beamer in order to put some text at the bottom right corner of a slide. Despite having read the package instructions, I fail to understand how to set the text height ...
1
vote
2answers
924 views

How to specify width and height of \makebox using \widthof and \heightof without generating error?

As soon as the following (working) definition \newcommand {\TESTFRACTION} {% \makebox [\widthof{${}\left(\frac{a}{1}\right){}$}] {${}\left(\frac{b}{1}\right){}$...
0
votes
1answer
272 views

Latex Beamer: Prevent vertical text overflow for multi column or minipages

To get a feeling for the sizes of the area reserved for text in different latex beamer layouts (themes) I am filling the text area with \blindtext. This works for simple frames with single column ...
2
votes
2answers
200 views

Custom built universal wrapfig using cutwin

The environment wrapfiguredoes not work well with theorem like environments. It can possibly be remedied by writing a custom (but restricted) mywrapfig environment using cutwin package. Which works OK ...
2
votes
1answer
2k views

Fill \textwidth with equal-height subfigures of different aspect ratios

I would like two subfigures to have the same height and fill out the available \textwidth (with some margin between them). How can I get the left subfigure to have the height of the right subfigure ...
1
vote
1answer
74 views

How can I measure the **height** of a single word, but **inside** `\newcommand` which means the text may change every time

How can I measure the height of a single word, but inside \newcommand which means the text may change every time. Using the code in How to 'translate' a numerical value into a word with \...
1
vote
0answers
275 views

Smaller hyperref check boxes

I have been using the hyperref package, and found that the check boxes have a certain minimum height. I was wondering if there would be a way to override this value, so I could make a small square ...