{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
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....
8
votes
2answers
364 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
38 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
22 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
20 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
14 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
68 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
94 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 ...
1
vote
1answer
41 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
17 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
61 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
44 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 ...
5
votes
3answers
66 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
69 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
54 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
26 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,...
0
votes
1answer
19 views

Prettifying headings in sublists

I am putting together a list of exam questions, and I would like to group some of these questions because they share a common topic (for example, they are about different parts of a proof of a large ...
2
votes
1answer
23 views

multiple equations on same line with \midrule not extending to both equations

Hi I want to solve a system of linear equations where you can see the cancellation and I've done that but I want to know how I can put another equation to the right of what I just solved. This is what ...
5
votes
2answers
95 views

Spacing in integrals with LaTeX

I've been teaching myself a lot of calculus through online resources since I've been bored over summer break and will be taking AP Calculus I and AP Physics C next year. When dealing with integrals, ...
1
vote
1answer
31 views

overlapping underline

I would like to underline all occurrences of a factor that appears in a text, e. g. all occurrences of aba in text=abaababa If I use underline, I won't see clearly the three occurrences so what I ...
2
votes
1answer
53 views

MacTex 2016 Formatting Problem

I have recently updated to MacTex 2016. Following the update a mysterious extra wide margin has been added to the Inside and Bottom margin and all text and images on every page is squeezed into the ...
2
votes
1answer
48 views

Formatting idea for 2 rows table

Hey im looking for a solution to format this table in a good looking way. I like the booktabs formatting for tables that read vertically but i want this one to be read horizontally. This is what i ...
3
votes
2answers
24 views

Needing help with “Misplaced \noalign” as well as \centering

So I'm currently on the task of setting up my first table, to use as preset for future documents. While it works, and gives the result I'd like to see (except for {\centering} not working), it does ...
0
votes
1answer
24 views

\titleformat: Rule the underline

I modified \section format to add an underline. How can I reduce the space between the section name and the underline? The code I used is the following. \usepackage{titlesec} % Allows creating custom ...
2
votes
0answers
44 views

Small Caps not working for non-LaTeX font

I'm using a special font called 'Brandon Grotesque' (it has to be exactly that one) for a presentation based on the Beamer class. When trying to get small caps output, it doesn't work. I'm using ...
3
votes
1answer
38 views

Writing a word across the slide

I wish to represent Sparsity across the screen as in the example given below:. Here, is the frame so far: \frame{ \frametitle{What is a word?} \begin{minipage}[c]{.4\linewidth} \hspace{20mm} `...
0
votes
1answer
20 views

How to include each capital of multi-word surnames into abbreviations?

I use alphabetic abbreviations in bibliography. Some authors have surnames with multiple words, such as Eric Colin de Verdiere. I write the entry as author = {E. Colin de Verdiere and A. Schrijver} ...
9
votes
2answers
178 views

How do I get mathbf by default?

I am presenting a paper (not mine) in which almost all math symbols are in \mathbf. I know I can put \boldmath in the preamble but it does not typesets it as the regular \mathbf does (upright). So, ...
0
votes
1answer
24 views

I want to change the chapter name i.e introduction to upper case and want to reduce the spacing between chapter1 and chapter name

\documentclass[12pt]{report} \usepackage{times} \usepackage[a4paper, left=1.25in,right=1in,vmargin=0.75in]{geometry} \renewcommand{\baselinestretch}{1.5} \renewcommand{\chaptername}{...
0
votes
0answers
17 views

Icons for different reference types in beamer [duplicate]

I have listed my references in a beamer presentation using bibtex. How can I get an icon (book icon , online icon, etc.) corresponding to the references? That is, I need a bibliography as shown in ...
3
votes
1answer
69 views

How to typeset shell like output in Latex

I'm trying to achieve a output as shown below with latex NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 32G 0 disk ├─sda1 8:1 0 99M 0 part /boot └─sda2 8:2 0 31,9G 0 ...
-1
votes
1answer
114 views

hi guis iwant to help me [closed]

indeed help me in this problem when I write new subsection enter as shown in table belwo
-1
votes
2answers
64 views

How to fit long equation into a cell of table and how to use table in general

I am using tabular for the first time and found it to be unbelievably difficult to use. But the primary goal for now is to fit a long equation into the cell of a table \pagebreak \section{List of ...
1
vote
1answer
51 views

Issue with Chapters Being Included in List of Figures

I was editing a table of contents earlier this week and, thanks to this forum, was able to get most of the formatting down. This post is still about the table of contents, but now it is in regards to ...
4
votes
3answers
34 views

Formatting this particular array

I'm doing an assignment for my optimization course and I want to present my problem statement in LaTeX the same way my lecturer has in his notes, but I'm not sure how to go about it. This is an ...
3
votes
2answers
29 views

change format of number in \ref

I'm using a custom counter with a newenvironment for the first time and don't quite understand the nuances. The only problem I have so far is that when I use \ref it gets the number I want but not the ...
2
votes
1answer
66 views

Remove Leading Dots in Part of Table of Contents

I am currently struggling with a few table of contents issues on LaTeX. I am trying to remove the leading dots on just one part of the table of contents, creating a consistent double-spacing ...
1
vote
1answer
28 views

How to write R formulas

The R language has formulas of the form (y ~ x) and (y ~ x + z). I have come to know that \tilde doesnt do the trick. How can I write these formulas in latex?
3
votes
4answers
66 views

Side by side checkboxes

I'd like to put some checkboxes side by side, but I don't know how. The only thing I found so far was this for checkboxes, but that's just an explanation for how to do them. How to create checkbox ...
3
votes
0answers
36 views

alternate row colors for only some columns

I'd like alternating row colors for only specific columns (and in a perfect world, also only a subset of rows), with a table using multirow and multicolumn. I've found that putting \rowcolor{COLOR} ...
3
votes
1answer
26 views

Using/Forcing upright text within theorem environment

I would like to write an equation within a theorem that involves an integrand and the upright symbol $ \textrm{d} $ which I have abbreviated in my preamble with \newcommand{\dmath}{\textrm{d}} (...
1
vote
1answer
35 views

Line on the left and right of sections names

I'd like to have lines on the right and left of every section name. Kind of like this but instead of having just a bit of text and adding lines to fill the textwidth, I'd like to have the section name ...
0
votes
1answer
25 views

Table column combine

I want to create a table of the following format. How do I combine the two columns CD into A and EF into B.
1
vote
2answers
30 views

keep text on the right side of an arrow

I draw an arrow and want to write text afterwards over multiple lines. Important is, that the text won't start on the left side of the new line below the arrow, but behind the arrow, where the first ...
2
votes
1answer
43 views

Formulae booklet template

For my classes i am allowed to have a math formulae booklet prepared by myself although the maximum size is two a4 pages. I want to make it as legible and organized as possible thus i want to use ...
0
votes
0answers
11 views

Latex Symbol Scaling in MATLAB publish

After looking through the already answered questions I found a little gem that scales the TEXT itself but not the actual LaTeX symbols. Could someone point me in the right direction? I'd much rather ...
4
votes
2answers
99 views

Overlapping over/underbrace

I wanted to do something like this: How to have overlapping under-braces and over-braces The example given is really great, so I tried it on my own: what I was hoping to achieve is to represent a ...
7
votes
3answers
137 views

Why can't sectsty change the chapter font when it's used with babel package?

I'm using Latex to write my thesis in Hungarian, so I include in the preamble the following: \usepackage[magyar]{babel} Once this is loaded, I get "Chapter", "Figure", etc. in Hungarian and with ...
2
votes
1answer
27 views

Difference in behaviour of glossaries in article and beamer

I'm using glossaries-extra in a beamer-document to typeset acronyms and a glossary. As it is good practice in german texts to italize english technical terms I wanted to do so with some acronyms, too. ...
3
votes
1answer
23 views

Forcing latin alphabet as a footnote mark

in a multilingual document (greek and english) i want to change the footnote mark from arabic numbers to the latin alphabet. here is how i try to do it,but when i compile it with xelatex i get the ...