Page LayoutLaTeX Error: \begin{multicols} on input line 22 ended by \end{multicol}

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
abdouben2
Posts: 1
Joined: Sat Nov 05, 2016 9:46 am

LaTeX Error: \begin{multicols} on input line 22 ended by \end{multicol}

Post by abdouben2 »

Hello
I have this error

Code: Select all

! LaTeX Error: \begin{multicols} on input line 22 ended by \end{multicol}.

See the LaTeX manual or LaTeX Companion for explanation.
Type  H <return>  for immediate help.
 ...                                                                                  
l.227 \end {multicol}
Can any one help
Thank you



the begining of my script

Code: Select all

\documentclass{article} %%% use \documentstyle for old LaTeX compilers
\usepackage[english]{babel} %%% 'french', 'german', 'spanish', 'danish', etc.
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{txfonts}
\usepackage{mathdots}
\usepackage[classicReIm]{kpfonts}
\usepackage[dvips]{graphicx} %%% use 'pdftex' instead of 'dvips' for PDF output
\usepackage{graphicx}
%\usepackage{ }
\usepackage[utf8]{inputenc}
% You can include more LaTeX packages here
\usepackage{multicol}
\usepackage{xcolor}
\usepackage{geometry}
\geometry{hmargin=1.5cm,vmargin=0.5cm}
\begin{document}
\setlength{\columnseprule}{0.05cm}
\renewcommand{\columnseprulecolor}{\color{red}}
\begin{multicols}{2}



the end is : 



\end{multicols}
\noindent 
\noindent * Tendency of this person to make friends who are diverse
\noindent \# Ability of this person to make friends on far off places
\noindent Downloaded from http://www.ivyties.com
\end{document}

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

LaTeX Error: \begin{multicols} on input line 22 ended by \end{multicol}

Post by Johannes_B »

The enviroment names don't match, the ending part is missing an s.


Furthermore is suggest to read a LaTeX introduction (<- Link to free ebook)
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

LaTeX Error: \begin{multicols} on input line 22 ended by \end{multicol}

Post by Stefan Kottwitz »

Just to be clear, this is the message about the missing s as above:
\begin{multicols} on input line 22 ended by \end{multicol}.
I just mention it specifically to confirm Johannes answer, because the minimal example code above does it right (\end{multicols} with an s). Btw. I mark as solved.

Stefan
LaTeX.org admin
Post Reply