Tag Info

Hot answers tagged

8

Use paracol. It's fairly straight-forward: \documentclass{article} \usepackage{paracol,lipsum} \usepackage[margin=1in]{geometry}% Just for this example \begin{document} %\columnratio{0.5} 50/50 split between columns \raggedright \begin{paracol}{2} \textbf{Study Name (Number):} \switchcolumn MarginProbe System US Post-Market Study \switchcolumn* ...


8

LaTeX is so not designed for this kind of document. But if you must, must. \documentclass{article} \usepackage{graphicx} \begin{document} \setlength\unitlength{1cm} \vspace*{\fill} \noindent \begin{picture}(0,0)\bfseries\large \put(4,3){\includegraphics{house}} \put(0.5,5){\parbox{5cm}{\raggedright If you are feeling generous I'd like a house, ...


5

\documentclass[10pt]{amsart} \usepackage{} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsthm} \begin{document} \renewcommand\theenumi{\alph{enumi}} \renewcommand\labelenumi{\theenumi.)} \begin{enumerate} \item The domain of $f$ is $\mathbb{R}$. \item $y = 0$ is the equation of the asymptote to the graph of $f$. \item ...


5

First possibility: \documentclass{book} \usepackage{glossaries} \makeglossaries \newglossaryentry{website01}{name=website01,description=description01} \newglossaryentry{website02}{name=website02,description=description02} \newglossaryentry{website03}{name=website03,description=description03} ...


4

