# How to control options for displaying table in Weave.jl?

**URL:** <https://discourse.julialang.org/t/how-to-control-options-for-displaying-table-in-weave-jl/105256>\
**Category:** Performance\
**Tags:** question, dataframes, weave\
**Created:** [October 21, 2023, 1:17am UTC](https://discourse.julialang.org/t/how-to-control-options-for-displaying-table-in-weave-jl/105256 "2023-10-21T01:17:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ahmed\_Salih](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ahmed_salih/32/206579_2.png) [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Post date:** [October 21, 2023, 1:17am UTC](https://discourse.julialang.org/t/how-to-control-options-for-displaying-table-in-weave-jl/105256/1 "2023-10-21T01:17:34Z")

</div>

Hello!

I’ve been playing a bit with Weave.jl tonight and found it very fun to use! I tried to do a table though, and I must admit: I did struggle quite a bit.

Basically it does work if one does;

```julia
using DataFrames
DataFrame(A = 1:3, B = ["x","y","z"])

```

Then it will output something when compiling in Weave.jl which is really nice - but how can I control layout, position of table, coluring etc. using something like PrettyTables.jl?

Any link to an actual example/guide would be very welcome, thanks 🙂

EDIT: Fixed question title and just wanted to show visually what it does:

 ![image](https://global.discourse-cdn.com/julialang/original/3X/f/b/fb42154a7ad73a50cbce020e49b8c6d9a6fcc289.png)

Say if I want to color text green - how?
