Questions tagged [height]

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

Filter by
Sorted by
Tagged with
1
vote
1answer
2k 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
1k 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
312 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
240 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
317 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
270 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
210 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
341 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
3k 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
74 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
239 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:...
1
vote
1answer
178 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
886 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
1k 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
129 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
402 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
107 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{...
3
votes
2answers
2k 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 ...
4
votes
1answer
15k 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 ...
40
votes
1answer
4k 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
933 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 ...
72
votes
1answer
13k 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
38 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
274 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
548 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 \...
2
votes
1answer
185 views

Why are these boxes not the same height?

I'm having a hard time lining up elements in different boxes, and I have reduced the issue (I think) to a minimal example. The code below puts two fboxes next to each other. They have the same ...
1
vote
1answer
100 views

Weird row height behaviour in tabular

I have a tabular which I fill with "+" signs for some reasons. This is what happens: As you can see, for some reason there is space added on top of the row, making it higher. If I remove all the ...
3
votes
1answer
1k views

Two columns with different background color and height of whole page

I want to create page with two columns with different background color and height of whole page. What I was able to do is two columns with different background color but I can't set proper height and ...
3
votes
1answer
886 views

Memoir : Warnings “The material used in the headers is too large” w/ accented titles

With memoir class, the default headers height seems unsuitable for accented titles of chapter/section. The result doesn't look strange, but Warnings The material used in the headers is too large (14....
2
votes
0answers
23 views

How to write below textheight and above footer [duplicate]

MCQ Paper is mentioned below (Thanks to Erik) ; \documentclass[addpoints,answers,10pt]{exam} \setlength\textheight{15cm} \setlength{\footskip}{8.5cm} \providecommand{\myquestion}{% \question ...
1
vote
1answer
151 views

How to add constant height in exam class

I've MCQ Paper created using \documentclass[addpoints,answers,10pt]{exam} ; here on very page I've to provide "Space for Rough Work". Height of "Space for Rough Work" is around 20% of page height. ...
2
votes
1answer
792 views

How to measure the height of a tikz picture?

I have several graphics (produced by TikZ) in my document. They all have different sizes. How do I get the height of each graphic to do some nasty calculations? Edit I want to access the picture ...
2
votes
2answers
595 views

Specify the height of table header

I'm new to Lyx and I have a problem. I have the following table and everything is good except that I want to limit the height of header cells. I want them to be shorter that this where each header ...
2
votes
2answers
2k views

Equal size subfigure

I want my subfigures to look uniform, thus each having same width and height. Additionally, each of the two rows should have a center, around which all subfigures in that row are centered. I want ...
3
votes
1answer
1k views

How to change row height within xtable environment?

I would like to change row height such that all rows except the header row will have fix height x and the header row will have eight y. I would like to do this within xtable environment because I ...
2
votes
1answer
510 views

Set paperheight to (overall) textlength

The page should when the text ends. So, that there is only one "page". Don't worry. It's not for being printed. \documentclass[12pt]{article} % Packages \usepackage{lipsum,anyfontsize} \usepackage[...
0
votes
2answers
397 views

Linebreak in \raisebox-like environment + consistent height of table cell

In Frank Mittelbach's answer here, he constructs an environment to add linebreak in a \raisebox-like environment. In Alain Matthes' answere here, he shows how to get a consistent row height in a ...
2
votes
0answers
353 views

Two column page with different heights

I am trying to utilise all the whitespace in a two column (ieee) format document. A set of tables must stay grouped on the same page, thus I've nested them under {table*}. Having done that, I now ...
1
vote
2answers
126 views

Determine the height of a box with a rule

\documentclass{scrartcl} \usepackage{calc} \usepackage{showframe} \begin{document} \setlength\parindent{0pt} \newsavebox\maintitleBox \newlength\maintitleHeight \newcommand{\maintitle}[1]{% \...
2
votes
2answers
928 views

Vertical line gap in rows where I have adjusted the row height

I am making a table where I need to adjust the row height. After adjusting the row height, the vertical lines on my second column do not extend to the correct height (they leave a gap). \...
2
votes
2answers
1k views

Color-box behind inline text / inline math without vertical space

I'd like to provide a ‘background-colour’ for spans of code or math inline with text, in the same way that CSS allows. I've tried to do this with \colorbox, but unfortunately, that seems to add ...
3
votes
0answers
51 views

Auto images height to get specified number of pages. Is it possible with LaTeX?

I am a very beginner in LaTeX, and need to know if it is possible to do next. There is a book, consisting of text and photos, going one by one. Questions: Is it possible in LaTeX to make images ...
1
vote
1answer
66 views

How do I type TeX without using the command? [duplicate]

How am I able to format TeX without using the command? I know I can use \TeX and it'll do it automatically but I'd like to do it manually for other stuff.
1
vote
1answer
2k views

How to place the text top left in a table cell

We can use \renewcommand{\arraystretch}{2} to increase the height of rows. The text, however, is just in the center. How can we simply put it on the top-left, as in second and third columns in the ...
10
votes
2answers
647 views

{\phantom{X}} sometimes higher than X

Why is {\vphantom{X}}^2 (%8) higher than any of the other options? In particular, why is it higher than %5, %6, and %7. The behavior is normal if I use a lower-case character instead of the X. \...
11
votes
1answer
4k views

Is there a simple command for the available height in a beamer slide?

I would like to add two figures figures to a beamer slide, one on top of the other. Is there a simple command, similar to \linewidth or \textwidth for the height? The figures have dimensions roughly ...
1
vote
1answer
563 views

How to stretch the figure environment across textheight? [duplicate]

When I use the figure environment to set an image as a float in a separate page ([p] specifier), I want to be able to use up the full text height, so that the image and its caption are precisely ...