Questions tagged [height]
{height} is the measurement of the extent of something from top to bottom.
232
questions
0
votes
1
answer
27
views
figure could not be the expected height
I am using latex to write a document, and I need to insert a figure in a whole single page, the code is as follows.
\documentclass[10pt]{book}
\usepackage{pgfplotstable}
\begin{document}
\par text 1 \...
1
vote
1
answer
10
views
Beamer headline height or depth insufficient with compressed miniframes
I use beamer with a headline containing compressed miniframes navigation content:
\documentclass[compress]{beamer}
\useoutertheme[subsection=false]{miniframes}
\setbeamercolor{section in head/foot}{...
2
votes
2
answers
115
views
How can I make the height of summation and fraction the same?
I was wondering if I could get some help with this. I want to align the heights of fraction and the summation. The summation is positioned too low compared to the fraction. How can I acheive this?
\...
2
votes
1
answer
33
views
Page of arbitrary height
Is there a way to have pages of fixed width (e.g. width of A4 or letter format) and arbitrary height? What I mean by that is that you write the content normally and at some point you insert something ...
1
vote
1
answer
40
views
Behaviour of CheckBox in hyperref package (heights differ)
Coders,
i was playing with the hyperref package today and i noticed something odd.
Here is the MWE (not that minimal, but it shows the goal):
\documentclass[12pt]{article}
\usepackage{hyperref}
\...
3
votes
1
answer
47
views
Why \pgfmathheight doesn't give the write height value
I want to know the height of a tikz node before drawing it, so I found a pgf command name \pgfmathheight who can give me the height of a char in pt. But actually when I try it with certain character ...
2
votes
1
answer
78
views
Increasing natural height of minipage / fbox
I would like to define an environment encapsulated by a box where I am able to insert unspecified content (text, equations etc.), but where I can increase the natural height of the box. A minimum ...
2
votes
1
answer
40
views
Draw connected boxes with common height around letters/words in text
(There are a few related questions, e.g. this and this.)
I want to accomplish the following:
enclose some words of the text into boxes,
with all those words vertically aligned as they were truly just ...
0
votes
1
answer
65
views
Get the height and depth of Hebrew letters
I have seen here the use of adding and subtracting the height and depth of the letter X and the letter p when defining vertical distances between objects on the document.
My document is in Hebrew and ...
2
votes
3
answers
124
views
How to place adjacent Tikz-Nodes with the same (dynamic) height and combined width of the usual text width?
I have a command \entry which places two tikz-nodes next to each other. How can I make sure both nodes always have the same height (while also keeping the vertical centering of the text inside)?
Also, ...
1
vote
0
answers
123
views
What's the idea behind 94% scale factor of the sans serif in NewTX? [closed]
Feeding
\documentclass{standalone}% 2018/03/26 v1.3a
\usepackage[T1]{fontenc}% 2021/04/29 v2.0v
\usepackage[helvratio=.9]{newtxtext}% 2022/02/28 v1.71
\begin{document}
X\textsf{X}x\textsf{x}
\end{...
4
votes
1
answer
216
views
How can I set rectangle split with same height?
I want to have same height for the splitted rectangle's rows. Their height changes based on the character inside each section, for example . is much smaller than having larger characters like f.
my ...
0
votes
1
answer
99
views
Size of tikz picture like \textwidth or \pagewidth
I want to make picture with tikz, and then fill background with something.
To do it properly, I want to get the size of picture (height and width).
Is there a command that will give me whole size of ...
0
votes
1
answer
279
views
How to set height of a time slot in pgfgantt?
Having a Gantt chart that a fragment of is attached below I want to reduce the spacing in all slots. Naming of chart elements according to the attached picture.
I already know I can set height of an ...
2
votes
3
answers
352
views
adjust row height of tabular
I have the following table and try to adjust the row height so that the text is not as crowded as it currently is. Is there a method to do so?
Code:
\documentclass[12pt, a4paper]{report}
\usepackage[...
0
votes
0
answers
74
views
L'Circonflexe Accent --- How to Adjust Its Height
With certain fonts (e.g., Cabin), I have noticed a difference in the relative positioning of certain accent marks---to the point where sometimes, it seems to me that an adjustment is in order.
...
0
votes
1
answer
66
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 ...
0
votes
3
answers
177
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 ...
2
votes
1
answer
70
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 ...
1
vote
1
answer
113
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 ...
1
vote
1
answer
91
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),...
0
votes
0
answers
42
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 ...
0
votes
0
answers
45
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?
1
vote
2
answers
492
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 ...
1
vote
2
answers
516
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....
4
votes
3
answers
535
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....
2
votes
3
answers
80
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{...
1
vote
1
answer
324
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 ...
5
votes
1
answer
1k
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},
...
2
votes
1
answer
261
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 ...
1
vote
1
answer
109
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).
\...
2
votes
2
answers
658
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]{\...
1
vote
1
answer
42
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 ...
6
votes
3
answers
701
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 ...
0
votes
1
answer
176
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? ...
1
vote
1
answer
218
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|^...
0
votes
2
answers
718
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 ...
2
votes
2
answers
514
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 ...
2
votes
2
answers
183
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 ...
1
vote
1
answer
73
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 ...
0
votes
1
answer
112
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 ...
3
votes
1
answer
215
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 ...
1
vote
3
answers
368
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 ...
5
votes
1
answer
4k
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?
1
vote
1
answer
187
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 ...
0
votes
0
answers
112
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 ...
1
vote
1
answer
221
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:
\...
1
vote
2
answers
136
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 &...
9
votes
1
answer
1k
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 ...
1
vote
2
answers
260
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....