The tag has no wiki summary.

learn more… | top users | synonyms

6
votes
1answer
40 views

Why is a varwidth incorrectly vertically centered by \raisebox{-0.5\height}?

I was creating a pseudocode/JavaScript comparison table, and wanted to typeset algorithms written with the algorithm2e package vertically centered in table cells. Out-of-the box, algorithm2e can't do ...
2
votes
3answers
131 views

Create a good looking 2-actor normal-form game such as Prisoner's Dilemma

I am having difficulties in adjusting the TikZ code to get a symmetrical output matrix; I guess the * is the reason the right block is somehow higher? ...
4
votes
2answers
58 views

How to set fit height and width for tcbox according to the text inside?

I want to place a word into a \tcbox, but the box has too much space around the word. For example, the word "EQUAL".
2
votes
2answers
96 views

ConTeXt: Height fitting with row spanning in a table

How can I shrink the height of the foo cell to fit its content? \starttext \startTABLE \NC foo \NC[nr=2]\input knuth \NC \NR \NC bar \NC \NR \stopTABLE \stoptext ...
4
votes
1answer
45 views

Changing \textheight in the middle of a LaTeX document

Actually, I want to change \textheight only on one page of my document, then continue with the old dimension again. How can I update \textheight in my .cls file e.g. for my title page? Is there an ...
4
votes
1answer
218 views

Why is the Zero Vector so Big?

The esvect package seems to produce a zero vector with height larger than I would have expected. The one shown in red is produced using $\norm*{\Vec{0}}$ and seems to have the delimiters resized ...
5
votes
1answer
82 views

Constant height and depth of hyperref link boxes

For boxes around links which the hyperref package creates, their height/depth seems to be dependent on the maximum height and depth not of letters of the enclosed material (see top example pair below) ...
1
vote
0answers
62 views

\tcbox inside of tabu sticks out

I use \tcbox inside of tabu environment cells. As you see at the screenshot, the tabu is enclosed in tcolorbox as well. So, tabu doesn't measure the size of the content in the cells, when the content ...
0
votes
1answer
209 views

How can we change the height of a header box

In my poster done using baposter, I need to change the height of the \headerbox. for example, I have this example: ...
0
votes
0answers
20 views

Customizing the height of the cells in a table [duplicate]

I have the following table construction in LaTeX: \begin{center} \begin{minipage}[c]{0.3\textwidth} \vspace{0pt} \begin{tabular}[b]{l||c|c|c|c|c|c} \textbf{0} & \textbf{1} & ...
3
votes
1answer
49 views

Vertical tablecell alignment fail for the last one [duplicate]

Using array m{} to vertically align cells in a tabular, and changing row height with \\[] the last cell is not properly aligned: \documentclass{article} \usepackage{array} \begin{document} ...
2
votes
1answer
52 views

Customizing the height of a figure

How do I to increase the height of a figure? and keeping its width like it's mention in the below code. \begin{figure}[H] \hfill{}\includegraphics[width=\linewidth]{images/cu_global_initial}\hfill{} ...
3
votes
2answers
211 views

pgfplotstable column width & row height

I am drawing a large heatmap containing only colors using \pgfplotstabletypeset. The table contains 103 columns, and 111 rows, which I am trying to squeeze in the area of 13cm * 16cm. In order to save ...
9
votes
1answer
105 views

What is the cleanest way to adjust the dimensions (height, depth, width to the left and right) of a symbol?

Every once in a while the nominal (i.e. declared) dimensions of a symbol are not identical to the actual ones. This can be intentional or not, but sometimes it is inconvenient. The dimensions of ...
4
votes
2answers
94 views

Vertical Alignment of Matrix Cells

In the equation below, I would like to have the horizontal dashed lines that seperate different cells of the matrix to be vertically aligned. Furthermore it would be nice if the square brackets of ...
8
votes
1answer
102 views

Measuring the true height of a character

Suppose you have got a character that sits above the reference point. When you measure its height, the empty space above reference point gets also included in its height measurement but that is not ...
3
votes
1answer
73 views

