The tag has no usage guidance.

learn more… | top users | synonyms

3
votes
2answers
864 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 ...
3
votes
1answer
301 views

How to get rid of height differences in two beamer blocks?

How come the two blocks have a different height? What should be changed in \hole definition in order to have the same height? \documentclass[10pt,lmodern,handout]{beamer} \usepackage[utf8]{inputenc} ...
3
votes
1answer
186 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 ...
3
votes
2answers
27 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). ...
3
votes
1answer
64 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 ...
3
votes
1answer
46 views

How to: height of “|” depends on both sides

I want that a vertical line depends on the height of the signs to its left and to its right: i.e. \documentclass{article} \begin{document} \begin{equation} \left. AAAA \right| BBBB ...
3
votes
1answer
2k 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 ...
3
votes
2answers
247 views

Diagonal line in table with vertical text

I want to add a diagonal line in a the top line of a table where the other entries on the first row are written sideways. I've tried \backslashbox and \diagbox and \diag but no matter how I change the ...
3
votes
1answer
663 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
1answer
1k views

How to vertically align title when reducing the header size in Beamer Palo Alto theme?

I tried for some time to adjust the height of the header in Beamer Palo Alto theme. I now managed to do so, but now I have the problem that the title in the header is not properly aligned anymore. ...
3
votes
0answers
38 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 ...
2
votes
2answers
63 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 ...
2
votes
1answer
242 views

Invisible and unselectable text

For alignment reasons (for boxes that align themselves on the text they contain), I currently use this command : \newcommand{\uplowtext}[1]{ \transparent{0.}TJPtjp \transparent{1.}#1 ...
2
votes
3answers
831 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? ...
2
votes
2answers
39 views

Maths in stretched cells

Here is a minimal working example of my table : \documentclass[10pt,a4paper]{article} \usepackage{color} \usepackage{amsmath} \usepackage{colortbl} \usepackage{array} ...
2
votes
1answer
37 views

Doubling hbox returned height

I can get the height of the hbox but I am stuck trying to double its height. Here my latex statements: \newlength{\txtlineheight} \settoheight{\txtlineheight}{\hbox{Hello World!}} ...
2
votes
2answers
237 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 ...
2
votes
2answers
62 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 ...
2
votes
1answer
33 views

Turn off floats temporally

I have written a command which puts content into a minipage to measures its height. It uses this information to insert "intelligent" pagebreaks, newpages, clearpages and warnings. To do the ...
2
votes
1answer
63 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{} ...
2
votes
1answer
1k 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, ...
2
votes
1answer
315 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 ...
2
votes
1answer
48 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
96 views

Modify main slide dimensions-Beamer

I'mm making a Beamer Presentation and I would like to use as much space as possible for my slides, because I want the images that will be included to be as visible as possible. More specifically I ...
2
votes
1answer
90 views

Fixed area for footnotes: is it possible?

Is it possible to dedicate to footnotes a same fixed (possibly empty) area, with same height, on each page? Of course, in case of too long footnote text, it should continue on the next page (area) as ...
2
votes
1answer
27 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
1answer
56 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
2answers
53 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]{% ...
1
vote
1answer
58 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.
1
vote
1answer
37 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 ...
1
vote
2answers
2k views

How can we change the height of a header box [closed]

In my poster done using baposter, I need to change the height of the \headerbox. for example, I have this example: ...
1
vote
1answer
49 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 ...
1
vote
1answer
818 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 ...
1
vote
2answers
310 views

tabu how to specify individual absolute column width and row height?

I am trying to generate a table that requires different row widths. The first column should have as little width as possible (just to print single digit 1,2,3 upto 9), whereas column 3 (where I have ...
1
vote
1answer
219 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 ...
1
vote
1answer
120 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: ...
1
vote
1answer
53 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 ...
1
vote
0answers
67 views

Vertical rule to fill remaining page height

I need to have a vertically-oriented titles with rules on either side that fill the available space. For example, the vertical SOFTWARE and PERSONAL titles here: Here's the relevant code that ...
0
votes
2answers
47 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 ...
0
votes
1answer
18 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 ...
0
votes
0answers
56 views

How to have the same top/bottom margins (from the footer/header, if any) and the same left/right margins in the book class

I have the following document. Thanks to the answer http://tex.stackexchange.com/a/272591/ the absolute text-height is 20 cm (text-height+footer+header=20cm). I would that the left and the right ...
0
votes
0answers
125 views

Error: “Undefined control sequence” in \includegraphics, height

I am using figure and subfigure environment. Inside subfigure I am using includegraphics. The figure and subfigure structure looks like following: \begin{figure} \begin{subfigure}[b]{.25\textwidth} ...
0
votes
0answers
27 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} & ...