{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

2
votes
2answers
188 views

How to remove the chapter number from section number? [duplicate]

I use Roman for Chapter numbers, and I don't want sections to be numbered as VIII.2 (while I still want sections to be numbered within chapters). How do I do that? i.e. instead of VIII.2 sections ...
0
votes
1answer
923 views

Setting single row height with multirow

I have a table in LyX document. And I'm using multirow to span text across multiple rows. For example I might want the text to span across 2 rows, the problem occurs when it doesn't fit, then it just ...
1
vote
1answer
235 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
2answers
114 views

Making text in {braces} of an \item appear bold

Is it possible to redefine \item to have the text in braces appear bold? \documentclass{article} \begin{document} \begin{itemize} \item{Paper}: a white substance used for writing symbols. ...
5
votes
1answer
550 views

How to apply formatting (sans-serif, color etc.) to multiple paragraphs?

Some LaTeX formatting commands like \textcolor{red}{...}, \sout{...} or \textsf{...} work fine when the thing inside is a single paragraph but fail to compile if you put a paragraph break in the ...
3
votes
1answer
466 views

Changing formatting of URL in biblatex \footcite

I've switched from bibtex to biblatex due to having to use \footcite based on university's requirements for writing a report. It may be worth noting that I'm also very new to (La)TeX. I'm only having ...
6
votes
2answers
884 views

Modify default memoir chapter style

I'm using memoir and using its default chapter style. what I'm looking to do is to change the format from chapter 1 chapter title to something like this: chapter 1: chapter title I'm ...
7
votes
1answer
235 views

Customising theorem style

I wish to customise my theorem style to something like the one shown, but I couldn,t figure a universal definition of parameters. Some suggestions? The code: \documentclass{article} ...
1
vote
2answers
259 views

Glossaries in List of Figures overflow

Given a figure with a caption, in this caption a glossary term in used as in \gls{wysiwyg} At the document beginning, after the contents, the \listoffigures command is given. As the caption ...
0
votes
2answers
141 views

How do I make frame environment play nice with \textbf?

I am getting a strange error message when I put textbf into a frame environment. Minimal Example \documentclass{article} \listfiles \begin{document} \begin{frame} \textbf{Lemma 1} \end{frame} ...
1
vote
1answer
187 views

How to use listings with multiple languages?

I've got a HTML document with JavaScript inside that I want to show in my article. For that I would like to use my JavaScript and HTML formatting. How can I get the listings package to use two ...
1
vote
1answer
379 views

Change the chapter font in TOC without using “tocloft” package

As using tocloft in book class produces some unexpected side-effect, I wonder how to change the chapter font (e.g. 1 Introduction) as sans serif without using any other packages? For example, change ...
3
votes
2answers
289 views

How to set the title of a book in the References in an upright font shape

I am trying to set the book title style to plain in namedplus.bst but don't seem to be able to. Currently this is what I have FUNCTION {format.btitle} { title emphasize } and replacing it with the ...
6
votes
1answer
125 views

coordinate number format \ang{}

In a table, I am listing several coordinates. I want to use a number format such as this W 95°13'14'' W 95°03'00'' ... I am using the \ang{} environment of the siunitx package. ...
8
votes
1answer
241 views

How to change the style of menukeys

Maybe I am just stupid, but I don't manage to change the style of the output of menukeys. The manual of this package lists in Section 4.2.1 some predefined styles. However, I can't find any hint of ...
1
vote
1answer
139 views

How do I hide “Chapter 0” in this custom style when using a numberless chapter?

Everything works perfect when I use \chapter{chaptername}, but I noticed that my table of contents and other similar non-numbered chapters have a "Chapter 0" in my header. \titleformat{\chapter} ...
3
votes
1answer
137 views

How can I fix the formatting of my axis using pgfplots so the axis titles aren't on top of the numbers?

How can I offset my ylabel so it doesn't smudge with the numbers? code \begin{figure}[H] \centering \begin{tikzpicture} \begin{axis}[ scale=1.8, xmin=-15,xmax=15,xlabel={Current $mA$}, ...
6
votes
2answers
380 views

Authors with multiple footnotes

Say I have an article. Under the title goes the name of three authors. The first author belongs to two organisations. The second belongs to one of the two from the first. And the last author belongs ...
4
votes
1answer
264 views

How to \label emails in appendix?

I would like to include ~20 emails in the appendix section of an article, so I in the article can e.g. write "...according to \ref{email1}". If I put each email in a subsection, then I have to find a ...
6
votes
1answer
411 views

How to format subsection title (without packages)?

I'd like to change the format for \subsection{} without using special packages. On report.cls we find its definition \newcommand\subsection{\@startsection{subsection}{2}{\z@}% ...
10
votes
1answer
209 views

How to create Windows-8-styled menus?

I'm writing a technical documentation and I want to explain step-by-step how to go through various menus. For example I used to write Open with > VLC media player. That's how it looks in Windows ...
5
votes
2answers
493 views

How to show carries in long addition?

I am doing binary addition in LaTeX, and I cannot figure out how to show carried numbers above my work. (That is, 1 + 1 = 0 with carry 1, etc.) Here is a minimal example of my addition without ...
0
votes
1answer
190 views

change location and size of title page logo

I have a title thesis with a logo: but i would like to get the logo (size 990x369) a little higher and bigger than current result (if I change the size of image it goes down...), also how can I ...
2
votes
3answers
121 views

format two tables inside a figure

I have a figure that contains two tables, I would like to give format to them. What would be the best option? {\footnotesize\begin{figure} [h!tb] \centering \begin{tabular} {l } \hline ...
2
votes
1answer
366 views

Turn off Hyphenation Without Text Running Into the Margins

I am rewriting (and updating) my resume in LaTeX. I was dismayed because LaTeX automatically hyphenates words that need to go onto a new line when a line is too long. I found a way to turn off ...
1
vote
0answers
170 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 ...
4
votes
2answers
105 views

How to build two lines aligned maps

I would like to write a map between two objects, with a map below which specify where any single object is sent. To be more precise. I want to write $A \rightarrow B$, and right below it $\alpha ...
7
votes
2answers
313 views

How can I use line numbers with leading zeros?

I use the listings package for source-code and have read all documentation. However, it appears that leading zeros for line numbers are not implemented as standard option yet. How can I redefine the ...
10
votes
1answer
148 views

Different styles for the same document

Suppose I am writing a paper, which I plan to submit to a journal/conference, but also put on a preprint server like the arXiv. Each publisher has its own style files required for typesetting the ...
1
vote
1answer
441 views

printglossary makes abbreviations ending with periods

I use the glossaries package for my glossary and some acronyms: \usepackage{datatool} \usepackage[ngerman]{translator} \usepackage[nonumberlist,acronym,toc,section]{glossaries} \makeglossaries ... ...
3
votes
1answer
888 views

New line after subsubsection with llncs class

I get a new line after each chapter, section, and subsection, but not after anything lower than subsection, e.g. subsubsection or paragraph. MWE: \documentclass[runningheads]{llncs} ...
5
votes
2answers
132 views

How to get a picture with text to the right of it

what I want is to have a quote like this: I returned and saw under the sun, that the race is not to the swift, nor the battle to the strong, neither yet bread to the wise, nor yet riches to men of ...
3
votes
1answer
313 views

Can \bibitem and BibTeX give the same output?

I am adding a slide to a beamer presentation containing some references and, since I only have three references, I was thinking about not creating an external .bib file this time. However I realized ...
2
votes
2answers
135 views

Beamer: remove the title highlight

I use the PaloAlto theme and the title of the title slide appears highlighted. Is it possible to remove the highlight and modify the title font?
3
votes
1answer
104 views

How to include a tex file with own formatting options

I have two tex files, tex1 and tex2. I want to include tex1 into tex2. I know \include and \input but those won't allow to include tex files with own formatting. tex1 has a header for example but tex2 ...
3
votes
2answers
774 views

Bibliography with biblatex: how to achieve bold labels using the authoryear-style?

I am currently writing my thesis with LaTeX using biblatex for citations and bibliography. I try to match a formal request regarding the first part of the bibliographic entries which have to look like ...
5
votes
1answer
157 views

thmtools - issue with head number style

I'm using thmtools to define a custom example environment. I'm styling the head as italic, but the number is not being styled correctly: it appears in normal mode instead of italic (the dot after the ...
3
votes
1answer
129 views

Display short title and long title (both) in a caption?

The syntax for a caption is \caption[listoffigures/tables text]{Text actually displayed under picture/table} But what I would like to have is something like this: If I use the above command, the ...
0
votes
1answer
156 views

Change chapter heading format [duplicate]

Possible Duplicate: Chapter formatting Could someone help me with this problem with my document? Instead of generating the following: % % % % Chapter 2 Title % % % % I would like the ...
3
votes
1answer
103 views

How to create a table format of 81 columns which can fit into one page?

I want to create a table of 81 columns in landscaped mode, tiny font is ok. I changed the \documentclass to landscape, however the font was still too big to fit in. Any suggestion or idea would be ...
1
vote
0answers
102 views

Appendices formatting/ Text displayed by reference [closed]

I want to obtain toc and text formatting as shown in MWE. \documentclass[12pt,a4paper]{article} \usepackage[a4paper]{geometry} \usepackage{polyglossia} \setdefaultlanguage{polish} ...
4
votes
1answer
244 views

Set same height for all cells in longtable

I have created longtable with some text and I want set same height for all cells. It looks like: \documentclass[11pt]{article} \usepackage{longtable} \begin{document} ...
0
votes
0answers
104 views

Underscore character (_) that's part of a word [duplicate]

Possible Duplicate: Escape character in LaTeX Underscore in words I want to write a name like LKU_IF which contains an underline. When I write it in Latex it doesn't show the result ...
3
votes
1answer
179 views

Poorly formatted newlistof with memoir

I am having trouble adding a newlistof to a memoir file. My example follows the memoir answer example very closely, but I get an ugly "List of Comments" -- spacing across the page and returns are ...
2
votes
1answer
66 views

Removing the italicized parts from an APA bibliography

This journal guidelines requires that References should follow the APA style, but without any use of italic type In the apa6 package some parts of the references are italicized. I'm ...
3
votes
1answer
142 views

How can I temporarily change title of contents of subsection formatting using titletoc

I have a common document type (grant application) which expects listed aims, usually enumerated as Aim 1, Aim 2, etc. In the MWE below, an article class works fine to format the subsection headings ...
3
votes
1answer
741 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 ...
5
votes
1answer
452 views

Formatting page number (fancyhdr?)

Could anyone please show me how to get this page number formatting:
1
vote
0answers
83 views

How should I add visual indications of excerpted sections? [duplicate]

Possible Duplicate: Putting a bar in the margin How to make continuous (but breakable) vertical rule along left side of paragraph? I'm planning on including large excerpts of publications ...
16
votes
3answers
626 views

Conflict between microtype, LuaLaTeX, and otf fonts when typesetting material in small-caps

I'm using the microtype package (microtype beta 2.5 build 08) to modify my document and I'd like to retain its functionality across all font shapes with the exception of small-caps (\scshape). How do ...