5
votes
3answers
71 views

Shift Verbatim environment to the left using \hspace

I pasted some code into a document in a Verbatim environment from fancyvrb. Because it is within two nested enumerate environments, the code is indented quite far over. As a result, one long line of ...
3
votes
1answer
62 views

My Own CV Template - Help!

I wanted to develop a hybrid of moderncv and article class, another CV template. I am facing difficulties. Here is my code till now: \documentclass[12pt]{article} \usepackage{libertine} ...
3
votes
2answers
39 views

How to align the new environment

I have to define the new environment, similar to the proof environment. I learned on our site how to define it, but I do not know how to customize it. In particular, I design a book by using gsm ...
3
votes
2answers
49 views

Moving a table all the way to the left side of the Page

I'm having trouble with a table I have made. It is too long and goes off of the page to the right. I have already made the font smaller and made the page landscape. What I need to do is have the ...
2
votes
1answer
40 views

Fixed In-line Indentation [duplicate]

I want to align content that starts in the middle of a line and content that starts at the beginning of the next line (for a thesis Authorization to Submit page). E.g.: Major Professor: ...
4
votes
1answer
56 views

Trouble Indenting Portion of document

This is my first time giving LaTeX a try, and I decided to have my go at it with my week's math homework. Though most of the document could probably be done in a more efficient manner, I've gone about ...
1
vote
1answer
57 views

Unwanted right indent in document

Super noob here, so please forgive any blunders! :) My problem is that in my document (example below), the paragraph starting from the second dingbat is getting indented automatically. I don't want ...
2
votes
1answer
67 views

Problem with indentation and alignment [closed]

I am writing my thesis in book document class. The command \indent is not working. Also, the lines are not aligned on the right side. What could be the problem?
3
votes
2answers
71 views

I want to force a justification to both sides after using \newline

\documentclass[11pt,a4paper]{article} \usepackage[cp1250]{inputenc} \begin{document} \noindent In year 1000 somebody wrote something\footnote{\emph{something}} because he wanted to. Some thought he is ...
4
votes
1answer
92 views

footnotemark and footnotetext creates undesired indentation

I have looked for a solution for quite some time now, but I couldn't find anything useful. The problem seems to be minor but still visible. If I use footnotemark within align to create a footnote, ...
3
votes
1answer
49 views

Move list of acronyms to the right

I'm using the acronym package and I want to move the list of acronyms a bit to the right. I have the list in an independent .tex file and the code I use is: \documentclass{article} ...
0
votes
0answers
30 views

How to remove indentation when using the aligned environment? [duplicate]

I want to align equations inside an enumeration, so I use the aligned environment and its [t] option to make the first equation appear on the same baseline as the item label: \documentclass{article} ...
9
votes
2answers
249 views

Adjusting the gb4e {exe} environment locally

In my thesis I make extensive use of the exe environment of the gb4epackage and I love it. However, three of my approximately 100 examples need to have an alternative layout. Instead of the usual ...
6
votes
3answers
624 views

Negative indent?

Is a negative indent of a particular paragraph possible or does another command need to be used? I.e., the first line should begin inside the margin. Can a command similar to \noindent be constructed ...
3
votes
2answers
365 views

Enumeration in margins and hang indentation

A solution was given to Enumeration across many sections. However, (A) it seems enumeration prevents hang indent from activating. (B) Can I get the numbers to go into the left margin and leave hang ...
5
votes
1answer
144 views

Why won't \hspace work?

I'm trying to get a block of text to be aligned 2.55cm from the left of the page. I'm sure there's a better way of doing this, but it would be nice to get an answer anyway. When I type: ...
5
votes
3answers
281 views

Noindent in \thanks, left align

I am using the following command in WinEdt to have the corresponding author contact info at the footnote. I used \\ to have a new line since it was long. I have two problems. First I need to left ...
3
votes
2answers
554 views

description begins on a new line without indent

I am using this method to write description in a new line in beamer, But how can I remove the indent at the new line so it aligns with the \item[]? This is what I have right now. ...
19
votes
2answers
215 views

What's a quick way to align text?

I am often writing quick statements in which I would like the following lines to continue underneath the end of the first. Is there a quick way to do this (requires arrays?) this is the first ...
1
vote
2answers
2k views

Indentation after '\tabular' environments

I was filling some tables for my progress report and noticed something were odd. The following text/tables are indented. MWE: \documentclass[12pt, oneside]{book} \usepackage[ngerman]{babel} ...
10
votes
1answer
441 views

The indentfirst package does not work with ragged2e package

I am using the ragged2e package in the article class and want the first paragraph within the justify environment to be indented. As such, I used the indentfirst package. However, this does not change ...
3
votes
1answer
109 views

Align text with heading

Is there an easy way to align the text block with a section title? It should look like this: 1 Introduction This is an example text. 1.1 Section This text should also be ...
4
votes
2answers
159 views

Indent paragraph to horizontally align with enumerate environment

I have an enumerated list with points, intersected with comments to each point. I would like to align my comments vertically with the itemized points in the enumerated list. Below a MWE with its ...
3
votes
2answers
104 views

How to align continued/spilled line to part of the sentence

Is there any way to align the spilled over line to a particular part within the sentence I want to align the second line under MS Office.... \textbf{Software} --- MS Office Powerpoint, Software 1, ...
3
votes
1answer
161 views

How to add more indentation for section in table of contents

I would like to move sections in my TOC more to the right =) The picture will explain all: Here is my code so far (This code will give me the upper part in the picture): ...
7
votes
1answer
152 views

How to add horizontal whitespace in my text?

I have the following problem: Is there an easy and quick way to change the upper part to the lower? I tried using \hspace, but it had no effect. I'm new to TeX so bear with me ;D
46
votes
6answers
1k views

