% Setup \\documentclass[11pt,english]{article} \\usepackage[a4paper,bindingoffse
ID: 3744749 • Letter: #
Question
% Setup
documentclass[11pt,english]{article}
usepackage[a4paper,bindingoffset=0.0in,%
left=1.2in,right=1.2in,top=1.4in,bottom=1.8in,%
footskip=.25in]{geometry}
pagenumbering{gobble}
% Some useful packages
usepackage{amsmath}
usepackage{amsthm}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{cancel}
%usepackage{fancyvrb}
%usepackage{color}
%usepackage{tikz}
%usepackage{kbordermatrix}
% Setup theorem numbering
ewcounter{thms}
ewtheorem{theorem}{Theorem}[thms]
usepackage{enumitem}
ewlist{steps}{enumerate}{1}
setlist[steps, 1]{label = Step rabic*:}
egin{document}
egin{flushleft}
extbf{large{CS330 - Computer Organization and Assembly Language}}\*
extbf{{Assignment 0}}\*
extbf{{Due Date: 09/14/2018 }}\*
extbf{{Full Name: Pratyusha Thundena}}\*
extbf{{BlazerID: thundena}}\*
space{0.5cm}
end{flushleft}
paragraph{1.} $(1100101011)_{2} = ( )_{10}$
egin{center}
egin{steps}
item indent Basis step:
space{0.2 cm}
item Let A = 1 then $|2^{1}| = 2^{|1|}. $
space{0.4 cm}
end{steps}
end{center}
paragraph{2.}
space{5.5cm}
end{document}
Latex Help
I'm trying to align the bold faced 1. with Step 1 and Step 2 using TeX studio. Below is my "code" for latex. Please correct it for proper alignment. Thanks
% Setup
documentclass[11pt,english]{article}
usepackage[a4paper,bindingoffset=0.0in,%
left=1.2in,right=1.2in,top=1.4in,bottom=1.8in,%
footskip=.25in]{geometry}
pagenumbering{gobble}
% Some useful packages
usepackage{amsmath}
usepackage{amsthm}
usepackage{amsfonts}
usepackage{amssymb}
usepackage{cancel}
%usepackage{fancyvrb}
%usepackage{color}
%usepackage{tikz}
%usepackage{kbordermatrix}
% Setup theorem numbering
ewcounter{thms}
ewtheorem{theorem}{Theorem}[thms]
usepackage{enumitem}
ewlist{steps}{enumerate}{1}
setlist[steps, 1]{label = Step rabic*:}
egin{document}
egin{flushleft}
extbf{large{CS330 - Computer Organization and Assembly Language}}\*
space{0.5cm}
end{flushleft}
paragraph{1.} $(1100101011)_{2} = ( )_{10}$
egin{center}
egin{steps}
item indent Basis step:
space{0.2 cm}
item Let A = 1 then $|2^{1}| = 2^{|1|}. $
space{0.4 cm}
end{steps}
end{center}
paragraph{2.}
space{5.5cm}
end{document}
1. (1100101011)2-010 Step 1: Basis step: Step 2: Let A = 1 then 12-21Explanation / Answer
It stands quite skeptical, as the Steps and 1 both be arranged according to each other. Though you might want to look into the following set of commands:
1) Use of verbatim {begin-end pair} with package fancyvrb
2) Use of tabto with package tabto
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.