Linked Questions

45
votes
2answers
41k views

Diagonally divided table cell [duplicate]

Possible Duplicate: Diagonal lines in table cell I'd like to include a table of numbers in my document. Those numbers are defined by two parameters n and k, and I'd like to achieve a presentation ...
45
votes
2answers
25k views

How to diagonally divide a table cell … properly?

There have been many threads discussing solutions to the task of drawing a diagonal line in a table cell. There are also two packages to do this, slashbox and the better looking makecell with its \...
32
votes
2answers
6k views

Strike out a table cell

I'm trying to strike out cells in a table, without specifying the cell width. To do so, I looked at the code of colortbl as this seems to a very decent job with filling cells. Now I played around ...
30
votes
1answer
94k views

LaTeX table cell with a diagonal line and 2 sub cells [duplicate]

Possible Duplicate: Diagonally divided table cell Diagonal lines in table cell I'd like to have a LaTeX table, where the top left cell marks what the headers are to the right and also mark what ...
17
votes
3answers
40k views

slashbox alternative [duplicate]

Possible Duplicate: Diagonal lines in table cell Is there a better way to label both axes of a table at the same time rather than using slashbox? It looks kind of ugly.
8
votes
2answers
7k views

Cross out arbitrary table cells with diagonal line

I'm looking for a way to use a diagonal line to cross out a table cell which may or may not be empty, and without having to manually specify the cell's width and height. (It would also be great if ...
6
votes
2answers
1k views

Table with a diagonal line that crosses cells

How can I draw the following table in LaTeX? I tried looking here but from the examples I can't figure out how I can draw this. Edit: After browsing a few more times I found this with the help of ...
6
votes
2answers
2k views

Multi-colored cell background

I have been successfully using xcolor and its \cellcolor command for a while, and produced beautiful results with it. However, I would like to create some more advanced background effects: color the ...
6
votes
1answer
978 views

Split a tabularx cell at its diagonal when the X column specification is used?

How do I split a cell diagonally, when I'm using tabularx with X column, i.e. \begin{tabularx}{\textwidth}{X}? I've seen many answers on this topic on TeX.SE, but none of them are applicable to cells ...
5
votes
1answer
2k views

Making advanced tables [duplicate]

I am trying to generate tables like the one above I found in a textbook in LaTeX. In particular I am trying to find a way to make that $\$ slash symbol in the left upper corner. It would also be ...
5
votes
1answer
506 views

Clashing multirow with tikz

In order to get a diagonal line in a cell, I picked up a piece of code from Diagonal lines in table cell The code adapted to my situation works fine until I decide to use multirow. Here is the MWE. ...
4
votes
1answer
2k views

Is it possible to create a table with two entries in one cell separated by 45 degree line? [duplicate]

I want to create a table like the below picture in LaTeX. Does anyone tried this before? Can you introduce how to create such a table? The problem is that I don't know to how create the slash line ...
3
votes
1answer
180 views

Drawing a matrix

I’m new to latex and I need your help with the matrix in the picture below: mwe \documentclass{article} \usepackage{amsmath,blkarray} \begin{document} \[ \begin{blockarray}{ccccc} \begin{block}{c(...
2
votes
3answers
3k views

How to make a transportation tableau

I am trying to make a transportation tableau in LaTeX. The tableau I wanted looks like the one below.
2
votes
1answer
528 views

label in subcaption and customize cell size of an array

Using the following code \documentclass[11pt]{article} \usepackage{caption} \usepackage{subcaption} \DeclareCaptionSubType*[arabic]{table} \captionsetup[subtable]{labelformat=simple,labelsep=space} \...

15 30 50 per page