I don't know, how this enumeration should be indented. It gives me the enumeration closely next to the word "Practice" and it should be on the separate line (under "Practice").  \documentclass[a4paper, 10pt]{article} \usepackage{czech,amsmath,amsthm,amsfonts,multicol} \topmargin0pt \headheight0pt \headsep0pt \oddsidemargin0pt \evensidemargin0pt \setlength{\textwidth}{\paperwidth} \addtolength{\textwidth}{-2in} \setlength{\textheight}{\paperheight} \addtolength{\textheight}{-2in}  \begin{document} \theoremstyle{remark} \newtheorem*{practice}{Practice}  \renewcommand{\labelenumi}{[\arabic{enumi}]} \renewcommand{\labelenumii}{(\roman{enumii})}  \begin{practice}  \begin{enumerate}     \item ccc     \begin{enumerate}         \item fff         \item fff     \end{enumerate}     \item fff \end{practice} \end{document}
40364
I'm currently writing up some solutions, and I like to rewrite the problem before answering it.   I've set exercise to be a theorem environment, and the code I'm using is  \begin{exercise}  \begin{enumerate}  \item Show that $R$ is symmetric iff $R^{-1}\subseteq R$. \item Show that $R$ is transitive iff $R\circ R\subseteq R$. \end{enumerate} \begin{proof} \end{proof} \end{exercise}   However, when I build, the first item (a) appears immediately to the right of the Exercise heading, and the second item (b) appears below and indented:    I've tried using \newline and \linebreak, and even skipping a line before typing \begin{enumerate} after the \begin{exercise} command but those don't work. Is there a way to push (a) down below Exercise 3.32. so that it's lined up with (b)? Thank you.  As requested, my preamble is:  \documentclass[11pt]{article} \input{other/packages.tex} \input{other/theoremdef.tex}   where packages.tex is  \usepackage{amsthm} \usepackage{amsmath} \usepackage{amscd} \usepackage{url} \usepackage[top=1.3in, bottom=1.3in, left=1.3in, right=1.3in]{geometry}  % header and footer \pagestyle{headings}  \usepackage{amssymb} \usepackage{amsfonts} \usepackage{stackrel} \usepackage{mathrsfs} \usepackage{verbatim} \usepackage{enumerate} \usepackage{hyperref} \usepackage{xy} \input xy \xyoption{all}   And theoremdef.tex is:  \newtheorem{exercise}{\bf Exercise} \newcommand{\dom}{\text{dom}\ } \newcommand{\ran}{\text{ran}\ } \newcommand{\fld}{\text{fld}\ } \newcommand{\op}[2]{\langle #1,#2\rangle} \newcommand{\ot}[3]{\langle #1,#2,#3\rangle} \newcommand{\ms}[1]{\mathscr{#1}}
94558
\documentclass[12pt]{article}  \usepackage{amsmath,amsthm,amssymb,amsfonts} \usepackage{enumerate}  \newenvironment*{exercise}{}  \newcommand{\R}{\mathbb{R}}  \begin{document}  \begin{exercise}{1.10.} Show that $B=\{[a,b)\subset\R|a&lt;b\}$ is a basis for a topology on $\R$.\\ \begin{enumerate} \item{stuff...} \item{stuff...} \end{enumerate} \end{exercise}  \end{document}   My main concern is that the list numbers in the list and the text in the instructions line up. That is that the S in show is lined up with the 1 and 2 etc in the list.
94564
Starting code is as follows. I'd like a hanging indent for first text column:  MWE:  \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{paracol} \usepackage{parskip} \setlength{\parindent}{15pt} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{blindtext} \usepackage{paracol} \usepackage{parskip} \setlength{\parindent}{15pt} \usepackage{CJKutf8}  \begin{document}  \section*{Random Text} \begin{paracol}{2} %\hangindent  Person 1: "\blindtext" %\hangafter \switchcolumn \noindent Person 2: "\blindtext" \end{paracol}  \end{document}   Random text on subsequent lines needs to be justified to the opening quote of first line. This should continue until I indicate it to end even with new lines.
65331
I noticed what seemed to be a bug in the way the stackoverflow editor handles numbered lists. I did a search on meta for this and it didn't come up, but if it is a duplicate, I'll delete the question.  Consider the following code:  Here are some points:  1. One 2. Two 3. Three  Here are some more points which continue the theme:  4. Four 5. Five   When you actually type this into the text editor, this is the result:  Here are some points:   One Two Three   Here are some more points which continue the theme:   Four Five   In this case, the ordered list resets after the break. This is probably just an edge case (and not necessarily worth fixing), but I ran into the problem today and figured this would be a good place to raise the topic! My workaround was to use back-ticks around the numeral, but then you lose the hanging indent. (ie, 1. One)  Might this be worth fixing? Is it expected behavior? Or am I doing it wrong?
99061
How to get correct indentation after entering a nested list? I am writing a code review and I could not figure this out by googling. Here is an example of the three formatting styles I tried to use (but none of them works as I would like):  Case 1  The task is to align the last line (see below) "In the first line you use camelCase..." with the last line above the numbered list. In my first attempt, I added a new line (empty line) after the second numbered list item, and then indented by 4 spaces:     Variable name casing: See  on "Snake Case". In Perl, we use "snake_case" instead of "camelCase", and be consistent. Example:   Line 14: my $testType  Line 18: my $right_frame   In the first line you use camelCase, whereas in the second you use     snake_case.     As you can see, this gives the correct indentation but it introduces a blank line above the first numbered item.  Case 2  In this case I do not add the blank line after the second numbered list item ( but still indent by 4 spaces ):     Variable name casing: See  on "Snake Case". In Perl, we use "snake_case" instead of "camelCase", and be consistent. Example:   Line 14: my $testType  Line 18: my $right_frame In the first line you use camelCase, whereas in the second you use     snake_case.      In this case the line is considered as part of the last list item  Case 3  In this case, I try to add two blank spaces (invisible) at the end of the second list item:     Variable name casing: See  on "Snake Case". In Perl, we use "snake_case" instead of "camelCase", and be consistent. Example:   Line 14: my $testType  Line 18: my $right_frame In the first line you use camelCase, whereas in the second you use     snake_case.      In this case the line is considered part of the second item, and hence not correctly indented.  How to achieve the correct indentation?
33114
--Revised-- I am looking at a math workbook for teenagers. This one has the following structure:  1.Main Chapter 1.1 Subchapter 1.11 Task 1 a) problem 1   b) problem 2   c) problem 3 d) problem 4   e) problem 5 1.12 Task 2 etc. ...  Many of the math problems are very small and the natural thing would be to have them on line, horizontally. However an expression is often broken and aligned at the equal sign. Not unlike an equation (but not). Secondly, when the line that contain the structure breaks, the item indicators also align, presuming the use of an enumerated list. How can I reasonably assume this is done? Does it have to be a forced method, as a table, or can it be a flexible one, like inline?
58062
I am trying to create a CV and for the heading information I am using a minipage to display my name and Curriculum Vitae inline with smaller text containing my contact information.  The code works fine, but I cannot figure out why the left edge of the minipage is indented further than the section heading and text and which come below it.   Any ideas and help would be very appreciate.  Here is the code:   %------------------------------------------------------------------- % PACKAGES AND OTHER DOCUMENT CONFIGURATIONS %------------------------------------------------------------------- \documentclass[10pt]{article} \usepackage{array, xcolor, lipsum, bibentry} \usepackage[     paper=letterpaper,     includefoot,            % Uncomment to put page number above margin     marginparwidth=1in,     % Length of section titles     marginparsep=.05in,     % Space between titles and text     margin=1in,         % 1 inch margins     ]{geometry}  \usepackage{showframe}    % Shrink spacing around section headings \usepackage{titlesec} \titleformat*{\section}{\large\bfseries} \titlespacing\section{0pt}{12pt plus 4pt minus 2pt}{0pt plus 2pt minus 2pt}  % Break tables across pages \usepackage{supertabular}  % Set column sizes and color \definecolor{lightgray}{gray}{0.8} \newcolumntype{L}{&gt;{\raggedleft}p{0.1225\textwidth}} \newcolumntype{R}{p{0.81\textwidth}} \newcolumntype{X}{&gt;{\raggedleft}p{0.05\textwidth}} \newcolumntype{Y}{p{0.9\textwidth}}  % Commands to simplify starting a table \newcommand\VRule{\color{lightgray}\vrule width 0.5pt} \newcommand\smalltab{\begin{supertabular}{L!{\VRule}R}} \newcommand\medtab{\begin{supertabular}{X!{\VRule}Y}} \newcommand\longtab{\begin{supertabular}{L!{\VRule}R}}  \begin{document} %-------------------------------------------------------------------  % NAME AND CONTACT INFO %-------------------------------------------------------------------  \begin{minipage}[b]{0.65\textwidth} \begin{flushleft}     \Huge{\textsc{Here is my name\\}}     \Large{Curriculum Vitae} \end{flushleft}  \end{minipage} \begin{minipage}[b]{0.35\textwidth}     \small{Street Address\\     City, State 12345\\     emailaddress@gmail.com\\     www.website.com\\     1-555-555-5551} \end{minipage}  %------------------------------------------------------------------- % EDUCATION %------------------------------------------------------------------- \section*{Education} \smalltab     2011--present &amp; PhD in Stuff, Very Awesome School.\\[2.5pt]     2009--2011 &amp; Masters in Stuff, Just OK School.\\[2.5pt]     2004--2008 &amp; Bachelors in Things, Relatively Awesome School.\\ \end{supertabular}  \end{document}
67778
I'm using the following code. What should I do if I don't want the fixed indent from the left margin of my page? ‎  \documentclass[‎fleqn,oneside‎]{article}‎ ‎\usepackage{amsmath}‎ .... \begin{align} a_1&amp; =b_1+c_1\\ a_2&amp; =b_2+c_2-d_2+e_2 \end{align}
41584
I have one problem with enumerating. The symbols for items look differently when the enumerating is done ''inside'' propositions from the enumerating done ''inside'' a proof.   The code  \documentclass[11pt,a5paperfootinclude=true,headinclude=true]{scrbook} % KOMA-Script book \usepackage[T1]{fontenc}                 \usepackage{lipsum} \usepackage[linedheaders,parts,pdfspacing]{classicthesis} % ,manychapters \usepackage[bitstream-charter]{mathdesign} %\usepackage[osf]{libertine} \titleformat{\section}   {\normalfont\bfseries}{\thesection}{1em}{}       \usepackage{amsthm} \usepackage{amsmath}  \usepackage{multicol}  \usepackage{IEEEtrantools}  \usepackage{anysize} \marginsize{0.1\paperwidth}{0.1\paperheight}{2cm}{2cm} \newcommand{\bigslant}[2]{{\raisebox{.2em}{$#1$}\left/\raisebox{-.2em}{$#2$}\right.}}  \usepackage{enumerate}    \begin{document}    \theoremstyle{plain} \newtheorem{thm}{Theorem}[chapter] % reset theorem numbering for each chapter  \theoremstyle{definition} \newtheorem{defn}[thm]{Definition} % definition numbers are dependent on theorem numbers \newtheorem{exmp}[thm]{Example}  \theoremstyle{corollary} \newtheorem{cor}[thm]{Corollary}  \theoremstyle{lemma} \newtheorem{lem}[thm]{Lemma}  \theoremstyle{proposition} \newtheorem{prop}[thm]{Proposition} \newcommand{\ndiv}{\hspace{-4pt}\not|\hspace{2pt}}  \begin{prop} \begin{enumerate}[(a)] % (a), (b), (c), ... \item \item \end{enumerate} \end{prop}  \begin{proof} \begin{enumerate}[(a)] % (a), (b), (c), ... \item \item \end{enumerate} \end{proof}   \end{document}   and the result     Is there any remedy for this, so they look identical or is it impossible? Can we also make a reference to the enumerated item?   Thank you
20741
A picture is worth a thousand macros:    I don't blame LaTeX for having difficulty in formatting this entry.   What can I do, however, to alleviate the effects and avoid the Word-like indentation?   A related question suggested by the site is  which indeed produces a better aligned entry:   While I like the sane alignment, I'm not not very happy with the switch to a monospaced font (while it works in the regular text, in bibliographical entries it attracts too much attention and takes too much space).  Any other suggestions?  The entry for the above test bibitem is:  \begin{thebibliography}  \bibitem{anything-here} "Lorem Ipsum Society, \emph{dolor sit amet, consectetur}, May 2010 retrieved on Oct 16, 2010 from http://www.lorem-ipsum.com/whatever-here/about\%20something/here\%20takes/space\%20in\%20a\%20long/url\%20foobar.aspx   \end{thebibliography}
5259
Is there a guide out there on how to customize the enumerate and itemize instances in my code?  (I'm using the Memoir class in LaTeX for Windows, and I have the enumitem package included.)  I want to mess with the margins and spacings to make my lists look a little less "LaTeX-default"...
71984
The following image illustrates what am looking for:    Essentially I want the numbering to occur as shown above but using the multicol and enumitem package. But when I try it by using the following code:  \documentclass{article} \usepackage{amsmath,amssymb} \usepackage{enumitem,multicol} \begin{document} \begin{enumerate} \item Evaluate each of the following if $x$ is a non-zero real number.     \begin{multicols}{2}     \begin{enumerate}[itemsep=1cm]% The item sep is my choice here.     \item $\dfrac{|x|}{x}$     \item $\dfrac{x}{|x|}$     \item $\dfrac{|-x|}{-x}$     \item $|x|-|-x|$     \end{enumerate}      \end{multicols} \end{enumerate} \end{document}   I get:    Essentially, I want the (b) to be where the (c) is. I know this has been done but I can't seem to find it.
67012
Consider the following example:  \documentclass{article} \newtheorem{Theorem}{Theorem} \begin{document} \begin{Theorem} On the other hand, this one has only one claim. \end{Theorem} \begin{Theorem} \begin{enumerate} \item First claim \item Second claim \end{enumerate} \end{Theorem} \end{document}   Typesetting it results in:    Notice there is extra horizontal space before the first item in the list of the second theorem.     Is there a sensible way to get rid of that?   Ideally, the solution would work with amsthm, thmtools, enumitem.  N.B.: this is related to  but not quite the same.
75194
I'm somewhat of a LaTeX noob, and this is driving me completely nuts.  When I type  \documentclass{article} \usepackage{enumitem}  \begin{document}     Some text     \begin{itemize}[noitemsep]         \item Item 1         \item Item 2         \item Item 3     \end{itemize} \end{document}   I don't want the space which appears in between the text "Some text" and the itemization to be there:    When I search around on Google all I see is tons of long, complicated advice on this site, StackOverflow, forums, etc. on how to not fix the problem ("parskip is evil", etc.), or tons of vague/confusing answers on what package to look at, with no actual example for me to learn from.  So while this question is already asked many times, I have never found a single concrete answer to this question.    The question couldn't be simpler: How do I "properly" get rid of this extra space?
86868
I have two questions. 1. Can I delete the red-colored space? 2. If I use enumerate in proof, QED symbol appears the next line of the end, as above. If I do not want to type manually \qedhere, should I use ntheorem?  \documentclass[a4paper]{article} \usepackage[scale=0.75]{geometry}  \usepackage[english]{babel} \usepackage[utf8x]{inputenc} \usepackage{amsmath} \usepackage{amsthm} \usepackage{amssymb} \usepackage{textcomp} \usepackage{enumitem} \setlist[enumerate]{nosep, label=(\arabic*)}  \theoremstyle{definition} \newtheorem{lem}{Lemma}  \begin{document}  \begin{lem} \begin{enumerate} \item xxxx \item yyyy \end{enumerate} \end{lem} \begin{proof} \begin{enumerate} \item xxxxxxxxxxxxxxxxxxxxxxxxx. xxxxxxxxxxxxxxxxxxxxxxxxx. xxxxxxxxxxxxxxxxxxxxxxxxx. xxxxxxxxxxxxxxxxxxxxxxxxx. xxxxxxxxxxxxxxxxxxxxxxxxx. xxxxxxxxxxxxxxxxxxxxxxxxx.  \item yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. yyyyyyyyyyyy. \end{enumerate} \end{proof}  \end{document}
85531
Here is my MWE. I wish for text with full justification, that is the text lines up perfectly with the right margin. I can not  find a simple answer to this, Please help.   \documentclass[oneside,12pt]{article} \setlength{\oddsidemargin}{0.25 in} \setlength{\evensidemargin}{-0.25 in} \setlength{\topmargin}{-0.6 in} \setlength{\textwidth}{5.5 in} \setlength{\textheight}{5.75 in} \setlength{\headsep}{0.75 in} \setlength{\parindent}{.5 in} \setlength{\parskip}{0.1 in}  \usepackage{lipsum}  \begin{document}  \ttfamily  \lipsum  \end{document}
66173
I am trying to learn how to use enumitem's keys to adjust a description list.  In this case, I would like to have my list items and description text both left aligned, but the description text should all start at the same horizontal position.  What I have below comes pretty close, but it seems that the setting of \labelwidth is being ignored, and that there is some other thing I need to add to get the correct value of leftmargin.  The tabular version produces that output I want, but would prefer to use the description list from enumitem.  \documentclass{article} \usepackage{enumitem} \usepackage{calc}  \newcommand*{\LongDescription}{This is a  long sentence to check that when it gets wrapped it is indented properly on the next line, but doesn't seem to when used in the list.}% \newcommand*{\ShortDescription}{A very short description.}%  \begin{document} \newcommand*{\LargestItem}{The Largest Named Item}% \newlength{\MaxWidth}% \settowidth{\MaxWidth}{\LargestItem}% \newlength{\MaxWidthPlusLabelSep}% \setlength{\MaxWidthPlusLabelSep}{\labelsep+\MaxWidth}%  \begin{description} [leftmargin=\MaxWidthPlusLabelSep,labelwidth=\MaxWidth] \item Small Name:     \ShortDescription \item The Largest Named Item: \LongDescription \item Larger Name:     \ShortDescription \end{description}   \hrule\medskip  I want something like this, but should be able to do this with a list:  \bigskip \begin{tabular}{l@{ }p{\linewidth-\MaxWidthPlusLabelSep}} Small Name:     &amp;\ShortDescription\\\\     The Largest Named Item:     &amp;\LongDescription\\\\     Larger Name:     &amp;\ShortDescription \end{tabular} \end{document}   I have tried the solutions on how to  and  but have not been able to adapt them to what I want.