The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
1answer
43 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 ...
2
votes
1answer
41 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 ...
2
votes
2answers
48 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 ...
3
votes
1answer
46 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 ...
1
vote
1answer
30 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
1answer
48 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
0answers
20 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
52 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
80 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
87 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 ...
3
votes
1answer
65 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
48 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 ...
1
vote
2answers
56 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]{% \...
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). \...
2
votes
2answers
96 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
39 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
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
1answer
49 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
1answer
225 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 ...
11
votes
2answers
236 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. \...
3
votes
1answer
71 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
63 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 ...
4
votes
1answer
80 views

How to adjust the `absolute text-height` including the header/footer/footnote (if any)

I would like to have a document of a given absolute text-height (say 20cm) (from the header to last line, including footer/footnote, if any). Currently the settings are as in the following document. ...
0
votes
0answers
58 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 ...
3
votes
2answers
280 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 ...
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} \definecolor{myblue}{rgb}{0.866,...
9
votes
6answers
3k 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 (...
2
votes
1answer
319 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 \...
1
vote
0answers
76 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 ...
2
votes
1answer
38 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!}} \settoheight{\...
1
vote
2answers
363 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 ...
4
votes
1answer
54 views

Raise position of text relative to line

It's a relatively minor thing, but in the table below I'd like to raise up the Hebrew relative to the Latin characters. They feel like they're sitting slightly too low on each line. Can anyone ...
1
vote
2answers
3k 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: \headerbox{Results}{name=results,column=2,span=2,row=1,below=results,above=...
4
votes
1answer
107 views

In fancyhdr : change the height of a logo in the footer

I want to put the logo of my school in the bottom right of my pages. The problem is that the logo collides with the text on top. I know that the position of the footer is ruled by the \footskip ...
0
votes
0answers
155 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} ...
6
votes
3answers
197 views

How can I determine the height and depth of a “multi-line” `\ooalign`?

How can I determine the height and depth of a "multi-line" \ooalign? \ooalign{\relax\cr% \noalign{\vskip-2ex}X\cr% \noalign{\vskip+2ex}\cr% \noalign{\vskip+1ex}X\cr% ...
4
votes
1answer
92 views

How much bigger are delimiters

While trying to duplicate TeX dimension computations, I noticed that the delimiters placed with \left…\right are slightly bigger than the box around which they wrap. How much bigger, how is that ...
2
votes
1answer
35 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
111 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 ...
4
votes
3answers
248 views

Is there a way to automatically increase the height of a node when the height of its label gets bigger?

In the following code, I want the height of the yellow box to be increased automatically when the number of its lines gets more. Is there a way to do this? \documentclass{article} \usepackage{tikz}...
16
votes
2answers
26k 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
1answer
137 views

How can I fix the title height in mdframed boxes?

I am trying to write a LaTeX document involving a lot of definitions. For this reason, I decided to create a mdframed environment (see below), and place my definitions one after the other in a two-...
6
votes
1answer
139 views

Odd/even page wrongly detected if there is not enough space on the current page

I'd like to put: some text on the outer side of the page, some another text on the inner side of the page. For this, I make use of the (\checkoddpage) \ifoddpage test provided by the changepage ...
3
votes
2answers
176 views

Adjusting exact height of the table rows

I am trying to adjust exact height of the row in my table, but the output is not good: \documentclass[a4paper]{article} \usepackage{array} \usepackage{color, colortbl} \definecolor{mColor1}{rgb}{0....
3
votes
1answer
386 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} \...
5
votes
3answers
336 views

How to make a fixed height-width box with custom padding

I am new to latex, I am trying to include output of TI84 calculator in my document. It is supposed to look like this: Following is what I am able to make. My output's height and width arrange ...
3
votes
1answer
48 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 \end{...
2
votes
1answer
99 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 ...
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. ...
5
votes
2answers
517 views

Height of sparkline

I'm trying to place a sparkline in a ctable using the sparklines package. \documentclass[11pt]{article} \usepackage{ctable} \usepackage{sparklines} \begin{document} \ctable[ caption = ...