Text FormattingNew Help

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
jdcastanier
Posts: 1
Joined: Tue Mar 16, 2021 7:06 am

New Help

Post by jdcastanier »

Hi, I'm new NEW to LaTeX. Can you help me with this beginner error?
----------------------------------------------------------------------------------------------------------------------------------------------------
\documentclass[a4paper, 12pt, landscape, twocolumn]{book}

\usepackage[a4paper, inner=1.7cm, outer=2.7cm, top=2cm,
bottom=2cm, bidingoffset=1.2cm]{geometry}

\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}

\title{\Large{\textbf{LaTeX Tutorial}}}
\author{By Juan Daniel Castanier Rivas}
\date{Marzo 15, 2021}

\maketitle

\blindtex[6]
\end{document}

-------------------------------------------------------------------------------------------------------------------------------------------------
I get this error:
Undefined control sequence.
\documentclass[a4paper, 12pt, landscape, twocolumn]{book}

Whoever you are, hero out there, thank you.

Recommended reading 2024:

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

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

New Help

Post by Ijon Tichy »

Please always mark your code as code. You can do so using by selecting the code and then click onto the Code button. Note, only correct marked code can be executed directly on this page and can be copied correctly. Not marked code can even be broken by the formatting of the page. And also copy error messages as code from the log-file. The exact message with and indent is important for the semantic.

However, with your code I get other error messages:

Code: Select all

! Package keyval Error: bidingoffset undefined.

See the keyval package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
                                                  
l.1005 \ProcessOptionsKV[p]{Gm}
                               %
? 
This is because geometry does not have an option bidingoffset but bindingoffset

Code: Select all

./test.tex:17: Undefined control sequence.
l.17 \blindtex
              [6]
This is because the correct command is \blindtext, but you've used \blindtex.

So correct code would be:

Code: Select all

\documentclass[a4paper, 12pt, landscape, twocolumn]{book}

\usepackage[a4paper, inner=1.7cm, outer=2.7cm, top=2cm,
bottom=2cm, bindingoffset=1.2cm]{geometry}

\usepackage[english]{babel}
\usepackage{blindtext}

\begin{document}

\title{\Large{\textbf{LaTeX Tutorial}}}
\author{By Juan Daniel Castanier Rivas}
\date{Marzo 15, 2021}

\maketitle

\blindtext[6]
\end{document}
You can try it, using the Run LaTeX here button below the code (because I've marked the code as code).
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply