{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
17 views

Resources to build a football player statistics and description page

I am relatively new to LaTeX, which I used few years ago for a scientific report. This time I would need to build a book on my favorite football players for fantasy football, including much more ...
1
vote
0answers
21 views

Formatting Mailing List archive

I have archived a mailing list, with multiple writers/speakers, asking and answering questions on a variety of subjects. I've been looking around for solutions, but none come close to what I'm ...
1
vote
0answers
35 views

Changing Citation Format bib latex (In collection, PhD Thesis)

I am a new LaTeX user. I work with TeXShop for Mac and BibDesk for citations (PhD Thesis). I use package biblatex. Following the package info I was able to adapt several details of the verbose style ...
0
votes
0answers
66 views

formatting problem with \textit and \textbf [closed]

I have a strange problem. I use \textit{some text} and \textbf{some text} regularly in a luaTeX environment. However, I have noticed today, when I use either of these two formatting codes, it doesn't ...
2
votes
1answer
34 views

How to remove the colon from cvitemwithcomment?

This is my code and it automatically puts a colon after the "Intern - Technology" bit, how do I override this and get rid of it? \cvitemwithcomment{\normalfont{HSBC, London,} \textbf{Intern - ...
1
vote
0answers
50 views

How to make a new page style?

I'm trying to do a page layout to the principle of the golden ratio, so I need to have total control over all things on the paper. Purple lines in the picture there are margins, green lines are the ...
0
votes
1answer
37 views

How can I provide page ranges in \cite?

I would like to add page numbers to my references. I have tried the following things: \cite[221\psqq]{knuth:ct:a} for page sequences \cite[221\psq]{knuth:ct:a} for only one page following 221 ...
1
vote
1answer
17 views

Multicol Help formatting

I am trying to create a notesheet for a class of mine. However, for the love of god I cannot force my text to go into the next column. I am using the multicol package; I've tried using \columnbreak ...
1
vote
1answer
46 views

Vertical space from the edge of the page

How make vertical space from the edge of the page or the top margin, eg. second paragraph lipsum \documentclass{article} \usepackage{lipsum} \begin{document} \lipsum[1] \vspace{100pt} %<-...
1
vote
0answers
25 views

Putting a full paper after the bibliography

In this conference, the submissions should be at most 10 pages long, but authors are allowed to include "a complete full version of the paper (reiterating the material in the 10-page abstract) to the ...
1
vote
1answer
29 views

Automatic line-breaks in a table

I need a short table that I have to add to my document. I'm afraid, LaTeX does not seem tp break the lines at the spaces. My table currently looks like that: \begin{table}[!ht] \centering \...
3
votes
1answer
48 views

Printing Latex generated pdf to a roll of labels

Wondering if anyone ever worked with (or tried to) printing to a ROLL of labels (ie. NOT discrete pieces of paper like A4). Is it just a matter of setting the length of the page really long? Or ...
2
votes
1answer
111 views

Which of “\langle” and “\left<” should I use in dirac braket and expectation value?

\langle is smaller and \left< is bigger. But which one should I use in dirac braket and expectation value? Is there a standard practice?
2
votes
1answer
22 views

Set format of the document as the format for the listing

I would like to set the text format of the document as the format for the listing. The words in the listing accross my tex document have a bigger space between the characters. I want them to the have ...
1
vote
1answer
18 views

All details for each reference appear in separate lines [duplicate]

I have used different bibliography styles (bibtex) but I keep on getting the output (attached) where each detail of a reference begins on a new line. Is there a way to have the references in running ...
2
votes
0answers
23 views

Align environment without newline [duplicate]

Is it possible to use the align environment while suppressing the auto \newline? I have a problem with the following command: \begin{lemma} \begin{align*} a+b &= c \\\ &=d \...
7
votes
3answers
135 views

KOMA-Script and sidenotes : how to format side (margin) caption and its caption label?

I am using the command \sidecaption from the sidenotes package with a KOMA-Script class. I'd like to format (shape, size, color) the text of the caption and its label. According to KOMA documentation ...
3
votes
2answers
36 views

How to wrap text and table with wrapfigure environment

I got a problem concerning the wrapfigure environment. I have worked with it before and managed to make it behave the way I want it. Currently im facing a problem which I boiled down to a minimum ...
3
votes
2answers
67 views

How can I recreate this code example given in this pdf? Vertical lines in verbatim?

I'm referring to the pdf linked here. Specifically, how can I recreate this part on the first page? I'm guessing it's using the verbatim environment somehow, but how can I get those vertical lines ...
2
votes
2answers
68 views

Section name appearing twice

Why the section name is showing twice? \documentclass[12pt]{report} \usepackage{enumitem} \usepackage{fancyhdr} \pagestyle{fancy} \renewcommand{\sectionmark}{} \renewcommand{\chaptermark}[1]{\...
1
vote
2answers
42 views

Making Bibliography as a Subsection in TOC, but chapter in document

I have seen a few related questions, but I cannot get the answer to work for my situation. Maybe it's because it is the memoir documentclass, maybe it's the bibliography manager (natbib is embedded in ...
2
votes
0answers
37 views

Formatting Code around Line Breaks

I am typing up a sentence which contains code, and \verb's ignorance of line breaks is annoying me. This code is very short, and it does not make sense to give it its own line, but I also do not think ...
3
votes
1answer
54 views

TikZ - Circled text number in superscript - Missing $

I'm using TikZ to create some circles with numbers as some sort of marker. But I want to use them as superscript. So to generate a circle I'm using this command (suggested here: Good way to make \...
0
votes
1answer
16 views

Keywords in Perl-POD breaking listing

I'm trying to include a perl-script with pod. It seems liks the listings-package does not detect the pod-documentation part as comment which breaks the rest of the listing. How to fix this behaviour? ...
1
vote
0answers
23 views

Theorems in italic, but not examples [duplicate]

Is there are way to make theorems, lemmas and definitions in italics, but not examples? E.g., Theorem: This is a theorem. Example: Here is an example. So far, I am using the plain theoremstyle, i.e....
1
vote
1answer
35 views

Why is there no page numbering?

Simply stated, I cannot figure out why this document has no page numbers. I do have the 'gobble' command at first, but I later switch to 'arabic'. Any thoughts? \documentclass[12pt]{book} \...
2
votes
1answer
22 views

steinmetz package comma problem

MWE \documentclass{article} \usepackage{steinmetz} \begin{document} $220\phase{0^{\circ}}$ $220\phase{0{,}5^{\circ}}$ $220\phase{0\phantom{{,}}\!\!^{\circ}}$ %<-- My solve \end{document} ...
0
votes
0answers
41 views

How to create multiple lines with tikz

This is my first time working with tikz. I wanted to draw the scheme in the figure. What I have from my code are the red parts and the green one as well. How should I proceed if I wanted to turn the ...
8
votes
3answers
215 views

“BigText” formating: how to adapt the fontsize to make all lines have the same width?

As in this question on stackoverflow, I want to replicate the so-called 'big text' formatting: Functioning: You give as input: the line (column) width for each line, and the content of each ...
5
votes
2answers
271 views

solving systems of linear equations on the same line

I want to make this look better. When I cancel out some of the variables it doesn't cancel out well. I don't want a line to go underneath where I have E1 + E2 and as well as the others. Some of my ...
6
votes
2answers
243 views

writing equations side by side

what I want to do is I want to solve my system on the same line. I've solve for x but I also want the part where I solve for y on the right side of the system that I just solved for. Is there a way to ...
1
vote
1answer
26 views

Formatting a \section* like a normal \section

I'm having trouble understanding how to format a \section* to make it look like a \section (without the section number, of course). Here is the code which the package I have to use uses for ...
2
votes
1answer
58 views

How to automatically adjust font size for listings, so it fits gives amount of textwidth?

For code listings, I often change the listings parameter basicstyle to adjust the font size so that listing fit within the container it is in. I mainly use a cell in a table to display small listing ...
1
vote
0answers
32 views

Getting matrices with line break in cell

I have a long matrix which is occupying two lines. How can I force a line break in the cell? I've seen it done here for tables: How to add two force line breaks in cell, but that solution doesn't help ...
0
votes
0answers
50 views

How to format long numbers correctly? [duplicate]

I'm writing my master thesis and I have some trouble formatting larger (longer) numbers. Let's say I have a number (in a mathematical equation or in text): 10456 Should I use 10'456 or 10,456 or 10....
9
votes
2answers
443 views

How can I make a “fake” subsection number?

I'm writing a LaTeX document which includes examples of how to structure another LaTeX document. However, I can't figure out a way to make it so that there's a subsection in the example that is a) not ...
1
vote
1answer
40 views

(II) How to render a large TexForm expression from Mathematica

As a follow-up to my question of two days ago How to render readable a large TeXForm expression from Mathematica I'd like to also similarly incorporate the following two expressions: 1. \frac{2 (\...
1
vote
1answer
24 views

Roman and arabic numbering with report

I am writing a thesis using the report class. I want to have up until the introduction in Roman numberals, This is fine and I got it to work using previous questions. However, I am having trouble ...
4
votes
1answer
21 views

Removing boldface from appendix chapters in TOC

How do I remove boldface from appendix chapter headings in the TOC? I would like the TOC to look like this: 1 First chapter   1.1 First section Appendices Appendix I First appendix ...
0
votes
0answers
16 views

Page filling set of numbers

I need a large list of 4-digit Numbers in my document. They should be displayed page filling and as compact as possible. My initial attempt was simply to put each one in a line, assign a small size ...
1
vote
4answers
74 views

Problems with variables within new command for boldface, coloring, and centering text

I am trying to type a new command that centers, boldfaces, and colors some text red. Here's what I have at the moment by tinkering and looking at some code I already had: \newcommand{\rub}{\large\...
0
votes
0answers
96 views

Is there a simplified option for latex?

I am currently using markdown to write down class notes for undergraduates. currently I get something like this However, due to the limitations of markdown, and some chronic inconsistencies in its ...
2
votes
1answer
47 views

How to render readable a large TeXForm expression from Mathematica

I am using \documentclass[preprint,showpacs,preprintnumbers,amsmath,amssymb]{revtex4} \usepackage{amsmath} \newcommand\numberthis{\addtocounter{equation}{1}\tag{\theequation}} I'd like to know how ...
1
vote
1answer
26 views

Customizing latexdiff default (UNDERLINE) output styling

I'm using latexdiff to highlight the differences between two versions of a tex document, using the default style which is UNDERLINE. This style formats added text in blue with a wavy underline, and ...
4
votes
3answers
63 views

Keep text with previous line - LaTeX equation and next sentence

What I am trying to do is probably very similar to the "Keep with next/previous" in MS Word. I have an equation and its description in two consecutive lines. I would like the two lines to shift to the ...
2
votes
1answer
47 views

Latex advanced scripting commands within document

I'm relatively new to Latex and I'd like to know if there is the possibility to include in the .tex document instructions to the compiler to make the compiling process a bit cleaver. For example, I'd ...
6
votes
3answers
80 views

SageTeX: Number formatting

The following example: \documentclass{article} \usepackage{sagetex} \begin{document} \sage{0.1*0.1} \end{document} gives which is totally undesirable. A brief googling shows that Sage does ...
1
vote
0answers
75 views

Request: Help recreating a word template for LaTeX

I'm fairly new to LaTeX. I've tried to do this myself for one week and decided I need help. I don't think posting my own code will help, so I'll just get to the point. This (above) is the cover of ...
3
votes
2answers
57 views

How can I create multiple checkboxes next to each other?

I have been able to create interactive checkboxes using the following code by using the \CheckBox{....}\\ However I'm currently stuck and can't figure out to create multiple boxes next to each other, ...
2
votes
1answer
28 views

Landscape and table formatting

I have written a latex code, but the table turns out to be weird. Please help. Thanks! \documentclass[11pt]{article} \usepackage{setspace,amssymb,amsmath} \usepackage[tablename=TABLE,labelsep=newline,...