GeneralBox with lateral line

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
yoann815
Posts: 1
Joined: Thu Jan 28, 2016 8:36 pm

Box with lateral line

Post by yoann815 »

I want to have a box with a single line on the left of the box with the possibility to change color and thickness. Something like that : Image.
If it's possible with the tikz package, i would like to know with with commands

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

Learn LaTeX easily with newest books:

The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis

The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more

LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis

User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Box with lateral line

Post by Johannes_B »

Welcome,

yes, this is possible with tikz. Since some users wanted something like that, Thomas F. Sturm developed the tcolorbox package, which gives you a quite simple interface to achieve that.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Post Reply