{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

1
vote
2answers
46 views

How do I number sections by parts? [duplicate]

I guess the title says it all. I want my sections numbered according to the Part I am currently in. For example, if I am working in Part 3, then I want my section to be numbered by 'Section 3.1', ...
0
votes
0answers
35 views

How do I achieve this sort of numbering which mixes alphabets and numbers

I need to prepare a list of items item name ----- A.1 item name ----- A.2 item name ----- B.1 item name is pretty long, so aligning is gone ----- B.2 item name is so long it goes to next ...
5
votes
2answers
47 views

Automatic Formatting of List

I need to put a very long list of lists into LaTeX, hopefully with automatic formatting. For example I have the following list: \{\{7, 2, 6, 5\}, \{7, 2, 6, 6\}, \{7, 3, 1, 1\}, \{7, 3, 1, 3\}, \{7, ...
2
votes
1answer
64 views

How can I change the layout of my page so that it doesn't block everything on one page?

I've been writing my CV in LaTeX and used a template. The issue is that where I've put all my entries into this specific section it's grouped all of my entries together in one block and put them on ...
2
votes
0answers
50 views

How to implement displayed LaTeX format data on Android devices

I'm working on a study that implements displayed format data on Android devices and it's original source code is written in LaTeX format. I'm puzzled. Although there have been Android software for ...
5
votes
1answer
110 views

Break in square root line

I'm having a problem where the line that runs the top length of my square root sign is discontinuous. \begin{equation} N_t(\text{V})=\sqrt{\sum_{i=0}^{n}N_i^2} \end{equation} Yields this... ...
4
votes
2answers
68 views

Heading of paragraph on left side

I want to list something in my document. Each point in the list has a short heading (one word, for example "Usecase"). This word should be on an own column to the left of the text which gets added ...
4
votes
1answer
86 views

How do I make a border for a resume span multiple pages in Latex?

I'm using the package fancybox to create a border around my resume however, I'm not sure how to alter the length and width parameters such that it extends to the portion of my resume on the second ...
1
vote
0answers
41 views

Why there's a page difference between the title of the paper and the abstract? [duplicate]

Can you please tell me what causes a page difference between the title/authors and the abstract? \begin{document} \title{\LARGE Spectral Clustering vs Wavelet Clustering: A Comparative Study} ...
1
vote
1answer
52 views

Why each section is shown in one page rather than in the same page when I use \onecolumn?

I don't know why each section is shown in one separate page when I use \onecolumn rather that the normal (two columns) format. \onecolumn \section{Goals} some text
5
votes
1answer
35 views

How to use \patchcmd to change section size in an AMS Article?

I am trying to change the size of the section title in the AMS Article document class from \normalsize to \large. Here is what I tried: \documentclass[]{amsart} \usepackage{etoolbox} ...
4
votes
1answer
48 views

How to change the appearance of subsections, subsubsections, etc. in an AMS Article?

Suppose I have the following document: \documentclass{amsart} \begin{document} \subsection{Subsection} Content. \end{document} How can I modify the code so that the subsection heading is italic ...
1
vote
1answer
105 views

Remove compress option from beamer between sections (miniframes)

I'm putting together some slides using the Szeged theme. I'm omitting frame titles, and instead using subsection titles to display the desired frame information. In the first section, I would like to ...
4
votes
1answer
28 views

algpseudocode referring to produce in document

Given an algorithm written in algpseudocode: \documentclass{article} \usepackage{algorithm} \usepackage{algpseudocode} \begin{document} \begin{algorithm} \caption{Part 1} \begin{algorithmic}[1] ...
6
votes
1answer
44 views

scaling table vs changing font vs some other approach

subjective, but not opinionated At "normal" font sizes, my tables typically exceed page margins. I am asking for guidelines on how to solve this, having in mind the following: I am an academic and I ...
2
votes
1answer
33 views

How do I get a heading in the upper right hand corner of the first page only?

I'm looking to do homework in LaTeX. I'd like the format to be as follows: A simple enumerated list of the answers (with simple numbers on the same line, not section markers) with a heading on the top ...
5
votes
1answer
95 views

Fitting text to exact specific size

I would like to make my text fit a certain size "box" at a specific location. The two problems I am encountering are as follows: This long string should wrap when it hits the 4.5 inch limit but it ...
1
vote
1answer
68 views

How can I automatically use typewriter font for one column of a tabular?

I'm trying to create a table where everything in one column is in typewriter font. In other words, it should perform like this: \begin{tabular} {| l | p{5cm} |} \hline \multicolumn{2}{|l|}{Sample ...
2
votes
2answers
142 views

Is there a LaTeX style that mirrors Practical Typography's suggestions for research paper layout?

Matthew Butterick of Practical Typography says that his preferred format (and, co-incidentally, the one I have to use for my technical writing class final paper) is one where Page mar­gins ...
3
votes
2answers
85 views

How do I lift the chapter title in Koma-script so it is aligned with chapter prefix?

I currently have this: \documentclass{scrbook} \usepackage{mwe} \renewcommand*{\chapterformat}{\mbox{\chapappifchapterprefix{\nobreakspace}\scalebox{3}{\thechapter}\enskip}} \begin{document} ...
5
votes
2answers
327 views

Prettying up this equation from Mathematica

I like to type in 2d maths into Mathematica and then generate latex code for it. It has been working fine so far until I attempted this expression: TeXForm[HoldForm[ S (k*L) = (4*l + 1)/ 2 ...
0
votes
0answers
41 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
47 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
185 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
129 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
94 views

Changing layout is difficult or easy in LaTeX?

I am new to LaTeX. I am writing 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
62 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
348 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
172 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
20 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
1answer
168 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 ...
0
votes
0answers
45 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
492 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
28 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
102 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
150 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
79 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
58 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
55 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
30 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 ...
11
votes
5answers
378 views

Transform big number into scientific format

I want to convert my big integer number into a shorter form; for example \convert{123456789} = 1.23 x 10^9 Is there any package which allows me to do so?
1
vote
1answer
73 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 ...
3
votes
2answers
103 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
1k 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
60 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
75 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
34 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
117 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
56 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
63 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 ...