{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

0
votes
0answers
29 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: ...
0
votes
0answers
22 views

Splitting commands over multiple lines

We have a command used to typeset things in a specific font and colour. Sometimes, what is given to this command is large and it needs to be split into multiple lines within the same align or ...
1
vote
0answers
18 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".
1
vote
1answer
26 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: ...
2
votes
1answer
118 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 ...
0
votes
1answer
22 views

Extra }, or forgotten $ \thispagestyle [closed]

I'm writing a protocol and everything was going fine until I did something (I guess) and I started getting these 4 errors \molspek.tex:101 Missing $ inserted \thispagestyle \molspek.tex:101 Extra }, ...
0
votes
0answers
38 views

Tweaking even/odd format and header format in a CUED Thesis Template

I have prepared my PhD thesis in the LaTeX template of Cambridge University, available here. (I'm using an older version 1.1, which can be accessed here.) Now, I am experiencing two major problems ...
2
votes
1answer
34 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 ...
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 ...
2
votes
1answer
38 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^+\ ...
3
votes
1answer
38 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 ...
6
votes
2answers
273 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 ...
0
votes
1answer
53 views

Paragraph not indenting properly

Paragraph not indenting properly. Here is the code I'm using \documentclass[a4paper,10pt]{article} %----------------------------------------------------------- \usepackage{geometry} ...
1
vote
0answers
17 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
26 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
1answer
34 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
11 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
25 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} ...
0
votes
1answer
43 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) ...
8
votes
2answers
111 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} ...
3
votes
1answer
91 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 ...
3
votes
1answer
46 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} ...
2
votes
1answer
32 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 ...
7
votes
3answers
117 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
79 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. ...
4
votes
2answers
104 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 ...
3
votes
1answer
25 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
82 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
51 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
32 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 ...
1
vote
1answer
57 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
16 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} ...
3
votes
2answers
32 views

Table cells are out of line / sync with each other, itemize

I'm trying to have a tabular section that has bullet points next to it. There might be a better way to go about this, but currently it seems as though the cells are out of sync (though this might be ...
1
vote
0answers
40 views

How do I place table below plot so that category matches axis ranges?

Here is something that I'm trying to do is to align my table with x-axis category or range so that column below the x range is corresponding of the data So As example is shown, I want to create ...
0
votes
2answers
54 views

remove all empty pages

I want to remove all empty pages in my book. I tried \documentclass[openany]{book} , but page numbers changed and new chapters sometimes begins from an even numbered page. What I want is ...
0
votes
0answers
43 views

\usepackage{indentfirst} creates the words “indentfirst” before my paragraph

Basically what my title says. whenever I use \usepackage{indentfirst}, the words indent first appears on the pdf that I preview on. How do I remove this?
3
votes
2answers
70 views

biblatex-biber: How to customize the order in the bibliography?

I am having difficulties with setting up the layout of my bibliography. I would like to have a numeric style which does a none sorting so its order is as it appears in the text. Plus I would like my ...
0
votes
0answers
16 views

header in phd thesis is showing wrongly on the top of another chapter in alternate pages

I am writing phd thesis, I want an additional chapter before my first chapter which should be counted as zero. The following is the code where general introduction is my chapter 0 ...
16
votes
5answers
391 views

Highlight every occurrence of a list of words?

In order to revise a draft, and identify related sections, I would like to identify similar words (by color of text, highlight, underline, or otherwise) according to topic. For example, I would like ...
2
votes
1answer
48 views

Math Formula is too long exceeds column width

I have a formula below which is expected to be in an column. After compiled, it is too long and covers two column. How can I constrain it into only one column width? Thanks \begin{equation} f'(u,v) ...
5
votes
0answers
72 views

Separate content from formatting - i.e., “just type”

What exactly does "separate content from formatting (style)" mean? And if it's "necessary", how do I do it practically? After reading many LaTeX documents and TeX Stack Exchange, I keep seeing ...
0
votes
1answer
26 views

Center part title in Lyx

How can I, in tex code or directly in the Lyx GUI, put the part title in the center. e.g. instead of this: Part I Introduction and Background theory this: Part I Introduction ...
3
votes
2answers
36 views

How to remove the unwanted vertical space?

I'm using Exam class to create solutions, but the flaign* environment does not align my equation with the \part. How do I make them align? \documentclass[a4paper, twoside, 12pt]{exam} ...
0
votes
1answer
41 views

Border of table does not fit together

In my latex file I want to create a table. My current code looks like the following: \begin{table}[htbp] \centering \begin{tabularx}{\linewidth}{|l|X|} \hline \multicolumn{1}{c}{{\bf \ul Type of ...
2
votes
1answer
37 views

Biblatex conditional punctuation depending on field value

I am using the style authoryear in Biblatex and I currently have a comma after the journal name as follows \DeclareFieldFormat{journaltitle}{#1, } The output I obtain is for example, Journal of ...
2
votes
3answers
64 views

Format: Center 2 lines

I would like to center two centered lines between them. Namely, I would like to center two bullet points and write to their right and to their left. Hope following image helps: Any help is highly ...
2
votes
1answer
39 views

How to make the author field bold, including the conjunction “and” in Biblatex? [duplicate]

I am using style = authoryear in Biblatex and I want to make all author names, including the conjunction "and" in bold. I have used the following commands ...