Graphics, Figures & TablesA bunch of newb questions :)

Information and discussion about graphics, figures & tables in LaTeX documents.
Post Reply
LaTexLearner
Posts: 139
Joined: Tue Mar 10, 2015 11:06 am

A bunch of newb questions :)

Post by LaTexLearner »

I've put my newb questions in the code, using the % symbol. If it's too many for one thread, let me know. I *think* they're mostly small questions, though.

Code: Select all

\documentclass[12pt,letterpaper]{article}

\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry}
\usepackage{array}
\usepackage{booktabs}
%Is there an easier way to make horizontal lines in tables than using the booktabs package?

\title{What is a ``Solution" to a System of Equations?}
\date{}
\author{\LaTeX\ Learner}

\begin{document}

\maketitle

%All 3 of the vspaces below are 5pt. Why isn't the vertical spacing consistent?

\noindent \textbf{The System}

\vspace{5pt}

\noindent Equation 1: $5x+3y=9$\\

\vspace{5pt}

\noindent Equation 2: $-4y+10=x+15$

\vspace{5pt}

%Why don't the borders of the tables touch? And why does it give me errors when I try to put "\midrule" anywhere else, e.g. line 42 or 44?

\begin{tabular}{|p{5cm}|p{2.5cm}|p{2.5cm}|p{2.5cm}|}
\midrule
Possible Solution&\raggedright Solution to Equation 1?&\raggedright Solution to Equation 2?& \raggedright Solution to The System? \\
%Why the heck are all these equations in the column farthest to the right? How do I put them in the left-most column?
$x=2, y=5$\\

$$x=1, y=2$$\\

$$x=3, y=-2$$\\

$$(-2,3)$$\\

$$(-5,0)$$\\

\end{tabular} 

\begin{enumerate}
\item What is the solution to the system?
\item How can you tell if you have a solution to a system?
\item The system of equations above has \_\_\_\_  equations. A solution has to satisfy \_\_\_\_ of them. 
\item If a system of equations has 25 equations, then a solution must satisfy \_\_\_\_ of them.
\item If a system of equations has $n$ equations, its solution must satisfy \_\_\_\_ of them. 
\end{enumerate}

%How do I make the blank spaces for writing a continuous line instead of four small separated underscores?

\pagebreak

\noindent \textbf{Another System of Equations}
%Again, what's with the inconsistent spacing here?
\vspace{5pt}

\noindent Equation 1: $x-2y=-11$\\

\vspace{5pt}

\noindent Equation 2: $3x=2y-13$\\

\vspace{5pt}

\noindent Decide if the following are solutions to the system above or not.

\begin{itemize}
\item $x=-3, y=4$
\item $(-1,5)$
\item %Easiest way to draw an x-y plane graph from (-5,-5) to (5,5) with a dot on (1,4)?
\end{itemize}



\end{document}

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

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

A bunch of newb questions :)

Post by Stefan Kottwitz »

LaTexLearner wrote:If it's too many for one thread, let me know.
Gladly - yes, too many per thread. It should be one question per topic, no matter how small. We got space for millions of topics, and tags to sort them. And the title should speak for the content.

Or with more words.

Just for fun, imagine, that you would maintain a public discussion forum about LaTeX, which shall be a useful knowhow Internet archive with LaTeX solutions. And people should find topics, if they google for some meaningful keywords.

We answer questions for more than just a single question poster to throw away afterwards.

Now, how should this topic title be sorted? How to be understood by searching users? Why mixing questions?

If you would use questions to get answers for a good solution archive, you may
  • choose a title which describes the question or error,
  • post one topic for each question.
What do you think? Can we improve? Would be more motivating to work on answers. ;)

Stefan
LaTeX.org admin
LaTexLearner
Posts: 139
Joined: Tue Mar 10, 2015 11:06 am

Re: A bunch of newb questions :)

Post by LaTexLearner »

@ Stefan: I didn't quite understand all your post, but I will split up mine into smaller chunks sometime tomorrow. :)
Post Reply