Two things. First, use marginnote as it does better job. Second, move \MarginText{Some Margin Text B} inside \item. \item \MarginText{Some Margin Text B} Lorem ipsum .... If it is put outside (like you did), it is anchored in the upper line. Further, \footnotesize{#1} should be \footnotesize#1. Full code: \documentclass{scrartcl} ...


4

Please always post complete documents, not just fragments. If I complete your document to \documentclass{article} \begin{document} \section{9/17/2014} \subsection{Complex Numbers and Roots of Unity} \begin{itemize} \item Content 1 \end{itemize} \subsection{Dihedral Groups} \item Content 2 \end{itemize} \end{document} Then it produces ! LaTeX Error: ...


4

1. Tabularx First the warning from subsection 4.3 last bullet in the tabularx-manual: Do not use \multicolumn entries which cross any X column. To line up the text in the left margin, a simple solution is to load the package enumitem and use a local, optional value let the bullet flush the left margin [leftmargin=*]. To achieve your goal ...


4

Use \leftmargin=0pt to shift the indentation to the left boundary, this works in multiply nested lists. \documentclass{article} \usepackage{enumitem} \begin{document} \section{Foo} \subsection{Bar} \subsection{Foobar} \paragraph{Fubar} \begin{itemize} \item \begin{description}[leftmargin=0pt] ...


3

Here's a solution that (a) uses \noindent before the start of the tabularx environment, (b) uses @{} directives to eliminate the (presumably unwanted) vertical whitespace to the left of the first column and the right of the final column, and (c) uses \multicolumn{2}{@{}p{\textwidth}@{}} instead of \multicolumn{2}{>{\hsize=2\hsize}X}. Observe that nothing ...


3

This is one possible solution where tikzmark is utilized here and \VerticalLine is defined that takes 3 arguments defined in the code as remarks. Code \documentclass{article} \usepackage[left=3in,top=2in]{geometry} \usepackage{tikz,amsmath,enumitem} % \setlist{nosep,before=\vspace{\baselineskip},after=\vspace{\baselineskip}} ...


3

If you don't plan to have lists and paragraphs in the “Assigned readings”, you can go with \documentclass{article} \usepackage{advdate} \usepackage[dayofweek]{datetime} \newdateformat{syldate}{% \twodigit{\THEMONTH}/\twodigit{\THEDAY}% \,(\shortdayofweekname {\THEDAY}{\THEMONTH}{\THEYEAR})% } \newlength{\datelength} \newenvironment{schedule} {\par ...


3

itemize is really intended for bullets of various sorts, description adjusts better to large labels: \documentclass{beamer} \usetheme{Madrid} \begin{document} \begin {frame}{Upper gastro-intestinal endoscopy } \begin{description} \item[Esophagus] Four columns of grade IV esophageal varices were noted. Red colored signs present \item ...


3

A quick and short way, without much configuration... \documentclass{book} \usepackage{glossaries} \newglossaryentry{website01}{name=website01,description={Blabla}} \newglossaryentry{website02}{name=website02,description={Another Blabla}} \makeglossaries \begin{document} \glsaddall \printglossary[title={List of websites}] \end{document}


3

As David says above you are much better off using a list and letting LaTeX take care of the formatting and numbering. Doing it this way is easier, both to read and to write and, the layout is automatically uniform and easy to change. For this I would use the enumitem package to obtain using: \documentclass{article} \usepackage{enumitem} ...


3

You could also use a description or a longtable environment: The size of the columns can be adjusted via setting such as labelwidth=5.0cm or changing the p{} setting in the longtable environment to obtain: Code: description: \documentclass{article} \usepackage{lipsum} \usepackage{calc} \usepackage{enumitem} \begin{document} ...


3

All theorem-like environments, along with center, flushleft, flushright, quote, quotation (and some others) are implemented as lists. For instance, center is defined by % latex.ltx, line 3965: \def\center{\trivlist \centering\item\relax} \def\endcenter{\endtrivlist} and \begin{center} something \item \end{center} would not raise an error, because \item ...


3

As Bernard mentioned, if the list is a new one, you need to set at least the label because, in this case, you are creating a new list from scratch. If you just want to alter attributes of the default lists, you can instead specify enumerate, for example. \documentclass{article} \usepackage{enumitem} \setlist[enumerate,1]{leftmargin=0pt}% if you just want ...


3

With the enumitem package you need: label=\arabic*., % define the label align=left, % align the label to the left itemindent=\parindent,% fit the label and the space following in this width labelwidth=\parindent,% fit the label and the space following in this width labelsep=0pt, listparindent=\parindent, leftmargin=0pt,% New lines in ...


2

The following doesn't use the enumitem package but instead mimics a list by inserting the numbering at the correct location. The reason for this approach is because your setup seems to resemble regular paragraph text. As such, fiddling with list indentations can be tricky. \documentclass{article} \setlength{\parindent}{2em} ...


2

With the lineo package you can use the linenumbers environment to locally enable numbering: You can also use \nolinenumbers to disable numbering for the nested itemize if desired: Code: Use linenumbers environment \documentclass[10pt,a4paper]{article} \usepackage{lipsum} \usepackage{lineno} \begin{document} \lipsum[1] \begin{linenumbers} ...


2

You can do that pretty easily with the enumitem package: \documentclass[12pt]{article} \usepackage[utf8]{inputenc} \usepackage[shortlabels]{enumitem} \setlist[enumerate, 2]{label =\theenumi.\arabic*} \begin{document} \begin{enumerate} \item \begin{enumerate} \item Text \\ OR \item Text \end{enumerate} \item Some other Text \begin{enumerate} \item ...


2

REVISED SOLUTION (takes guesswork out of parameter selection) With this revision, the guesswork is removed from the process, which is accomplished by forcing uniformity across the nested lists with topsep, parsep, and itemsep. Instead, one must just specify 9 well understood parameters, as well as the colors of each bar. \tpset=2pt\relax% uniform \topset ...


2

The default list environment used by outlines is itemize. If you want to use an enumerate, you have to adjust what the outline environment uses. This is done by redefining \ol@type: \documentclass{article} \usepackage{outlines} \usepackage{enumitem} \setlist[enumerate,1]{label=A\arabic*.} \setlist[enumerate,2]{label=B(\alph*)} ...


2

Here's one option using the tikzmark library from TikZ and the etoolbox to automatically add the colorized region for the description labels and the frames for the descriptions; the code needs three runs to stabilize: The code: \documentclass[12pt]{article} \usepackage{enumitem} \usepackage{etoolbox} \usepackage{tikzpagenodes} ...


2

You can also use [wide=0\parindent]: \documentclass{article} \usepackage{enumitem} \begin{document} \section{Foo} \subsection{Bar} \subsection{Foobar} \paragraph{Fubar} \begin{description}[wide=0\parindent] \item[First Item] The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. ...


2

You can try this: \documentclass{article} \usepackage{enumitem} \usepackage{xcolor} \newif\ifgooditem \newif\ifneutralitem \newif\ifbaditem \newcommand\gooditem{\gooditemtrue\baditemfalse\neutralitemfalse\item} \newcommand\neutralitem{\neutralitemtrue\gooditemfalse\baditemfalse\item} \newcommand\baditem{\baditemtrue\gooditemfalse\neutralitemfalse\item} ...


2

More flexible solution would be a command that tests for a variable, i did this using the package ifthen for the string comparison. \documentclass{article} \usepackage{ifthen} \usepackage{enumitem} \usepackage{xcolor} \newcommand{\itemclass}{} \newcommand{\myitem}[1]{% \renewcommand{\itemclass}{#1}\item% } \newcommand{\mylabel}{% ...


2

One simple way is to enclose the list inside a minipage so that the spaces are gobbled. \begin{tabular}{L!{\VRule}R} 10/2011-03/2014 & \textbf{Uni of Witchcraft}\\ lorem ipsum & just a dummy line\\ & \begin{minipage}[t]{\linewidth} \begin{itemize}[nosep] ...


1

One way to do this is to use \tikzmark to mark the specfic start and end points of the brace and the draw the brace using tikz: Notes: For the case of left brackets/braces, if you want to ensure that your braces and an other labels are with the margins, you need to move the list over to the right a bit. This can be easily done with the enumitem package ...


1

In your case it suffices to remove any specification of itemindent: \documentclass{article} \usepackage{mathtools,enumitem} \begin{document} \begin{enumerate}[label = {\arabic*)}] \item before \begin{equation*} A \end{equation*} after \end{enumerate} \end{document}



Only top voted, non community-wiki answers of a minimum length are eligible