{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

5
votes
3answers
108 views

formating pgp - insert a space every four

I am an occasional latex user (means that I never used it to the point of writing a big professional text with, but wrote a few pieces for personal use) and want to create some visting cards, basic ...
2
votes
0answers
24 views

Small adjustments in formatting to make my work fit on an integer number of pages

Suppose I am doing some work which does not have very tight formatting restrictions. My work goes a little bit over 2 pages, but, if I change the margins from 1 inch to .97 inches, the work fits on 2 ...
4
votes
1answer
44 views

Writing neat equation parameter definitions with \singlespacing vs \doublespacing text

This question is based off the answer for the How to write a perfect equation parameters description? question: I would like to have the parameters defined using \singlespacing as I am currently ...
4
votes
2answers
122 views

ragged-right text and preserve paragraph indentation

I want to justify my text to left without losing the paragraph indentation. I tried ragged and flushleft, although both justify the text and the next paragraph. So I am losing intendation. I do not ...
5
votes
1answer
41 views

Bullet points and curly braces

I am trying to create a bit of text, where I have four bullet points, the latter three of which have a curly brace on the right } , and a line of text adjacent to the curly brace. So far, I have ...
1
vote
2answers
83 views

How to draw this picture in Context?

I want to typeset a figure that expresses how some quantity consists of other quantities, and graphically depict that in a table like form. I have currently done this using a simple table format, and ...
3
votes
1answer
31 views

How to add multiple affiliations in the tikzposter class?

I've been working through the tikzposter class documentation, but so far I couldn't find any hint as to how add affiliation to multiple authors. For example: Something like this isn't really working: ...
0
votes
1answer
34 views

Writing equations with neatly defined parameters [duplicate]

I have been dealing with a multitude of equations in my thesis and it gets really repetitive defining each parameter verbally after each equation; personally I find it inefficient and at times messy. ...
4
votes
2answers
52 views

change delimiter (slash) size in math mode

I use the division sign, together with an underscore and smash: $\underline{\smash{X/P}}$ The result is the following: How can I reduce the lower part of the slash, so it does not suppress the ...
3
votes
1answer
29 views

Equation Line with notes in between

Good day! How can I make an aligned equal sign even though I have notes in between the two equation lines? For example: a+b=c (some notes....) c+d=c+(a+b) Thanks
1
vote
1answer
37 views

Formatting columns with multicols and lstlisting

I want to get the code displayed in the picture below to come after the title I have for it. I know I have previously asked this question but it was detailing with enumerated items. Can I get some ...
3
votes
2answers
64 views

Formatting pbox in table for neat distribution of text

For the purpose of a paper I am writing I have some very big tables. I couldn't fit the numbers inside the boxes so I used pbox. The problem is that now the numbers within the box aren't distributed ...
0
votes
0answers
23 views

How to input multiple files with specific preambles?

I am finishing my thesis and I need to include all of these minor, standalone project into one pice. However, I have trouble how to bite this problem. I found many "how-to-input-files" questions but ...
0
votes
1answer
89 views

Using Easylist and leaving one entry bullet blank

So I have a checklist using the checkboxes. I want to make occasional ones not have the check box because there are several indented checkboxes I want to choose from. I see Choosing the bullet of a ...
1
vote
0answers
10 views

htlatex adding _ after - in URLs

I'm using htlatex on Fedora 21, texlive-tex4ht-svn33024.0-1.1 I noticed that whenever a URL has a hyphen within it, in the HTML output it's formatted with an underscore symbol following -. For ...
3
votes
3answers
28 views

Title Centering and \newpage command inside \newcommand

I wanted to create a puzzle book with 3 parts, Problems, Hints and Solutions. Both LaTeX-Community and TeX.SX have helped me in figuring that out. I want to do two things: To centre the Part ...
4
votes
2answers
65 views

Dividing a page into independent parts/columns with different widths

I want to divide my page (A4 landscape) into different parts. The top should consist of four columns with different widths and no rule. For this I used vwcol but I could not figure out how to do a ...
0
votes
1answer
40 views

list all 3 to 5 author names in the first in-text citation using apacite

I use \usepackage{apacite} in the preamble (sublime 2 editor) and \bibliographystyle{apacite}. I did not have to manually install the apacite package. For in-text citations of 3 to 5 authors, I need ...
2
votes
1answer
100 views

print the chapter number as name in class file latex

I am using a Duke University LaTeX template for master thesis, the template print chapter headers as follows: Chapter 1 chapter name but I want to print it as follows Chapter one: ...
2
votes
1answer
39 views

Help formatting really long equations

I have some really long differential equations and I'm having trouble figuring out how to format them the way I want. I want them to look liek this: dx/dt = blah blah blah blah dx/dt = blah ...
5
votes
1answer
99 views

How to put four lists on a page, each taking one quarter of the page?

I am trying to add a SWOT analysis to my document and would like to have it set out in a 2x2 grid, where each grid space takes up 1/4 of the page regardless of the content. Is this possible with ...
3
votes
2answers
110 views

Coloured swatch per chapter

I know that this should be possible, but I'm not sure how to go about it. I would like to have a small rectangle appear on each page (outside edge), which runs right up to the edge of the page, and ...
0
votes
0answers
28 views

Font style and chapter style

I would like how to mimic the chapter and font style used in the following document: I would be very pleased if you help me broadly.
2
votes
1answer
94 views

Broken automatic line breaking in section titles when ulem and hyperref are used

I am trying to use the ulem package to underline section titles while still being able to have automatic line breaking: \documentclass{scrartcl} \usepackage[normalem]{ulem} \begin{document} ...
5
votes
2answers
119 views

Chapter and Section format