Starting a line where the previous line finishes

I have been using LaTeX for standard things like letters and scientific reports. I recently came to visit my grandmother who writes some poetry and told her I could make a nice pdf from her ...
5
votes
3answers
753 views

\phantom inside tabularx

I tried to improve the alignment in the following table using a \hphantom: \documentclass{article} \usepackage{tabularx} \begin{document} \begin{tabularx}{\linewidth}{p{2.8cm} X} 1/00\,--\,2/00 ...
3
votes
2answers
701 views

Right aligning a quote with extra indentation

I want to insert a quote into a document, have it aligned to the right, italic, with some extra indentation from the right margin, this is what i've managed so far: \documentclass{book} ...
6
votes
2answers
492 views

Disable indentation in enumerate temporarily

I would like to place an unindented \fbox inside an enumerate environment. \begin{enumerate} \item Some text. \par\fbox{a} \item Some more text. \end{enumerate} The above code produces: ...
4
votes
1answer
1k views

Combining leftskip, rightskip and raggedright

For some text (\blindtext below), I would like to add 20pt to the left and right page margin, and I would like the text to be raggedright (no hyphenation). The first try below does not add 20pt to ...
2
votes
2answers
175 views

Properly align text in description

I need to illustrate cases, that is why I am using the description environment: \begin{description} \item[Caso 1] Esiste una computazione $s_1, s_2, \ldots, s_k$ di $\mathcal P$ che comincia con ...
3
votes
4answers
233 views

Writing CV, need some advice on achieving structure similar to this

I'm a LaTeX beginner and under a heading (e.g. Interests) I want to have the text laid out as above. Specifically, my problem is getting the part on the right to stay aligned to the line above when ...
6
votes
1answer
2k views

algorithmicx package comments on a single line

Is it possible in algorithmicx package to have comments not aligned to the right side? For example I have code like this - \begin{algorithm}[!ht] \caption{My Algo.} \label{myalgo} ...
2
votes
1answer
918 views

Latex, left indent numcases

I have this simple equation (representation a dynamic programming recursion): \begin{numcases} {Opt\left(P, i, \ell \right)=min } \nonumber (1)\hspace{0.5 mm} Opt(P,i+1,\ell) + ...
8
votes
1answer
155 views

Indent and spacing in tables (or: How to do it better?)

I'm using the tabular environment in order to properly display my address in the text. But as the following example shows, the first column of the table doesn't align with the main body text. Also ...
5
votes
2answers
101 views

Enforcing new paragraph indents in book style

I'm having trouble getting the paragraphs in my document to indent. I'm not sure what could be wrong, as I thought this was default behaviour. Here is a cut down version of my tex file: ...
6
votes
1answer
533 views

Hang alignment in bibliography

My problem is rather simple but I wasn't able to find a satisfactory answer after some searching on the web and here. I'm trying to build a bibliography manually and would like to modify the ...
3
votes
2answers
269 views

Displaystyle and left-alignment

\newcommand{\mbi}[1]{\textbf{\emph{#1}}} \documentclass[preview]{standalone} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \begin{document} \begin{large} \displaystyle ...
3
votes
1answer
342 views

Difference in behaviour between tabular and flushleft environments

In response to my earlier question the following working code has been provided: \documentclass{article} \usepackage{showframe} \begin{document} \hfill \begin{tabular}{l@{}} some text\\ some other ...
7
votes
2answers
1k views

Push a block of lines to the right margin

The following code does what I need: \hbox to \textwidth{\hfill \vbox{ \hbox{some text} \hbox{some other text} } %vbox } %hbox The important things here are: Lines are not ...
12
votes
1answer
7k views

Multiline item indent

I am currently writing a set of steps for my lecture notes on circles but when the description of the step is too long, becomes multiline, the enumerated environment does not left indents properly as ...
2
votes
1answer
395 views

Align text and use indent

I want to align my text and also use indent at each paragraph.But it seems i can use only one of them (either alignment or indent). \usepackage{indentfirst} \begin{flushleft} \section {Heading} ...
9
votes
3answers
935 views

Leftalign labels with enumitem

I'm using the enumitem package to define a legal list: \usepackage{enumitem} \newlist{legal}{enumerate}{10} \setlist[legal]{label*=\arabic*.} The output for a list looks like this: 1. foo 1.1 ...
4
votes
1answer
623 views

How to indent a \halign?

I have a weird problem. I want to indent a \halign, but it seems no matter what I try, it just does not like to be indented! Things I've tried: text \indent\halign{&#\hfil\cr foo& bar\cr ...
3
votes
2answers
202 views

How can I make indentations and then align at different levels, in a table?

How do I create this table? It is the subtle indentations that are throwing me. I know I'm missing something simple.
17
votes
2answers
348 views

Why do I have to put the center environment in a group for \@afterindentfalse\@afterheading to suppress indentation?

Consider the following two macros, the only difference being that one has the environment inside a group: \documentclass{article} \makeatletter \newcommand\thisworks{% {\begin{center} $\ast$ ...
2
votes
1answer
196 views

New command for inline text

As I did not get an answer I was fully satisfied with in my last thread, although there were many great suggestions. I will therefore try to rephrase my question here. I also have some new inputs, ...
14
votes
3answers
20k views

Indent an entire paragraph / section?

I am writing a document with some odd spacing. I am copying another document, and therefrore the layout must be almost exact. I have sections divided by letters below, and some paragraphs in each ...
2
votes
1answer
761 views

How to align the captions in the list of figures?

How to align the captions in the list of figures ? I have the following code: \usepackage[subfigure]{tocloft} \renewcommand*\cftfigpresnum{Figure~} \settowidth{\cftfignumwidth}{\cftfigpresnum} ...