{rules} is about drawing lines (also called rules). Popular packages are {booktabs} (which provides high quality table rules) and {dashrule}.

learn more… | top users | synonyms

4
votes
1answer
1k views

Beamer - Modifying the headline

With beamer, I use the theme Montpellier, a sober theme giving basic navigational hints. \usetheme{Montpellier} \useinnertheme{default} \useoutertheme{default} ...
4
votes
1answer
452 views

Theorems and Definitions as quotes

Most standard styles highlight theorems and definitions using italics. Now this is something I really would like to avoid in my thesis (and generally). Unfortunately, if I just remove this "feature", ...
8
votes
3answers
2k views

Making a line-separated left-margin in LaTeX

I'm trying to write a user guide in LaTeX, and I want to layout my page in a way that I can put in a left margin for comments / notes on the corresponding lines of text in the main portion of the page ...
30
votes
1answer
19k views

How to remove the top horizontal bar in fancyhdr?

When using fancyhdr, how do you remove the top horizontal rule? I do not want a header at all, just a footer. This is what I do now: \documentclass{article} \usepackage{fancyhdr} \pagestyle{fancy} ...
3
votes
1answer
383 views

Color running over the doublerule separator in a table

I want to draw a simple colored table with 4 columns. First row is a multicolumn row which spans columns one and two. There is one doublespace between columns 2 and 3. When i apply color (blue in this ...
13
votes
1answer
6k views

How to add a horizontal line above the footer with fancyhdr?

How to add a horizontal line above the footer using fancyhdr, just like the line present below the header?
5
votes
1answer
599 views

Vertical sidebars

I'm trying to layout a text book where each page in a given chapter has a thin coloured sidebar that starts at the top of the page and is some fixed length long. Each chapter will have a differently ...
21
votes
3answers
15k views

How can I make a horizontal dashed line?

How can I make a horizontal dashed line in LaTeX? Just writing lots of single dashes results in a continuous horizontal line.
10
votes
1answer
3k views

Box border lines not showing properly on PDF

I have the following code that generate a box with text content: \documentclass{report} \usepackage{color} \usepackage{lipsum} \newcommand\tipbox[1]{% \begin{center}% ...
17
votes
4answers
4k views

Putting a bar in the margin

I sometimes want to give examples in a document I am writing. Because these examples are quite general it could be difficult for readers to see the difference between the examples and the theoretical ...
5
votes
3answers
2k views

Why are the lines around my multicolumn cell misaligned?

In the following table, why does the double line before the diff column not go through? I guess all the multicolumn{1} are wrong? How can I fix it? \begin{table} \centering ...
27
votes
3answers
29k views

How can I draw a horizontal line spanning only some of the table cells?

In a table, how can I draw a horizontal line that goes only through some of the cells? I mean a line like the one in the Foo and in the Bar area of this table: +----+-----+ |Foo |1 |2 | | |1 |2 | ...
6
votes
2answers
14k views

How to draw a vertical line of desired length in equations.

I am writing a big formula where a vertical line is needed. Instead of $\vline$ or $|$, does anyone know a way to draw this vertical line of desired length? The formula is something like $$ E\Bigg[ ...
4
votes
2answers
673 views

How to overlap two adjacent edges of 2 framed minipages placed side by side?

How to overlap the adjacent edges? In other words, the adjacent edges should be combined into one edge shared between to minipages such that all rules will have the same thickness. ...
5
votes
3answers
3k views

tabular* with rubber spacing and \cline

I'm using a tabular* with rubber spacing to fill the complete width of the page. This works fine, except that when I use \cline, the line is not complete. It seems that \cline does not cover the ...
4
votes
1answer
430 views

bottomrule not working in a self-made environment [duplicate]

Possible Duplicate: bottomrule not working in a self-made environment I have this environment for consistent tables in my latex documents: \newenvironment{defaultTable}[2] { ...
1
vote
1answer
539 views

Apply a vertical rule beside graphics within Algorithm floats

Background Using LyX to write a book. The source code listings shown in the book are graphics. The graphics should have a vertical rule beside them. But only graphics that are embedded within an ...
3
votes
2answers
1k views

How can I eliminate the epigraph rule?

I use the epigraph package to define the following declaration that looks as follows: \epigraph{This work has appeared in:}{Max Mustermann, How the Euro will crash.} That looks then as follows This ...
4
votes
3answers
3k views

How to set style of header and footer with horizontal lines in report document type?

How can I set the header and footer for pages as in the picture below: On the top - title of the document and horizontal line below it. On the bottom - author's name and title of subsection on the ...
15
votes
3answers
2k views

How can I put a line above a section heading and prevent a page break between?

We have designed a class for some journal. We wanted our section titles to be separated by a horizontal line from the previous line. Here is the code: \def\section{% \vskip 1.2\@bls% \hrule ...
4
votes
2answers
421 views

Ruled lines on the bottom half of each page?

I'm trying to typeset a version of a document that will have the document on the half of each page, but I want the bottom half to have thin ruled lines for note taking. Any one have any thoughts about ...
10
votes
1answer
1k views

Create a vertical line in a table that spans a range of rows but not all rows

I'm interested in methods to create a vertical line in a table that spans a range of rows but not all rows. I've found one solution below, but is there another solution such as \cline which allows ...
8
votes
4answers
6k views

How to draw a line between two paragraphs of my text?

Its just as the title sys. Thanks.
10
votes
2answers
3k views

Footnote separator

How can I remove the separator line between the footnotes and the text?
28
votes
5answers
51k views

LaTeX tables: How do I make bold horizontal lines (typically \hline)?

The title says it all: In LaTeX tables: How do I make bold horizontal lines (typically \hline)?
14
votes
5answers
2k views

How can i add a “field” for handwritten text?

I need to add a bunch of fields for a handwritten text to my document that look like this: Your Name ___________ Your Age ___________ As an example, I can show you the form that I have to ...
93
votes
14answers
31k views

Totally sweet horizontal rules in LaTeX

I have been trying to find a way to easily drop a nice horizontal rule into a LaTeX document. \hline just makes a line across the page. It would seem that some package must provide something that is ...