Questions tagged [height]

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

Filter by
Sorted by
Tagged with
1
vote
0answers
31 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
43 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
81 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
15 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
58 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
47 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
196 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
50 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
172 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
45 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
79 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
217 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
209 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
40 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
207 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
26 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
175 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
25 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
293 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
54 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
129 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
57 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
177 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
477 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
58 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
44 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
120 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
540 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
49 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
222 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
175 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
444 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
268 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
144 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
665 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
212 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
163 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
71 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
242 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 ...
9
votes
1answer
2k views

Is \textheight in beamer slides with a title wrong? [duplicate]

The problem I have is simple to describe: the height of a beamer slide title does not seem to be subtracted from \textheight, leaving me with no idea how much space is left for the actual content. A ...
0
votes
1answer
213 views

Changing height in TikZ-UML of umlstate title

I am trying to draw a UML state diagram with tikz-uml and can't find a way to change the size of the text field for every state. When I am creating two states like one with the name Tf and another ...
0
votes
3answers
169 views

Vertically aligning text and equation in two minipages

I have two minipages next to each other, the first one containing text that describes an equation, and the second one containing the actual equation. I want to align the text vertically so that the ...
-1
votes
2answers
293 views

How do you set max row height in tabulary

Ok, so I'm working with a sphinx-generated latex document and I'm trying to fix some of the rather ugly code - and generated output. I've got a table that doesn't split when it gets to the end of the ...
3
votes
1answer
2k views

beamer: How to get height for frame content [duplicate]

I want to put a picture in a beamer slide and make it use all the available height of the frame. So I tried: \documentclass{beamer} \usepackage[utf8]{inputenc} \usepackage{graphicx} \begin{document} ...
0
votes
1answer
61 views

How to make header top aligned exact on the page top?

My task is to render header (automatically) with the optional height. So I can't understand the logic - how does header height works? Me header contains parbox - the same height as i put in ...
3
votes
1answer
212 views

Account for depth and height of text with tcolorbox

I want to make a "blocks" of words, and I want the to have the same vertical size and alignment. But when I do: \newtcbox{\tag}{nobeforeafter, box align=base,size=small} \tag{Photo} \tag{may} I get:...
0
votes
1answer
133 views

Is it possible to know text height in the cell?

I need to align table cells content vertically. To do it in normal human definition (not in latex base line) and automaticly, i need to know in which cell in the row text is smaller (takes verticaly ...