{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

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
2answers
595 views

LaTeX table adjustments

I am typing the following table in LaTeX: \begin{center} \setlength\extrarowheight{5pt} %\renewcommand{\arraystretch}{1.2} \begin{tabular*}{3.4in}{@{\extracolsep{\fill} } | c | c | c | c | c | c | c ...
4
votes
1answer
49 views

Generation of a simple title

How can i get the following result using a fixed-width right rule and a line-filling left rule ?
4
votes
1answer
762 views

algorithm2e-Drawing vertical dashed rules

In the following code, I would like to produce dashes lines instead of normal ones. The three HERE indicate where the code draws the lines. \documentclass{article} \usepackage[utf8]{inputenc} ...
4
votes
1answer
139 views

Problem with LetLtxMacro

I'm trying to redefine \rule to make cleaner underscores, but my book file (in memoir class) is having problems with the following: \RequirePackage{letltxmacro} \LetLtxMacro{\oldrule}{\rule} ...
3
votes
1answer
1k views

\hline with \only (or \onslide) in Beamer

In a table in beamer, I would like to remove \hline after X number of slides using \only<1>{\hline} But this always results in an error message: Misplaced \noalign What can I do to ...
3
votes
1answer
929 views

How to create a dashed line in tabularx environment

I've been looking into this, and I have encountered two main "solutions": \usepackage{arydshln} As decribed here. And this one: \usepackage{dashrule} As described in this other post. However, ...
3
votes
1answer
210 views

Page number in outer margin affects vertical ruler

I adapted the idea from here to place the page numbers in the outer margin. However, by doing so, the vertical ruler disappears. I first thought that adjusting the horizontal spacing parameters for ...
3
votes
1answer
4k views

tabular - \cline not working

I have this table \begin{tabular}{ | p{2cm} | p{4cm} | p{4cm} | p{4cm} | } \hline Název & \multicolumn{3}{ l }{vypsatZapojeniResiteluDoProjektu} \vline\\ \hline Popis & \multicolumn{3}{ l ...
3
votes
2answers
2k views

Underlined blank that wraps

I'd like to create an "answer blank" in a document. It should basically look like an underline with nothing above it. I found a question about it ( How does one TeX a blank? ), but that doesn't deal ...
2
votes
3answers
818 views

How to I reduce space before and after HRule?

I have a command: \newcommand{\HRule}{\rule{\linewidth}{0.2mm}} and it produces a thickness I am happy with but the space before and after the line is far too large and taking up much of my ...
2
votes
1answer
1k views

Two horizontal lines above and under chapter-entry [duplicate]

Possible Duplicate: Title between lines Can anybody please tell me how to get horizontal lines above and under the \chapter{MyChapter}? Here is an example:
2
votes
1answer
205 views

How to place text between two columns and which breaks the rule dividing them in ConTeXt?

I have two paragraphs of instructions and I need to indicate to readers that they have a choice of one or another. I am using this code, to put the data into different columns, with a line between: ...
2
votes
2answers
3k views

Bold \hlines for longtable

I've searched the topic and found the following two answers. Answer 1. LaTeX tables: How do I make bold horizontal lines (typically \hline)? The best answer suggests to use booktabs. However ...
2
votes
1answer
270 views

Overprint \hlines

How can I set \hline\endhead for longtable, that this line would overprint on \hline , when such present after \\ in row, which transmitted on next page? When I just type \hline\endhead, I receive ...
2
votes
1answer
441 views

Footnote separator for wrapped footnote

In a text I am writing I have a couple of quite long footnotes which start on one page and continue on the next one. In order to comply with style requirements the line separating the body text and ...
2
votes
2answers
1k views

How to separate columns with a line in beamer(poster)?

\setlength{\columnseprule}{0.4pt} with the multicol package does not work. The beamer guide does not discuss this case for their columns environment... To be clear this is what I want ###### | ...
1
vote
1answer
107 views

LyX command(s) to insert WYSIWYG horizontal line, for keyboard shortcut

Using the menu entry Insert > Formatting > Horizontal Line I can insert a WYSIWYG horizontal line into a LyX document. I want to figure out the internal command(s) used to do this so I can set up a ...
1
vote
1answer
489 views

\hhline double line imperfection

Using the \hhline command i found some imperfection in the double line. How can i fix it? Imperfection Table \documentclass[11pt]{amsart} \usepackage{amssymb} \usepackage{hhline} ...
1
vote
2answers
152 views

Add a hrule to only chapter not numbered

I am thinking of adding a hrule to only chapters that are not numbered, in other words the chapters created using chapter*{}. I thought of using the titlesec package- My problem is that I cannot find ...
1
vote
0answers
86 views

Ruler below chapter heading [duplicate]

I am writing my thesis work using Lyx. Could anyone please help me with the code for positioning a ruler below the chapter title? The code I have doesn't display any ruler below the chapter title. ...
1
vote
1answer
547 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 ...
0
votes
0answers
118 views

nopagebreak between rule and custom theorem env

I'm making a custom theorem environment. Here's a minimal example of my problem, with some filler text borrowed from the GPL: \documentclass{scrbook} \usepackage[dvipsnames]{xcolor} ...