I want my chapter titles to look as they would with the code below. \documentclass[12pt]{book} \pagestyle{plain} \usepackage{amssymb,latexsym} \usepackage{amsmath} \usepackage{amsthm} ...
0
votes
0answers
23 views

\pause in KOMA-script scrartcl

Is there any way that I can use the command \pause in KOMA-script presentation? The \coverand \uncover commands seem to unfunctional as well. This is the template I use: ...
2
votes
1answer
59 views

Suggestions for nested proofs

I would like to write down my lecture notes. The proofs of the theorems in this lecture are usually really big. It usually looks like this: Theorem 1: Here comes the statement of the Theorem ...
3
votes
1answer
54 views

Vertical strikethrough

I'm currently trying to TeX up a Sieve of Eratosthenes example on the integers 2-100. I'm already using the ulem and cancel packages to give me horizontal and diagonal strikethroughs but I need a ...
14
votes
3answers
4k views

Fanciest way to include Mathematica code in LaTeX

I am trying to include a Mathematica code in LaTeX. To obtain the Mathematica code I just exported notebook as PDF. I didn't like the way it was included in my TEX code so I just thought of adding a ...
2
votes
2answers
70 views

How to remove period after part number in TOC (KOMA used)

How to remove period after part number in TOC (KOMA used)? My solution was to set tocloft package, which is provide command \cftpartaftersnum but I do not want to use it for some compatibility ...
4
votes
3answers
246 views

How to round number to two digits after the decimal place and have a comma separator?

I have the following function: % Formats inputed number with 2 digits after the decimal place \newcommand*{\formatNumber}[1]{\FPround{\cost}{#1}{2}\cost} % \cost goes through some calculations ...
21
votes
3answers
900 views

Automatic bold for every first character of a line

It's possible to do this Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis ...
3
votes
1answer
80 views

How can I make text inside set notation look like normal text?

I'm very new to LaTeX, and have never been very good with computers, so apologies for not knowing how to post questions on here properly or missing out anything important. I have this: ...
4
votes
1answer
42 views

How to indent bibliography items using a bibtex bibliography?

I have seen an excellent answer for adding an indent to the bibliography here Indent second line of a bibliography and wish to replicate that for my example using bibtex rather than putting the ...
0
votes
0answers
20 views

Remove square brackets from bibliography list [duplicate]

I have seen that BibLaTeX bibliography without square brackets provides an answer to how to remove square brackets in this example. However, I do not know from that answer where those adjustments can ...
3
votes
0answers
74 views

Changing top margin for second page only? \vspace inserts extra whitespace

I am trying to format a LaTex template for pandoc output from .md to pdf. The document is for lengthy university papers requiring very specific layout. The majority of the paper has 1 in margins all ...
2
votes
1answer
55 views

The RTL beamer Warsaw theme

I have asked a question in RTL tableofcontents) in arabic (or polyglossia package) beamer and gotten my answer well by Seloumi. After thank him, I have another question. How I can change position ...
5
votes
1answer
95 views

Format Name of Video codecs

I'm currently writing my Masterthesis for a german University. I used a few different codecs in my work (like H.264). What is the correct/sensible way to write them in my Latex Document? Examples of ...
2
votes
1answer
49 views

Arrows to text above and below line

I have been searching for an answer for some time but have not come across a solution. I am taking some notes from a programming course and need to take a line of code and identify each individual ...
6
votes
2answers
753 views

Listings language definition keyword suffixes

I'm trying to create a listings language definition for ARM assembly and many of the instructions have prefixes/suffixes (i.e. BGT, BLE, BNE, BEQ branch instructions). Is there a way to define B with ...
0
votes
0answers
27 views

included pdf files, shift to the left [duplicate]

I'm totally new and hope that this isn't a stupid question... Anyway I downloaded this template and used it to write my thesis but at the end I wanted to add some pdf files as annexes. So in my annex ...
2
votes
1answer
72 views

How to change the color of header?

I downloaded a Radboud University Beamer (version 1) and try to change the color of left part of header from black to blue. i.e., How to change the black to another color as shown in the following ...
7
votes
1answer
97 views

Why are default LaTeX TOP and BOTTOM margins so big?

In the question Why are default LaTeX margins so big?, it is explained very well why the side margins have the large size they have (compared to most Word processors): The smaller line width provides ...
0
votes
2answers
240 views

How to include tex files

Is there any way that I can add different .tex files (From different folders) into another folder's .tex file? I meant that all of the .tex files will be fine and separated and I just need to ...
2
votes
1answer
64 views

Requesting a symbol, please assist

I hope it's not out of the line to ask for a symbol like this, but I've been looking for a very simple symbol that I just can't find anywhere! I want it to be like ⊣ but instead of the | at ...
1
vote
1answer
71 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 ...
2
votes
1answer
34 views

Verses not ragged right

When I use the verse package, a single verse will not be ragged right if it is broken at the end of the line. How do I change it to being ragged right? \documentclass[twocolumn]{scrartcl} ...
3
votes
1answer
32 views

Theoremstyle : adding dots

I need an extra dot in the format of \theoremstyle, for example; 2.1.3. Theorem 2.1. Lemma I use : \documentclass{article} \usepackage{amsthm} \swapnumbers \newlength{\spacelength} ...
7
votes
2answers
245 views

Is there a way to create elements that looks like tags?

How can I style some element that looks like stackoverflow tags?
2
votes
2answers
41 views

Theoremstyle; leaving vertical space between the theorem header and the body of the theorem

I'm trying to write a thesis. There, they want a completely blank line after theorem, lemma, proposition, etc.. name. How can I leave such a vertical space between Theorem Head and the body of the ...