General ⇒ enumerate & table
enumerate & table
Question 1
I would like to get the output in the attached file,
i've used array but didn't get the o/p. , i think we can do this by using table, but how exactly no idea on that.
can anyone suggest me a suitable way.
Question 2
I want to start numbering of the item in the list fromm 20, and then it should automatically continues 21, 22, .... , i hope there might be someway, but am unable to figure out that, Please if some one can assist me on this.
Thanks,
metric
- Attachments
-
- Latex_2.JPG (5.28 KiB) Viewed 13173 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
enumerate & table
Code: Select all
\documentclass[11pt]{article}
\usepackage{amsmath}
\newcommand{\abs}[1]{\lvert#1\rvert}
\newcommand{\norm}[1]{\lVert#1\rVert}
\begin{document}
\setcounter{equation}{19}
\begin{equation}
\text{\parbox{1in}{\bfseries\raggedright Triangle inequalitiy}}\qquad\\norm{v+w}^2\le\left(\norm{v}^2+\norm{w}^2\right)\quad\text{or}\quad\norm{v+w}\le\norm{v}+\norm{w}
\end{equation}
\end{document}
Best regards
Thorsten¹
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: enumerate & table
I will try the solution.
thanks, thanks a lot.
metric.
enumerate & table
I've not tried the soln. but what i can make out form the code is it would change the equation number. I want the number in the enumerate listing to begin form 21, something similary to this..
(21) Find the square of a
(22) Find cube of bxb
(23) ......
..
..
and so on.
if you code would produce similary o/p, please ignore this, as this is what i want.
Thank you once again,
metric
enumerate & table
See the enumitem package:metric wrote:I want the number in the enumerate listing to begin form 21, something similary to this..
(21) Find the square of a
(22) Find cube of bxb
(23) ......
With it, you can do
Code: Select all
\begin{enumerate}
\item One
\item Two
\item Three
\end{enumerate}
Some inter-list text.
\begin{enumerate}[resume]
\item Four
\item Five
\item Six
\end{enumerate}
Code: Select all
\begin{enumerate}[start=20]
\item Twenty
\item Twenty-one
\item Twenty-two
\end{enumerate}
Re: enumerate & table
Can you tell me how did you come to know this ? , I mean to say is there any way we can get usage of all latex command ( or atleast the most useful/common commands), with the help on all the available option of that command, preferably with examples.
Eg: say enumerate command, I must get to know all the option i can use in \begin{enumerate}...\end{enumerate}, and that too with an example would be of great help.
I understand by going thru such a list i would be able to answer some of the question in this forum( this is one of the purpose)
If there is such list, please provide me the link to download the same.
and yes, thank you once more for the help,
Best regards,
Arif
enumerate & table
You need to check out the comprehensive TeX archive network (CTAN), the TeX catalogue, and other resources linked from the TeX Users Group (TUG):metric wrote:Can you tell me how did you come to know this ? , I mean to say is there any way we can get usage of all latex command ( or atleast the most useful/common commands), with the help on all the available option of that command, preferably with examples.
- CTAN: http://www.ctan.org/
- TeX Catalogue: http://www.ctan.org/tex-archive/help/Ca ... brief.html
- TUG: http://www.tug.org/
The particular commands that I quoted here are implemented by the enumitem package. You can find information about it at
In particular, its documentation is at
A related package is paralist (CTAN page, documentation). The paralist package allows you to make in-line (i.e., "horizontal") lists just like you do with vertical lists. It also gives you "compact" versions of enumerate and itemize. Just like enumitem, it lets you easily change the list labels. However, it doesn't provide easy access to the counters and other features of the list.
Many of these enhanced list features have been rolled up into the memoir document class (CTAN page, terrific documentation). The memoir class is a drop-in replacement for the standard document classes (e.g., article, book, report). It folds in the feature sets for 30 or 40 useful packages. If you don't like its implementation of a particular package, it allows you to override it with the original package. However, in most cases it does a good job on its own and prevents you from having to have a long list of packages to include.
The koma-script bundle (CTAN page, English documentation, German documentation) is similar to memoir. It's a drop-in replacement for the standard document classes, and it has terrific documentation.
You can find more support (for making lists and otherwise) at the TUG-related webpages I listed above. Search for features you want and investigate the solutions. If you see several packages that claim the same purpose, post a message here and/or the comp.text.tex newsgroup (which is available as a Google group) and see which of the packages most people use.
For example, here's a list of packages with enumerate in their description:
I used the CTAN search page to generate that list.
Re: enumerate & table
All I can say is, thank you, thank you, thank you so much
Best Regards,
metric