{formatting} is for general questions about formatting document elements. Use this tag in addition to other tags specifying what should be formatted. For questions about font attributes (e.g., {bold}, {italic}, {small-caps}, {sans-serif}, {typewriter}), use the appropriate tag instead.

learn more… | top users | synonyms

1
vote
0answers
50 views

LaTeXTidy in Emacs

I often use Eric Tsu's LaTeXTidy script to neaten LaTeX files in TextMate, which includes it in the LaTeX bundle. I press a key-binding and LaTeXTidy formats the file. One can do this multiple times ...
27
votes
3answers
44k views

Change bullet style / formatting in Beamer

I like the Boadilla layout for Beamer presentations, but I find its enumerate bullet points illegible, as illustrated below (from the Beamer Theme Matrix). How can I change the formatting of the ...
2
votes
2answers
143 views

Displaying formula with a star

I want to display a centered formula to which can be referred as (*). Now, I have the following: But I want the formula to be more centered and the star to be right aligned. The code is now: $$ ...
1
vote
2answers
116 views

Tweakes to invoice

I need help fine tuning this document. I basically need three things: Get rid of the duplicate company information on top of "Client" Be able to stamp today's date automatically. I tried using ...
0
votes
1answer
13 views

Doublespacing for contents but not for the space between the header and the contents

I'm using \onehalfspacing for my entire document, except for the table of contents for which I use \doublespacing. However, the space between the heading "Contents" and the first line of it is also ...
1
vote
2answers
55 views

Excessive spacing between lines in definition

I have a definition in which there is some mathematical text being used. The spacing between the lines is proving to be too much for my liking and my editor also lists this as a badbox. The LaTeX code ...
0
votes
1answer
51 views

Properly writing an enumerated list in different lines within a sentence

My question is similar to this one but my items are bigger so I would like to write my items each in a different line. I am currently doing as follows The way to propose a solution that ...
2
votes
1answer
75 views

Add both part and chapter titles to list of figures with formatting and line wrapping

In a table of contents style list of figures I would like to combine the appearance of each of these questions. Part title in list of figures and tables? Include chapters in List of Figures with ...
1
vote
0answers
20 views

Author highlighting with biblatex-apa

I'm trying to implement the author highlighting provided here: Make one author's name bold every time it shows up in the bibliography The solution works fine until i activate the apa style for ...
2
votes
2answers
45 views

biblatex \printbibliography without linebreak

I'm trying to include real citation to my cv which works well except that the bibliography starts with a linebreak. How can I remove that? Hers my minimal tex: ...
0
votes
0answers
30 views

Custom code is overwriting some of the main code. Formatting problem

I am creating a document that requires some editing in the the normal ShareLaTeX format. I've googled my problem and the code seems to do the job: ...
1
vote
0answers
26 views

Changing the font size of rotatebox

How can we change the font size of the text appearing in the rotatebox? For example: \rotatebox{90}{test text} I would like to change the size of "test text".
2
votes
1answer
162 views

A nicer way of writing a table

I was wondering if there's a nicer way to write such a table... Any suggestions? Thanks! \documentclass[12pt,oneside,a4paper,fleqn]{report} \usepackage{float} \usepackage{booktabs} ...
1
vote
1answer
20 views

How to change the shape of reference numbers in both bibliography (as boldface) and citations (as italic)

Using the answer provided in How to change the shape of reference numbers in the bibliography, I have a document where the reference numbers in the bibliography are shown as boldface. Now at the same ...
5
votes
2answers
796 views

Replace (change) “Chapter 1” to “Chapter ONE”

I am writing a lab report, and select report class provided by LyX. I use LyX 2.0.3 and MiKTeX 2.9. My question is, how to change the chapter number to display as text? eg: CHAPTER ONE not CHAPTER ...
1
vote
1answer
104 views

How to create custom sidebar of your own beamer theme?

I am trying to create my own beamer theme and wish to create a right sidebar having the same hight as the slides. Unfortunately this is not the case. \useoutertheme[right]{sidebar} ...
15
votes
3answers
9k views

