{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

3
votes
2answers
58 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,...
0
votes
1answer
20 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
35 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 ...
6
votes
2answers
108 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
35 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
62 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
49 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
25 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
26 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
58 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
40 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
196 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
72 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
116 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
66 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
31 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
72 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 ...
2
votes
2answers
40 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
75 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 ...
4
votes
1answer
50 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
27 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
38 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
27 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
34 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
14 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
113 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
154 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
28 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
24 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 ...
2
votes
1answer
64 views

Separation of two authors using the amsart document class

I want to achieve a similar result to this one (see answer). However, I am using the amsart document class and the result for that code is this: The problem I believe is with the \and command that ...
0
votes
0answers
50 views

Persistent Gap! [duplicate]

I'm working on my paper using MiKTex v2.9 and i came across this odd problem with {proof} environment. Syntax i use for proof is working properly in other areas of text but in one place i encountered ...
1
vote
1answer
23 views

Setting Exact Length for producing a CV

I am currently working on my CV. I found a template online, and the code at the beginning is as follows: \documentclass[margin,line]{res} \oddsidemargin -.5in \evensidemargin -.5in \textwidth=6....
1
vote
0answers
20 views

How to change the line spacing within an equation environment? [duplicate]

see this post Example; \begin{equation*} \begin{aligned} 1 + 2 = 3 \\[3mm] 3 + 1 = 4 \\[3mm] 4 + 1 = 5 \end{aligned} \end{equation*} I find that I'm often adding the [3mm] to the ...
1
vote
1answer
28 views

Incompatibility of \setcounter{secnumdepth}{0} with \titlecontents{section}{\thecontentslabel\quad}{\underline}{}{\hfill\thecontentspage}

The following (other than the \setcounter{secnumdepth}{0}) is taken from User math's answer in Underline the section title text in table of contents. \documentclass{article} \usepackage{titletoc} % ...
1
vote
0answers
39 views

How to correct alignment in exam class page layout?

I'm creating MCQ paper using EXAM class. \begin{center} Section II \newline Multiple Correct Answer Type \newline This section contains 10 Multiple Choice questions. Each question has four choices (...
0
votes
1answer
35 views

Blockquotes in LateX [duplicate]

Is there a way to make pretty, colorful blockquotes in LateX like this? This might be a duplicate of How can I make blockquotes in LaTeX, like Markdown, but I don't like the ugly gray blockquote ...
0
votes
0answers
33 views

llncs computer science format

I'm trying to convert a paper of mine to the LNCS computer science style outlined by springer. I'm struggling on how to do this, i must state i'm not really well versed in the subtleties of latex. So ...
3
votes
1answer
76 views

how to create personalised item warsaw beamer

Am using the warsaw theme in beamer. I want to show this item form: I try this code but it doesn't show me the best result : \begin{itemize}[font=\color{cyan} \large, label=\ding{118}] \item ...
1
vote
1answer
59 views

How to position this tikz figure in the center of a A4paper?

% Mindmap % Author: Stefan Kottwitz % https://www.packtpub.com/hardware-and-creative/latex-cookbook \documentclass[border = 100pt]{standalone} \usepackage[landscape]{geometry} %\usepackage[...
0
votes
1answer
41 views

Problem with formatting Text in Table

Here is my code. Every time I include an image into my table the text in the same row skip lines and start from the bottom, to align itself [the text] with the image. Can you please advise me on how ...
0
votes
0answers
16 views

Exponential Function Problem

I have a problem creating an exponential function in equation mode in Latex. G( V^* ) is not giving out put as G(V*) instead it only gives output as G(V)
0
votes
0answers
12 views

Line break within brackets in Bibtex

When I use Bibtex, I want everything within a bracket to appear in the same line. So, for example, in the attached Bibtex, I want the phrase "Phys. Rev. A" to appear in the same line. You can try and ...
8
votes
3answers
466 views

Wrap a text in a triangle

is it possible to wrap a text inside a triangle like the following image?