{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

6
votes
2answers
65 views

Arrange multiple TikZ pictures

Can anybody tell me how to arrange 5 TikZ pictures like this? I am very sorry, but I have no idea how to. I uploaded the Codes and the png file here
2
votes
1answer
34 views

Theorem style with line break and different brackets for title

I want to define a theorem style with a line break and different symbols for the theorem title (no brackets () ). As shown in this example: \documentclass[10pt,a4paper]{article} ...
3
votes
1answer
53 views

Add a fitted box to a multiline equation

I am trying to draw a fitted box around some equations. However, I was not able to control the width of the box. How can I achieve this? \documentclass{beamer} \usepackage{amssymb,amsmath,empheq} ...
4
votes
1answer
21 views

ExPex gloss formating

I'm using the expex packages for my glossing exemples and it's working great but: I want my \gla exemple to be in typewriter format (\tt). And then I want to gloss only some parts of my exemple (the ...
5
votes
1answer
112 views

Index (printindex) in appendix has different format than other chapters

I have a complex file based on documentclass scrbook. It has many parts and the last part is the appendix. Instead of sections I use chapters in appendix. All glossaries and bibliography are defined ...
2
votes
2answers
46 views

chaptertitle name and chapter number in one line but diffrent edge of the page

This is what I want: Introduction <---all the way on the right edge of the page---> Chapter 1 But, the catch is that I have a 5cm width margin note space in a two sided document. I am working ...
1
vote
1answer
52 views

Footnote in LaTeX master document

How can create a footnote in the LaTeX master document which will appear on all pages of the pdf output?
0
votes
0answers
27 views

Define amount of space after \newline, \\, or \linebreak

How do I define the amount of vertical space there are after all new lines? I am looking for something that works like this: \define{x = 4} blah blah blah blah \\[x pt] blah blah \\[x pt] Where I ...
3
votes
2answers
94 views

Removing the trailing period when referencing a section number

I'm writing a prospectus and my college has given me the following class for formatting it. I'm new to Latex and I've seen the these examples already (one, two, and three) but I can't understand how ...
7
votes
2answers
305 views

Document class CD to create beautiful CD cover

Does somebody know a document class like cd to create cd covers where: a) I can add a logo to the CD cover text and b) the output is not a4 (or so) but the exact size to fit a CD cover. I tried ...
0
votes
0answers
58 views

I can't make a document larger than one page? [on hold]

I have a document that I have set up as follows: \documentclass[a4paper]{article} \begin{document} \title{Title} \author{Author} \date{Date} \maketitle Then I have a some sections/subsections and ...
1
vote
3answers
62 views

memoir: paragraph indent in marginpar

I use memoir and defined my own version of margin notes. I would like margin notes consisting of multiple paragraphs to have each paragraph except the first one to be indented. However, I can't figure ...
3
votes
3answers
207 views

Amplifying fractions

I want to make myself a math portofolio (as a quick reference) and I have a part where I have to 'amplify' a fraction like here: But I don't know how can I do this thing, can you help me? Thank ...
3
votes
1answer
22 views

Multicolumn lists, don't break item, don't vfill list

\begin{itemize} \setlength\itemsep{-0.5em} \begin{multicols}{2} \item[1] 12-ounces package fully cooked chicken sausage links, sliced \item[4] cloves garlic, thinly sliced \item[1] 19-ounces can ...
0
votes
1answer
233 views

How to create Double spacing single column in IEEEtrans template

I am using IEEEtrans template for writing an article. I have prepared the document which is double column single spacing IEEE format. However, as per journal guidelines I also need to upload the ...
1
vote
1answer
45 views

indentation as displayed in the editor

Each time I tab, the entire paragraph is indented right, in the Tex editor (TeXstudio), instead of just the start of the paragraph. How do I set the options of TeXstudio to not indent the whole ...
2
votes
2answers
22 views

Centering content in tables

Hi guys I am new to LaTeX, I have a very large table with data in it which moves past the page. I have managed to fix it and adjust it according to the page but I lost the centering option for the ...
2
votes
2answers
37 views

Chaptermark not changing

Similar questions have been asked, but after reading them i still think the code below should lead to the beginning of a chapter being displayed as 1 Some Chapter rather than Chapter 1 Some ...
1
vote
1answer
31 views

Multi-row text comment in align environment

I am wondering what is the best way to make multi-row text comments in the align environment. Here is an example code: \begin{align*} \int \left( \frac{x+3}{2}\right) \, dx =& \int ...
25
votes
2answers
20k views

How to format an inline source code

I have a document where I quiet often refer to source code element, such as class names, I wanted to format these strings differently, but at the beginning I didn't want to fiddle with various options ...
1
vote
1answer
43 views

Putting more than one image in one appendix

I am writing my PhD thesis on Sharelatex after having uploaded the template provided by my university. Usually, I try to solve this sort of problems on my own, but this time I couldn't really figure ...
3
votes
1answer
15 views

No bold on the newtheorem in the latest ACM latex template

Recently I applied latest ACM proceeding template (available in ACM ACM SIG Proceedings Templates link "ACM LaTeX2e Style File VERSION 2.8 (May 2015 CLS)") with my papers. The generated pdf is OK but ...
2
votes
1answer
22 views

enotez package: how to format split section headings?

This is a follow-up to: Two-column endnotes with one-column header Clemens' answer is exactly what I needed. But there is another wish: Given the chapter ttles are ragged right in the main text, but ...
2
votes
1answer
63 views

Section Titles in Margin Notes

I am struggling to reproduce the following layout in Latex. I have tried using the package marginnote, and playing around with geometry and fancyhdr. I end up going around and around in circles, ...
2
votes
1answer
34 views

