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

Problem with defining parenthesis command in Texmaker

I am new to LaTeX and have been trying to redefine the \left( command to become \(. for some reason TeXmaker won't let me do this, it keeps telling me that \( is already defined but then when I type ...
1
vote
0answers
41 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: ...
7
votes
2answers
130 views

Bold the last name of the first author in a biblatex bibliography

I am new here, so please bear with me. I would like to make the last name of the first author only in the bibliography boldface, i.e., in the MWE I want "Fox" in the bibliography only (not the ...
4
votes
2answers
109 views

Is there any easy way to put boxes around text of selected pages with the page number below the box?

I'd like to be able to create boxes around a whole page or selection of pages with the box extending the full length of the page but with the bottom edge of the box above the page number as in the ...
4
votes
0answers
60 views

Changing layout is difficult or easy in latex?

I am new to latex. I am writting an article in Latex but at the moment i am not sure what should be the final layout of my article so, i am writing it in IEEEtran format. I thought that it would be ...
3
votes
2answers
45 views

Impossible to select text and, then, autoformat it with Emacs+AUCtex

With Emacs+AUCTeX, I was able to select text (with the shortcut CTRL+SPACE) and, then, format this text. For example, it was possible to select a sentence (the text is highlighted) and to press C-c ...
9
votes
3answers
272 views

Writing an equation with the units positioned off right

Okay so I have a have a lot of equations in the document I am writing and I am trying to display the units of an equation off to the right. I was wondering how I can achieve this? Right now, all I ...
2
votes
2answers
119 views

Problem with the \mathbf command

In this MWE, I want to obtain bold letter for the letter "H" (compare the two "H") : \documentclass[10 pt]{beamer} \usetheme{default} \usepackage{lmodern} % load a font with all the characters ...
0
votes
0answers
19 views

Customizing the height of the cells in a table [duplicate]

I have the following table construction in LaTeX: \begin{center} \begin{minipage}[c]{0.3\textwidth} \vspace{0pt} \begin{tabular}[b]{l||c|c|c|c|c|c} \textbf{0} & \textbf{1} & ...
0
votes
0answers
102 views

Creating paper forms in LaTeX?

I want to create a handout with dotted lines for the recipient to fill in, a little like this. What's the best way to do so? I could imagine doing it as a tikzpicture, but that seems clunky. Is there ...
0
votes
0answers
34 views

Sub-sections related to sections

I'd like to know if it's possible to improve the subsection style of my document. As you can see, I want to have up to four subsections in the "Methods" chapter. For example, documents shows "II. ...
11
votes
2answers
449 views

Package for more creative text formatting in latex

What is a reasonable package to be used for realizing something like the following example (including image altered): The source is ...
1
vote
0answers
26 views

Citing a group of functions in a centered block [closed]

My professor told me that my citation is not placed rightly (see the "[8]" in the picture). I wonder what is the best way to cite a few functions? These functions are centered in my text as you can ...
5
votes
2answers
91 views

TeX causing run-on italicized sentences that break formatting

Total neophyte to TeX, trying to type up a term paper due tonight and I keep getting really weird errors during compile. I'm not sure if this question has been asked before, but I don't really know ...
6
votes
4answers
105 views

An underline with texts one both ends of a line

I want to make a blank between texts on both ends of a line. For example, \begin{enumerate} \item There \hrulefill\ in the room. \end{enumerate} But, the above appears in student's version only, ...
3
votes
1answer
71 views

Head style and Contenst problem

I have two problems in one. I am writing my thesis using the package fancyhdr, and all my chapters look great. However I have to add some parts, which are not chapter but I would like to have the ...
7
votes
1answer
36 views

Line break in siunitx product numbers

I was wondering if there is a way to allow for line breaks within product lists of the siunitx package: \documentclass{article} \usepackage{showframe} \usepackage{siunitx} \begin{document} This is ...
4
votes
1answer
48 views

Trouble Indenting Portion of document

This is my first time giving LaTeX a try, and I decided to have my go at it with my week's math homework. Though most of the document could probably be done in a more efficient manner, I've gone about ...
1
vote
1answer
29 views

Centering causes change in spacing

For some reason when I center the text on my page the spacing to go from single to double. Using the latest LyX I have the following text written in standard. Line 1 Line 2 Line 3 Line 4 When I ...
1
vote
1answer
52 views

Subsection starting in same line as subsection name [duplicate]

Many articles are structured in the following way: 1. [Title of section 1] 1.1.[title of subsection 1.1].text of subsection 1.1 1.2.[title of subsection 1.2].text of subsection 1.2. 2. [Title os ...
2
votes
2answers
95 views

reducing space taken by big math equation

i hve few big equation in my file and they take lot of space. plase help me in reducing their size.i have already tried using \declaremathsizes but it only reduces math font size nt the space it ...
4
votes
2answers
123 views

Format table of contents with LaTex

Is it possible with LaTeX commands, or a LaTeX package, to format the Table Of Contents (TOC) of a book so that the TOC looks like this : Table des matières Chapter I - MyChapter1 I.1 MySection1 ...
1
vote
0answers
41 views

Prefix Appendices in the Table of Content

I am using a predefined Latex-document for my master thesis. I wanted to add some appendicies, so I added some chapters after the bibliography. These chapters appear nicely formated, and are ...
5
votes
2answers
66 views

ConTeXt TABLEs, how to automatically fit table size with text with \setupTABLE

When I type something like \bTABLE \bTR\bTD abc\eTD\bTD abcdefg\eTD\eTR \bTR\bTD 123456789\eTD\bTD 1234\eTD\eTR \eTABLE in ConTeXt, it automatically sets the column widths to fit the text contained ...
1
vote
0answers
31 views

Debian packages

I'm using Moodle and have LaTeX filter enabled, one of teacher will like to use \fs{2} command in LaTeX filter but it is not working. I'm guessing that it is because this library is not loaded. Do you ...
2
votes
3answers
94 views

Efficient way to indicate steps in a derivation

Imagine you're writing up a long derivation, and sometimes, the step to go from one equality to the next is nonobvious (for example, maybe it requires application of a theorem). In such cases, you ...
0
votes
1answer
50 views

standard or recommended font for vocabulary or gloss terms

I'm writing notes for my students and in the present section, the bulk of the content is defining terms. To help make the notes more practical, I put the technical terms being defined in bold so that ...
3
votes
1answer
46 views

Forcing numbered bibliography

I'm using the acmsmall.cls document class. My issue is in that my reference list is coming up unnumbered, yet my \cite{} tags are producing (correctly indexed) number based references. (e.g. [1]) How ...
6
votes
2answers
138 views

Color-coded chapter tabs to match flower colors in a field guide

I am working on a booklet for my wife who is a grade school teacher. The booklet is field guide about the plants in the fairly large playground area at Gemini Elementary. Tufte-Latex is my "go-to" ...
4
votes
1answer
43 views

Format reference to items in nested list with cleveref

I'm using the cleveref package to format references in my documents. However I am having difficulties implementing different formats for labels referring to enumerate-lists, in particular nested list. ...
3
votes
1answer
48 views

How modify the translation of a bibtex field?

When I use the "translator" field in bibtex (with fontspec and Italian as mainlanguage), for example in a entry like the following one: @Book{ apollodoro:2013, author = ...
2
votes
1answer
79 views

Formatting: Numbering paragraphs of sections

I have some problems in writing an article with inequalities. What I want to say: Now, it appears as Cauchy's Inequality 1. Introduction 2. Theorem Bernoulli's Inequality 3. Introduction 4. ...
1
vote
0answers
40 views

HTML/mathjax on arXiv [closed]

have seen some HTML papers on arxiv in the past. is there a standard for HTML+mathjax or HTML+LaTeX papers on arxiv? examples? basically am looking for a less complex version of a paper format ...
1
vote
0answers
31 views

How to disable Emacs+AUCTex formating for a particular chapter

Emacs+AUCTeX formats automatically the titles (section, part, ...) by increasing the font and changing the color. I would like to disable this behavior for one (and only one) chapter. This chapter is ...
4
votes
1answer
105 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?
4
votes
1answer
50 views

Latex: How do I write “\sim_G” but so that the G is directly underneath the “\sim”?

In Latex, How do I write "\sim_G" but so that the G is directly underneath the "\sim"?
5
votes
1answer
97 views

Changing rendering of bibitems in moderncv

I'm using moderncv to style my CV and would like to modify how it renders references. Here's an MWE: \documentclass[11pt,letterpaper]{moderncv} \usepackage{fontspec} \moderncvstyle{casual} ...
4
votes
1answer
212 views

Formatting chapter headings using the titlesec package

I'm trying to do a very simple task but I'm a beginner in LaTeX, so I have some doubts. I'd like to change the chapter style. Instead of Chapter 1 Introduction I'd like to have C H A P T E R 1 ...
9
votes
3answers
150 views

How to make or add options for packages or functions

I'm using at this moment the Piano Package. This Package is a little limited so I want to change a few things. The standard color of the dots is orange. I want to change this in different situations. ...
2
votes
1answer
86 views

How to have bold font in mdframed environment?

I did not find bold word in the manual. My tex is: \documentclass{article} \usepackage[framemethod=tikz]{mdframed} \newtheorem{question}{Question} \mdfdefinestyle{que}{ linecolor=cyan, ...
8
votes
2answers
72 views

How do I vary the height of braces without varying the width?

I am trying to highlight pieces of a formula with some text on the side, but one of those pieces is multiple lines. The solution that I came up with was to use braces in an array to highlight the ...
6
votes
3answers
110 views

LaTeX errors in Formatting

I want to print this text : make -j 5 KDEB_PKGVERSION=1.yourcustomname deb-pkg But I feel because of the underscore , LaTeX generates an error missing $ inserted and it doesn't print it as well. ...
5
votes
1answer
37 views

Using \newcommand to format numbers/strings according to a pattern [duplicate]

I'm an aspiring LaTeX user and have so far managed the first steps and created my first few documents. Coming from a programming background I've been wondering how you could use \newcommand to create ...
5
votes
3answers
116 views

When to break lines? [duplicate]

I am very new to LaTeX. A newline in the input file does not mean anything to LaTeX. An empty line in the input file means a new paragraph. Trouble is, when I view my sources with different text ...
4
votes
2answers
57 views

Working in Landscape Orientation to make a To-Do List

I'm essentially trying to re-create the following (Which may have been created in Microsoft Word) with LaTeX. I have figured out how to get into landscape orientation but it goes down onto a new page ...
3
votes
1answer
54 views

break down section and subsection as only section on the header on the beamer

How can we break down section and subsection as only section on the header on the beamer? For example, AA is from section and DATA is from subsection. \section{AA} \subsection{DATA} Is it ...
4
votes
1answer
79 views

How to add/insert a rule in the headline and footline

all: When we use the specified format from beamer, \documentclass[compress]{beamer}, how do we add/insert a black line above the headline and under the footline into each slide? ...
2
votes
1answer
37 views

Coloring \underbracket?

Can I color just the \underbracket in text or presentation, without coloring the entire text and subtext contained in it? Because {\color{red} \underbracket{Some text}_{Some other text}} will color ...
4
votes
1answer
50 views

Koma script: Restore default chapter style

I want to have for just one chapter a special chapter heading format. So I use the command \setkomafont{chapter}{\centering\large\rmfamily} and then I want to revert back to the default chapter ...
3
votes
1answer
68 views

Formatting text inside minipage

If I use \begin{textbf} and \end{textbf} (for example) inside a minipage, it seems to apply only to the first character. Here's a simple example: \documentclass{article} \begin{document} ...