Fixing picture heights (to avoid overlap with text)

I’m using the picture environment (with linguex). However my pictures overlap with the text: I've fixed the problem by adding in a rule with zero width and height equivalent to the picture (30 ...
1
vote
1answer
43 views

Is there a way to change just the length of sentences / formulas?

I've made a document, but I've got a problem: Some formulas made out of fractions and roots look really small on the pdf-file. The formula is right, but the height of it makes some things almost ...
3
votes
1answer
629 views

Rochester theme titlepage change height of top bar

I want to change the height of the top bar but only on the titlepage. I want to set it first to 7mm, then to 14mm. How can I do that? Now I only know that I can change the height by ...
6
votes
3answers
144 views

How to set an Inline figure matching the text height?

I want to put a very small figure inline with text. The figure must have the same height as the line it is positioned in. I have this: Some text... \includegraphics[height=\baselineskip]{picture.png} ...
4
votes
1answer
232 views

Heights of elements and spaces (after, before)

I wish to know how to set the following: height of a text line in paragraph (is it fontsize?) height of space between text lines in paragraph (\baselineskip - fontsize?) height of space before and ...
2
votes
1answer
464 views

How to change table row heights and center their contents?

How can I decrease(or increase) the row height of a specific row in a table and center its content both horizontally and vertically? A related answer discusses how to decrease the height of a row, ...
5
votes
1answer
352 views

Table cell height too small when wrapping text

I have the following problem with my table: The height of the 2nd row is slightly too small and the text overlaps with the line at the bottom and the top of the cell. My code is below: ...
9
votes
4answers
263 views

Depth and height confusion

I create two equations: $x \notin \mathbb{N}$; and $x \in \mathbb{N}$. As it turns out, both have the same depth value: Depth = 0.39098pt Height = 7.5pt Depth = 0.39098pt Height = 6.88889pt ...
5
votes
2answers
493 views

TikZ: Make node height span several others

How can I make the Z node span the total height of the ABCD column? My current code is: \documentclass{article} \usepackage{tikz} \usetikzlibrary{calc,positioning} \begin{document} ...
1
vote
1answer
374 views

Height filling minipages in Beamer

I am trying to accurately center things in my Beamer frames with animations. For that purpose, I would like to use minipages with fixed height, which should be automatically inferred so that I do not ...
3
votes
1answer
342 views

How to automatically scale `\mid` within delimiters

\mid within \left and \right delimiters is expected to be automatically scaled, but today I noticed such behavior: L = \sup \left\{ \sum_{x \in F} a(x) \mid F \subset X,\, |F| < \infty \right\}, ...
1
vote
1answer
47 views

how to customize size of the image through arguments?

Relating from this link, Create command to inline an image in a question? is there a way so the image can be modified? Example \Image[20][10] where 20 is the height and 10 is the width.
2
votes
1answer
857 views

how to get the size of a \pgfdeclareimage

Basically I want to use a TikZ node to frame a pgfimage, so later on, I will add more and connect them as I see fit. I have this: \pgfdeclareimage[width=10em]{image1}{images/image1} ...
7
votes
1answer
796 views

How can I determine the height of a minipage?

If I have a minipage \begin{minipage}{5cm} content \end{minipage} How can I determine its height and save this value as a length?
8
votes
2answers
363 views

How can I draw a very thin row?

I want to draw a table like the attached with LaTeX. I'm using the table and tabular environmnet. My problem is how I can represent the line which goes from the begining to the end of the table at the ...
4
votes
1answer
285 views

Set same height for all cells in longtable

I have created longtable with some text and I want set same height for all cells. It looks like: \documentclass[11pt]{article} \usepackage{longtable} \begin{document} ...
13
votes
3answers
671 views

How to make a row in a table shorter?