Formatting issue with includegraphics [duplicate]

I'm new to LaTeX and currently trying to write myself a report template that I can use for future work. Anyway, here is a MWE showing the error: \documentclass[12pt,twoside,a4paper]{article} ...
6
votes
1answer
142 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 ...
25
votes
1answer
3k views

How to place a shaded box around a section label and name

In working with a publisher, I need to format section headings like this (using ASCII art): +-----+-------------------------------------+ | 1.2 | Section name | ...
8
votes
1answer
363 views

Display beamer headline in frames conditional on section and subsection environments

Objective I'm trying to create a beamer presentation (in LyX) where frames conditionally display a headline containing section and subsection navigation depending on (a) whether a frame is in a ...
1
vote
1answer
42 views

Formatting Chapter Headings

I am using documentclass book and generating short chapters (one or two pages each). The chapter headings use too much space. I want the title at the top of the page, not pushed down. I reduced ...
6
votes
1answer
63 views

Newline after Section number / before Section title in KOMA Script

i have to adhere to a style guide which dictates newline after a chapter/section/etc number, i.e. instead of the usual 1.2 Heading its supposed to be 1.2 Heading This has to work for both the ...
4
votes
1answer
221 views

converting documentclasses into environments: is it possible?

Rewritten question. For my phd-project i need to quote screenplays. I would like to keep the screenplay layout in my thesis. I know there is the document class called screenplay. Now i am wandering ...
10
votes
3answers
6k views

Better way to display long division?

I'm currently in the process of trying to create a worksheet for my students with long division problems for them to practice. Unfortunately, the best I've been able to come up with so far in terms of ...
2
votes
0answers
25 views

Changing the Font of Variables in an Equation Using XeLaTeX

I am trying to digitalize a book(130pages) by retyping it all(copy is in a really bad shape to be scanned). I am attempting to use Helvetica Neue as the main font for all numbers and variables on all ...
1
vote
2answers
91 views

How can I show a leading + sign in siunitx S column?

I'm using siunitx's S columntype to align numbers in a table. The numbers are percentage values which should all have a preceding sign (some - and some +). The numbers with a "-" are shown with a ...
2
votes
1answer
57 views

Setting beamer color in region between title bar and canvas

How does one control the color of the region between the title bar and the canvas in beamer? When the color of the background canvas is darkened there is a white bar between title and canvas. MWE ...
6
votes
1answer
2k views

How to change date format to German?

I use the \today comment, then it produces den 26th February. However I want den 26ten Februar. How can I change that?
12
votes
7answers
2k views

How do I get function argument parenthesis to position correctly?

I'm having trouble with the appearance of parentheses representing function arguments. They appear to far away from the function name. For example the code ...
3
votes
1answer
19 views

help with section/equation numbering in amsbook

I am having trouble numbering chapters, equations, and sections in a coherent way in the amsbook class. I would like sections to be numbered according to chapters, e.g. Chapter 1 Section 1.1 ...
4
votes
1answer
63 views

How to change the zeroes in tick labels

MWE \documentclass[border=2pt]{standalone} \usepackage{tikz} \usepackage{tikz-timing} \usetikztiminglibrary[dual arrows]{clockarrows} \makeatletter \newcommand*{\pmzerodot}{% \nfss@text{% ...
0
votes
0answers
15 views

Theorem and lemma and proposition numberings with the numbers first [duplicate]

If one considers the following MWE one sees that theorems and lemmas have their number as a suffix: \documentclass[fleqn]{scrartcl} \setkomafont{disposition}{\normalfont\bfseries} ...
2
votes
1answer
46 views

How to change left margin in a res based resume

I am interested in using this resume. How can I change the left margin of paragraphs in each section? For example, in the "JOB OBJECTIVE" section, I want "A summer..." to move a little to the left ...
3
votes
1answer
68 views

Adding a different colored line to each row of a table

It is possible to get colored \hlines with the example provided below. However, there are several issues with this implementation: It needs a \newcommand for every color, which then has to be used ...
5
votes
1answer
68 views

scrbook - Three extremely simple questions about adjustment and font-styling

I have some (probably) really simple questions about a few adjustments in a scrbook-documents. Let's take the following minimum-example as the basis for my questions. Working minimum-example: ...
-1
votes
0answers
102 views

How to create a CV as in the picture

Could anybody help me to create a CV as the picture? \ I have tried to do it but I haven't done
4
votes
1answer
38 views

Consistent Line Spacing

I find when I produce titles I get line spacing that depends on whether I have a hanging character ie qypg which dip below the usual base line vs wertuioasdfhklzxcvbnm which don't. This is ...
2
votes
1answer
44 views

Force the title to be single-spaced

My title takes up two lines. However, for some reason it gets double spaced. How can I force single-spacing in the title? Thank you!
3
votes
2answers
92 views

Formatting a thesis summary chapter

I'm trying to format my thesis summary title, but the result is not very appealing. Here's the code: \chapter*{\parbox{\linewidth}{\centering A very long thesis title about some very important stuff ...
3
votes
2answers
121 views

Explain formula using beamer

I am preparing a presentation on statistics. I want to include a slide on Bayes' Theorem which says: p(\theta | D) = \frac{p(D|\theta) p(\theta)} {p(D)} I want to explain each term using arrows. ...
3
votes
1answer
38 views

A command for table entry by columns

This question is in followup to this question; an excellent response there has allowed me to very easily make tables for examples in the grammar book I am working on which have one language on one ...
2
votes
1answer
63 views

Database style reports in LaTeX

I see plenty of questions around that demonstrate that csv files or database tables can be imported and formatted (based on templates and existing knowledge of the data structure) using LaTeX. My ...