Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [height]

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

0
votes
0answers
20 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
59 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 ...
0
votes
0answers
32 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 this post:...
1
vote
1answer
39 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
34 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
67 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. ...
1
vote
1answer
83 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
46 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 ...
0
votes
0answers
23 views

Title height for successive chapter and section

How to make the titles of chapters, sections, etc to have a fixed height, while make a successive chapter and section title to have another height? For example, I want to set the height of single \...
1
vote
1answer
26 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
71 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
178 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
43 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:...
2
votes
2answers
121 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 ...
0
votes
0answers
34 views

Is ist possible to get the height of a text inside a parbox?

The reason for my question is, that I want to design a letter-style for use with KOMA scrlettr2, where the amount of lines in the firsthead differs, depending on the senders adress (f. e. one person ...
6
votes
1answer
108 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
273 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
103 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
96 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
337 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
468 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 ...
0
votes
2answers
256 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
141 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
100 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 ...
1
vote
1answer
325 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
61 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
154 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 ...
8
votes
1answer
824 views

Is \textheight in beamer slides with a title wrong?

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
138 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
96 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
179 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
936 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
47 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
153 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
89 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 ...
2
votes
1answer
254 views

How can I alter the text height and width on a text?

I need to fit a six page document into five pages and would like to increase the text height and perhaps the text width a bit. I used \textheight and \textwidth but to no avail. Can you help me ...
0
votes
2answers
575 views

Measuring the height of a box

Solution in Edit 3. It works well, but seems to need an optimization. :) MWE: \documentclass{scrartcl} \usepackage{calc} \usepackage{mathptmx} \usepackage{anyfontsize} \newcommand{\Title}[1]{ \...
1
vote
1answer
93 views

How to limit the text box height in the first landscape page?

I am not able to control the text box vertical size only for the first page in landscape. How can I limit the height and make the footer visible? I am starting to work with LaTeX and had to do some ...
2
votes
1answer
301 views

How to align multirow table content (text) and keep table rows with similar height?

since 2 weeks working with Tex/Latex I am a beginner but meanwhile frustrated with tables that took me hours. I want to align the elements of this simple table (with multirows) nicely, i.e.: 1) Each ...
2
votes
0answers
76 views

Height of TikZ Graph with Plus/Minus Tolerance

I am attempting to put a TikZ graph in a paper I'm writing and have the height of the graph be a height with a plus/minus tolerance. An MWE is shown below: \begin{minipage}{\columnwidth} \begin{...
2
votes
2answers
751 views

How to keep a nice layout when combining overline/underline with superscript/subscript?

I would like to add indices as subscripts and superscripts to a couple of bounds denoted by underline (lower bound) and overline (upper bound), but I am not able to keep the same well-shaped look of ...
0
votes
0answers
73 views

Insert image that spans total page height into left column

I want to insert an image into the left column of a two-column document. The image is to span the total left part of the page from top to bottom. My code makes it span the total page height, but the ...
1
vote
1answer
6k views

How to take figure width=\linewidth OR height=\pageheight?

I want to include figures such that either width or height is used to adjust the document on the page. There are about 5\% of images where the height is dominating such that width=\linewidth causes ...
39
votes
1answer
2k views

Why do \sqrt{1} and \sqrt{-1} have different heights?

I noticed that the heights of \sqrt{1} and \sqrt{-1} are different. For instance, when they are in between \left( and \right) parentheses, I must write a character of zero-width (e.g. \sqrt{-1\...
1
vote
1answer
557 views

How to increase the height of a single row in table?

As seen in the figure, the table is incomplete and extends beyond the page. I need to fit it within the page. So, I need to increase row height and decrease column width. How can I do this? Also, the ...
0
votes
0answers
27 views

How can I get a better line height? [duplicate]

I am using this piece of code, however the lineheight is not very good. I have tried a few things like \fontsize but without any result. this is what it looks like: http://imgur.com/uiVOYew \...
51
votes
1answer
6k views

My table doesn't fit; what are my options?

I have a table that I want to insert on a page, but at least one (perhaps both) of the following conditions are met: The table is too wide to fit within the text block or page. That is, I'm exceeding ...
1
vote
0answers
26 views

Identify that text exceeds parbox height [duplicate]

I'm trying to identify through warnings when a text exceeds it's container parbox height with no luck. Here is my code. \documentclass{article} \usepackage[english]{babel} \usepackage{blindtext} \...
2
votes
1answer
168 views

Display two listings with different lines in same height

I'm trying to display two listings side-by-side. I accomplished this using minipage: \noindent\begin{minipage}[t]{0.45\textwidth} \begin{lstlisting}[title=Bad] some bad code \end{lstlisting} \end{...
1
vote
1answer
307 views

Diagonal line in table cell is not placed correctly with vertical text

I want to have a diagonal line from the top left hand corner to the bottom right hand corner of the first cell of my table. So I want it to look something like the left table: By just plainly using \...