2
votes
2answers
21 views

Misalignment chapter titles with hang option of titlesec package and redefined \cleardoublepage

When I redefine the command \cleardoublepage to include the words "This page has been intentionally left blank", the titles of the chapters are misaligned. \documentclass{book} \usepackage[a4paper, ...
4
votes
1answer
48 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 ...
6
votes
3answers
110 views

LaTeX errors in Formatting

I want to print this text : make -j 5 KDEB_PKGVERSION=1.yourcustomname deb-pkg But I feel because of the underscore , LaTeX generates an error missing $ inserted and it doesn't print it as well. ...
1
vote
1answer
149 views

how to center align a word with bold and underline

I need to center align a word with bold and underlines. I've tried with \textbf and \centerline in all possible combinations but no use. I am using \documentclass[12pt]{report} for my report doc.
1
vote
3answers
220 views

Chess Opening Document

I am trying to make a PDF with Chess Openings. Before I used skak but now I am converting it to texmate. I want to put the mainline in bold as centered text. I also want the diagrams centered. At this ...
2
votes
1answer
94 views

How do I center my title (both horizontally and vertically)?

I'm trying to create a centred title, both horizontally and vertically on the page. I'm rather new to latex - so far, I've tried the code below without success: \begin{center} \title{Title} ...
2
votes
1answer
55 views

Fixing alignment with the rest of the text

The image included above is what I want to replicate - I want the name to appear on the top left, and the address/email-id to appear on the top right, and I want both of them to be aligned with the ...
1
vote
1answer
66 views

Problem with ragged lines

Somehow, the lines in my document are all ragged, i.e. the further use of \raggedright does not change the document. I do not know the command to undo this (I believe not ragged is the preset). Here ...
1
vote
2answers
118 views

Formatting of an array of equations (left alignment)

I have the following text in a matrix environment. Is there a better way to format it, say with each column being left ordered, and how can this be done? $$ \begin{matrix} \Gamma^{i}_{\mbox{ ...
1
vote
1answer
237 views

Special chapter title formatting

Using the book class. I would like to have chapter titles that look like this: | CHAPTER ## | | Chapter Title (italic) | Can titlesec do this?
1
vote
0answers
173 views

Custom quote formatting [closed]

I have a .cls in which I have quite a bit of formatting... I'm trying to make a way of making my own "quote" formatting. I need to format my quotes centered, with a limited width for each line, and ...
3
votes
1answer
748 views

Why doesn't the \closing center in my letter?

If I pdflatex the below Latex, then "Kind regards," and "Sandra" doesn't get centred. If the letter is two pages long, then it does. Question How do I get this centred when my letter is just one ...
7
votes
1answer
250 views

Make numbers in table bold w/o changing width

I want to highlight some numbers in a table using \bf{}. However, the bold numbers also get wider but I want them to neatly line up with the rest. How can I avoid this?
4
votes
2answers
611 views

Changing style of table caption

I'm using the \caption command inside \begin{table} command and in the output I'm getting: Table 4.1 - Caption Table Content Is it possible to change that style to something like this? ...
8
votes
1answer
166 views

How do I adjust the placement of descriptions I've made alongside enumerated statements within a boxed theorem environment?

Basically, what I'd like is to have an elegant command that would enable descriptions (commutativity, associativity, etc.) made alongside enumerated statements to be aligned to the far right side of ...
4
votes
1answer
110 views

An environment with custom justification

I would like to create an environment called "question" with one argument (being the question number) with a certain alignment/justification. How might I define one so that it comes out like how it ...
14
votes
1answer
349 views

A center environment for plain TeX

In TeX, one can center a single line of text with \centerline. How would one implement a center justification environment for a single long line of text in plain TeX without the addition of any ...
5
votes
1answer
986 views

Title page oddly centered

I have to insert the cover page of my thesis as a title page, so it will also move from the center of the page to openright, I guess. The titlepage code is this: \begin{titlepage} \begin{center} ...
2
votes
1answer
165 views

Problem with centering the text of the title page and more

The following is the code related to my title page: \documentclass[a4paper,12pt]{book} \usepackage{amsmath, amsthm, amssymb} \usepackage{url} \usepackage[algoruled,vlined]{algorithm2e} ...
6
votes
1answer
491 views

right-justified column and bold-face rows

I'm new to latex but I'm trying to learn and am piecing together various pieces of code from different postings, so I apologize if this code is "messy". In a table, I would like to have the widths of ...
15
votes
2answers
10k views

Math inside tables and formatting

I'm trying to make a little summary of mathematic analysis, useful for my university, in LaTeX. I'm stuck in the problem of creating nice table, with alternate colouring containing equations with ...
3
votes
1answer
466 views

Siunitx: alignment, parentheses and font size

I'm trying to align numbers (that are bolded, between parentheses, etc.) by decimal points in table columns while using the auto-round option of the siunitx package. The following code doesn't work: ...
4
votes
2answers
1k views

\bgroup and \egroup?

So I've been looking to expand on the following bit of code (a hack to not screw up the margins when using oversized figures): \noindent\makebox[\textwidth]{% \begin{tabularx}{1.5\textwidth}{XX} ...
15
votes
4answers
845 views

How can I make (La)TeX prefer to fill centered lines

My thesis formatting requirements ask for multiline chapter and section titles to be a maximum of 4.5 inches wide with any subsequent lines being wrapped such that they are sucessively shorter, ...
11
votes
3answers
13k views

How to format the chapter heading?

How can I change the chapter heading of the book class to typeset centered chapter names as shown in the image above?
8
votes
2answers
2k views

siunitx: aligning numbers by decimal points in tables doesn't work for bolded or italicized numbers

This is a follow-up question for Aligning numbers by decimal points in table columns. User lockstep provided this solution: \usepackage{siunitx} \begin{document} \begin{tabular}{S[table-format=3.2]} ...