[Tex/LaTex] How to know the column width of a two column article

articlelengthstwo-columnwidth

I'm writing an article with 2 columns. If my document is this:

\documentclass[10pt,a4paper, twocolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[
left=2.00cm,
right=2.00cm,
top=2.00cm,
bottom=2.00cm
]{geometry}
\usepackage{blindtext}
\begin{document}
\blinddocument
\end{document}

Is there a way tho know exactly the width of the column (see picture)? I need it for draw in others softwares using this lenght.

enter image description here

Best Answer

The column width is stored in the length \columnwidth. It's value can be turned into a text representation using \the\columnwidth. Either use this inside \message{...} to print it to the LaTeX compiler output and log file or directly in the text if you want. The value is in Points (pt) which are 1/72.27 of an inch. (Not that PDF and Postscript have points with 1/72 inches for simplify calculations. These are called "big points" (bp) in TeX.)

\documentclass[10pt,a4paper, twocolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[
left=2.00cm,
right=2.00cm,
top=2.00cm,
bottom=2.00cm
]{geometry}
\usepackage{lipsum}
\begin{document}
\section{bla}
some text \message{The column width is: \the\columnwidth}
The column width is: \the\columnwidth
\lipsum
\lipsum
\end{document}

Which gives me: The column width is: 236.84843pt