I have a row of a table (tabular) that has small text (tiny). I would like to make this (first) row shorter, either automatically (automatic height) o̶r̶ ̶m̶a̶n̶u̶a̶l̶l̶y̶ ̶(̶s̶e̶t̶ ̶a̶ ...
3
votes
1answer
464 views

Beamer copenhagen theme banner height

I'm using beamer with Copenhagen theme. I want to use a logo in the right-most corner of all slides. I achieved this using textblock and addtobeamertemplate facilities. My question is, when I add ...
3
votes
3answers
204 views

Determine height of tabular

I am working in a minipage, because I want two columns next to each other in landscape mode. In the first column I would like to place a figure, and then a tabular. I am scaling the tabular to ...
6
votes
2answers
2k views

How to determine the height of a beamer block?

To keep content from jumping between slides in a beamer presentation, I would like to use an overlayarea environment. By trial and error, one can determine the appropriate amount of space to reserve. ...
1
vote
1answer
81 views

Vertical height of \longtable

How can I reduce vertical height of the \longtable. Note that all the document is double-spaced. I need the vertical spaces in the tables to be exactly adjusted as in the \tabular. Example: ...
2
votes
1answer
4k views

Content doesn't fit in one slide

I have a paragraph which I want to put in one slide, but it doesn't fit and some content can't be seen. I am using the Warsaw theme as follows. I tried increasing the height of the slide using the ...
6
votes
1answer
7k views

Fitting tables into beamer

I have some tables in my presentations that are rather big. I found out how to use \resizebox to fit them into my page. Unfortunately this only works for tables that are wide. For long tables, my ...
5
votes
2answers
486 views

Set Table height to fixed height

I found the \resizebox command but I don't want to scale my table. I want to be able to set it to X height and have it stay there. Is there a way to set the height of a table and leave it there no ...
4
votes
1answer
955 views

Increasing height of single row in table

Possible Duplicate: Column padding in tables I want to make a table where one column heading has superscript which overlaps with hline above it. How can I increase the height of just that ...
2
votes
1answer
237 views

content-independent total height

I am generating a table from a program with two pairs of name/value columns. Each pair forms a two column tabu table and the two tables are then nested in an overall tabu table to get the effect. I ...
6
votes
2answers
218 views

tabular height savebox problem

I'd like to build a tabular and next to it a graphics in the same height. I use the following code (for minimal working purposes, I used \rule) and do not understand, what is going wrong: ...
4
votes
2answers
1k views

Increasing the size of a minipage proportional to the contain

I am trying to create a simple environment. The enviroment contains a minipage that is surrounded but a dashed box. \NewEnviron{Notes}{ \par \begin{tikzpicture} \node[rectangle,minimum ...
5
votes
1answer
397 views

Table/tabular problem: vertical centering of long text + increase the row height

I already checked this post in this site: Vertical centering of text within a table What I am asking is quite similar to that question: I want all the cells to be vertically centered. This can be ...
11
votes
1answer
662 views

Correct delimiter height in TikZ

When using the left delimiter and right delimiter options, I am having the problem that their height is not equal to the node they are surrounding. Here is an example: \documentclass{article} ...
5
votes
1answer
536 views

How to put fixed-height shading around text (inline)?

I have a chunk of code in an alltt environment and I want to highlight elements that are auto-generated (two colours for different methods): \newcommand{\gen}[1]{\colorbox{DGray}{#1}} ...
4
votes
2answers
1k views

Exact height of \hbox

I have problems controlling the exact height of an \hbox; what is wrong with this example? \documentclass{article} \newcommand{\mybox}[2]{ \fbox{ \vbox to #1cm{ \vfil\hbox to 1cm {\hfill #2 ...
8
votes
5answers
2k views

Set \strut height

I'm using quite a few \colorbox and \colorfbox in a document but they weren't sitting at the same heights (because some words contained g and this seemed to push the box down. The solution I found ...
3
votes
1answer
831 views

Table cell overflow

Consider this document example: \documentclass[a4paper,draft]{article} \usepackage{calc} \usepackage[demo]{graphicx} \usepackage{tabularx,multirow} \usepackage{geometry} \geometry{hmargin=0cm} ...