How do I get “et al.” to appear in italics when using \textcite or \citeauthor with biblatex

I'm using biblatex with the chem-rsc package option. I sometimes make use of the \textcite{<key>} or \citeauthor{<key>} commands to put the authors' name into text. When there are many, ...
2
votes
1answer
40 views

Format title for \chapter*{}

I have formatted Chapter titles using the package titlesec, but the formatting is unsuccessful in applying to my chapters with an asterisk *, (those chapters which I do not want appearing in my table ...
2
votes
1answer
49 views

\empheqlbrace autoscaling problem with dukedissertation document class

I am using the empheq package to group equations organized using the align command. If used in an article document class the left brace automatically scales wonderfully to group equations organized ...
0
votes
0answers
21 views

Text is too closely spaced preceding empheq environment [duplicate]

This is a follow-up question regarding a previous question: Previous Question In the dukedissertation document class the solution given in the link provided above leads to improper line spacing ...
17
votes
4answers
516 views

Frame with only crosses in two opposite corners

Is there one package to produce frames looking like the one above in the following ASCII example ? I don't want dashed lines. | ...
2
votes
1answer
44 views

How to align over multiple lines?

So I have some lines of formulas that I want to align: \Xi_c=(0.136,\ 0.307,\ 0.057^+\ ||\ 0.194^-,\ 0.148,\ 0. 087, 0.074)\ \text{ and }\ \aleph_c=[\varnothing]. and \Xi_c=(0.136,\ 0.307,\ 0^+\ ...
6
votes
2answers
282 views

How can I format `^' better?

I met a format problem: when I use `$\hat{}$' to present ‘^’, I found that the output format is very crowded. I mean the three character " ‘ ", " ^ ", and " ’ " are printed in an excessively ...
3
votes
1answer
43 views

Redefining proof environment

How can I change the \begin{proof} environment so that the word Proof which is displayed in my document isn't italic? I tried changing \proofname, but that only changes the displayed text, not the ...
0
votes
1answer
63 views

Paragraph not indenting properly

Paragraph not indenting properly. Here is the code I'm using \documentclass[a4paper,10pt]{article} %----------------------------------------------------------- \usepackage{geometry} ...
89
votes
7answers
12k views

Prettiest way to typeset “C++” (cplusplus)?

Writing "C++" in plain text results in an ugly setting, as the '+' signs are too big and too spaced: I've seen around the web several marcos for typesetting the "C++" symbol, ranging from mild ...
1
vote
1answer
33 views

Lipics has no chapter numbers

I'm trying to modify the lipicsmaster document class in order to make the chapter number available: as you could see in lipics-sample-frontmatter.tex, the Preface chapter has no number. How could I ...
1
vote
0answers
19 views

Multiline in math mode [duplicate]

Can anyone please help me to write this in math mode? I need command for the line
1
vote
1answer
62 views

How to set title graphic on top of the title page for beamer

I want to set the name of university and its logo on top of title page (above the all titles). But positioning by using \vspace \titlegraphic{\includegraphics[width=2cm]{GerbKievUniversity}\hspace* ...
1
vote
1answer
13 views

Footnotes appearing with references in revtex4.1

I am using revtex4-1, but footnotes comes with references. How footnotes can be arranged below text instead of references?
1
vote
0answers
36 views

Lstlisting caption: Number style [closed]

When adding a listing to my document, the caption style differs from figures or tables. E.g.: \begin{lstlisting}[language=C,captionpos=b,caption=This is foo,label=src:foo] ... \end{lstlisting} ...
1
vote
2answers
112 views

Stating linear program

i want to formulate a linear program. But all i found is not what i am looking for. It should look similar to this picture: The main difference is that i want on right sight automatic numbering ...
4
votes
2answers
109 views

Creating a formatted table from a list of words

I am working on putting together a grammar book which has a lot of bilingual examples, and simultaneously trying to learn the memoir class. The book will have many tables which look like the ...
8
votes
2answers
130 views

How to align a dashrule?

I've been playing around with the dashrule package. But easy as it's shown in the manual, I don't get a proper alignment or width from the dashlines. \documentclass{article} \usepackage{dashrule} ...
0
votes
1answer
59 views

Changing Equation Number Format [duplicate]

I am new to LaTex and I need some help with equation numbering format when I use the cmd of begin{equation} it gives me equation number as (2.1) how can I change it so it gives me equation as (1) (2) ...
10
votes
1answer
388 views

Is there a package for automatically managing table headers and formatting?

Is there a package for automatically managing table headers and formatting? For example I don't want to have to manually embolden every header entry individually, not to mention the extra clutter ...
3
votes
1answer
53 views

Avoid chapter in new page

Hello i would like to prevent the new chapter begins in a new page, i am using memoir class and here is the MWE: \documentclass[french,12pt,openany,oneside,openright]{memoir} ...
3
votes
1answer
96 views

Adding a circle to a section title

I want a circle around a roman numeral inside a section title. A command \circled is made from: \documentclass[11pt,a4paper]{article} \usepackage{tikz} ... %Circle around characters ...
0
votes
0answers
11 views

Small caps with \textsc in subsections [duplicate]

The code \subsection{\textsc{Should be in small caps} $\cdot$ Normal tekst} \textsc{This text is in small caps} gives the output The \textsc command works fine in normal text but not in a ...
2
votes
1answer
37 views

Formatting in glossaries is weird on same pages (but ok on others for some reason)

I'm currently having a weird glossaries-Behaviour using the super3col-style where the text goes too far to the right in my .tex document. The Text goes into the right margin (click on images for ...
8
votes
3answers
128 views

long explanation in align environment; would like to split over two lines

I have an align environment as follows: \documentclass{article} \usepackage{amsmath} \newcommand\compose{\circ} \newcommand\bd{\mathbf{d}} \begin{document} \begin{align*} \sum_i [\int_M (\phi_i ...
0
votes
2answers
80 views

Typing latex efficiently/intelligently

I have long wondered why there is no piece of software that typesets ASCII math -like people used to write before tex. In my view tex is great but $ signs for instance should really be facultative. ...
3
votes
3answers
111 views

How to easily write conditional pages? [closed]

Is there any easy way to make latex write only some of the pages? My current idea is to make a function using the ifthen-package in the following way: \newcommand{\WhatDoYouWantToWrite}[1]{ ...
3
votes
1answer
29 views

Decouple nomencl from chapter class, to have its own formatting

I'm using the nomencl package to keep track of my abbreviations in my \documentclass{report}, where I am using xelatex to change the font. However, since I've made changes to the way \chapter{} is ...
1
vote
2answers
84 views

How to italicise a number in a math environment?

When typing 'variable0' in a math mode, only the letters are italicised. How can I force the 0 to be italicised as well?
2
votes
2answers
61 views

Writing additional \section commands

My company has a Word document with lots of styles based on the basic headings. I need to create LaTeX equivalents and am struggling with how to do so because I need to do more than just redefine ...
0
votes
0answers
11 views

Conditional formatting of tables [duplicate]

I would like to format a row like shown in the screenshot taken from excel: The cells are color shaded based on how big a fraction of the column is represented by the cell. Is there an easy way to ...
1
vote
1answer
40 views

Section title ruler on right side center-aligned

I want do exactly this: http://www.latex-community.org/forum/viewtopic.php?f=44&p=42626 But as a general command for all subsection titles. I have the feeling that I am going to use the ...
2
votes
1answer
81 views

When to use Roman and Italic Font in Math

I am wondering when to use roman or italic font in math mode. I found that variables should be italicized and functions like max should be put in roman. I found some sites on the topic, e.g. this or ...
0
votes
1answer
24 views

Table columns out of sync in tabularx

I asked a very similar question yesterday that I thought I would be able to abstract into this problem but I can't. Here's an image of the table : Here's the code : \documentclass{article} ...