{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
4k views

Getting strange misplaced \noalign error

I'm trying to add a horizontal line to my document, like so: \documentclass[10pt]{article} \usepackage{fullpage, graphicx, url} \usepackage{dsfont} \begin{document} $ \mathds{C}$ \hline ...
4
votes
1answer
726 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
134 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
960 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
634 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
200 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
3k 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
599 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
199 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
2k 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
420 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
1answer
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
367 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
146 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
254 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 ...
1
vote
1answer
542 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
101 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} ...