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

Compile full project in main folder and partial chapters in subfolders

I have a project like this Project/ MakeFile main.tex bibliography.bib Chapter_1/ file.tex figs/ Chapter_2/ file.tex figs/ ... Chapter_n/ file.tex figs/ When ...
13
votes
2answers
599 views

Automatic bold for every first character of a line

It's possible to do this Lorem ipsum dolor sit amet, consectetur adipisci elit, sed eiusmod tempor incidunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis ...
0
votes
0answers
24 views

Landscape header formatting

Hello I am really new at this. I am trying to obtain a a4 landscape orientation header like this... Could anyone helpme with the code? thanks a lot
2
votes
2answers
57 views

overline over no text

Suppose I want to have the function $\bar: A \to B$ where instead of $\bar$ it's a longer bar. What is the proper way to do this? Note that the bar here is floating on top of no text. It's just ...
4
votes
2answers
34 views

Formatting list of figures with no space on left side

Basically I want this: Abbildungsverzeichnis Abbildung 1: somecaptiontextxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx.........................................................34 ...
2
votes
1answer
22 views

Same style (eg., Bt Charter, no bold style) between chapter/section/etc and ToC/LoF/LoT

I recently noticed the difference between the chapter/section/subsection font style and those in ToC, and also the style in LoF and LoT, it seems that bold style is dominant in the latter. What is the ...
2
votes
0answers
38 views

Formatting the Table of Contents (Remove “Page”, add periods)

I would like to remove the column heading "Page" from the table of contents. I have looked around and cannot seem to find an answer (or a similar question). I would also like to add a period "." ...
3
votes
1answer
61 views

Automatic versewidth

verse package has \settowidth command to center a poetry. Example: \settowidth{\versewidth}{There was an old party of Lyme} \begin{verse}[\versewidth] There was an old party of Lyme \\ Who married ...
1
vote
2answers
451 views

How to let glossaries display “long form (abbreviation)” in the list of acronyms?

This is a pontentially dumb question, but I fail at making glossaries print the long form accompanied by the abbreviation in the list of acronyms. Let this be the document (should be self-contained): ...
2
votes
1answer
46 views

“songs” package, author font

I'm creating my own songbook with songs package. I would like to customize font of song author beneath song title. I searched the documentation and only found option to change song title font ...
2
votes
1answer
39 views

Should I make white spaces between the lines?

I don't know difference between two following codes: \documentclass{article} \begin{document} The first line. The second line. The third line. \end{document} and \documentclass{article} ...
2
votes
1answer
81 views

Formatting help: vertical rule, headers

I am trying to reproduce the famous employee handbook from Valve. It looks like this: I'm making progress, but am stumped on three issues. 1) How to make my vertical line separating pages continue ...
4
votes
1answer
22 views

Resume header - format the line in the header

In resume class, when the file is created in the header is a long horizontal line. And this line appears on every page. How can I format the header to have the line only on the first page, but not on ...
3
votes
1answer
65 views

Given a 3x4 table of images, how do I make all the images the same size and remove vertical space so the table looks seamless?

I'm using a table to format a series of images. My goal is to create an image array where the transition from one figure to the next is seamless i.e. no white space anywhere. My problem is that the ...
3
votes
0answers
105 views

Hopeless table formatting [closed]

I have a document where I enter a command \tab and that creates a table for me. The right part of the table always stays the same and the left part of the table is entered with arguments of the \tab ...
1
vote
0answers
35 views

Wanting to expedite formatting

I have a long LaTeX document and in TeXworks, I want to be able to put dollar signs around things that should be in math mode without going through line by line and manually typing dollar signs. Even ...
0
votes
0answers
92 views

Formatting typographer's quote marks

This question has been asked before. But, I have not found a solution. I have a problem related with quotation marks. A MWE is: main document: ...
2
votes
2answers
54 views

\part and \thispagestyle{empty}

I have a Part page in my document where I want to hide the page number. I am using: \part{Beginning} \thispagestyle{empty} on the Part document. However, the page number still appears. I've tried ...
2
votes
3answers
131 views

Difficulties implementing Equations

I am trying to write this equations in TeXnic Center, but so far, I am not very successful. The equations I want to write are here: ...
0
votes
1answer
41 views

Fine-tuning footnote style

I need to get a grip on a custom footnote command that could be sum up by this couple of xparse commands: \documentclass[11pt, a4paper, frenchb]{report} \usepackage{xparse} ...
4
votes
1answer
131 views

Customization of the Copenhagen theme

I am preparing slides for my zeroth review (Project) using LaTeX. Now, I am very much appealed by this theme: . The theme's link is given here: link. But, It is not available. I got the base theme ...
4
votes
1answer
83 views

Customizing the navigation bar

I was wondering how I can customize the sidebar such that it only shows the current section and subsections that I am currently presenting and how can I remove the navigation bar from the title slide. ...
3
votes
1answer
72 views

Report custom format

I'm new to LaTeX and I want create a report for my college. The format specified is as follows: Left Margin – 1.5 inch Right Margin - 0.5 inch Top Margin – 1 inch Bottom Margin – 1 inch ...
4
votes
2answers
56 views

How to set fit height and width for tcbox according to the text inside?

I want to place a word into a \tcbox, but the box has too much space around the word. For example, the word "EQUAL".
2
votes
1answer
68 views

Text in table is defaced for no apparent reason

I made this table (now is modified to reproduce the problem described on Edit 1): \documentclass[11pt]{article} \usepackage[spanish,mexico]{babel} \usepackage{arabtex} \usepackage{utf8} ...
21
votes
3answers
15k views

How can I make a horizontal dashed line?

How can I make a horizontal dashed line in LaTeX? Just writing lots of single dashes results in a continuous horizontal line.
5
votes
1answer
35 views

Referring to correctly-styled algpseudocode procedure name in document

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

Display a breve over several letters

I'm writting with a very dumb question, buy I haven't been able to find anything regarding this topic, nor think of a more general topic to look into. I'm trying to have a \breve which scales ...
2
votes
2answers
43 views

How to manage chapter title position with a background picture?

I wrote the following code in order to design a chapter title but there is two things I did not succeed to do. \documentclass{book} \title{Titre de la thèse} \author{moi} \date{\today} ...
3
votes
1answer
55 views

Formatting code into the style used in Stackoverflow

I know that there is minted and listings for displaying nice code in .tex documents. However, I'd like to use the style that is used for Stackoverflow code: example. Are there any packages for this, ...
4
votes
2answers
33 views

Latex listings package, issue with caption touching the frame and junk character instead of space

I am using listings package and facing two issues Following is the LaTeX code and output \lstset{language=Java, basicstyle=\small, frame=single, breaklines=true, ...
1
vote
1answer
47 views

LaTeX formatting error

I've converted a word document to LaTeX but when I write : "BELLARE , M , ..." Latex shows me: "... , M , BELLERE" What's the error and how to solve it? part of text: ...
96
votes
4answers
4k views

Consistent typography

When working with large documents, or even across multiple (smaller) documents, I often find that I forget which typographical consistencies I should stick to. With TeX being inherently consistent in ...
4
votes
3answers
576 views

Bold one cell in table using CSV reader

Is it possible to bold a single desired cell (or number of cells) using csvreader (besides the head)? Here is an example of making the table. \documentclass{article} \usepackage{csvsimple} % Make ...
3
votes
1answer
55 views

How to underline a section's title without using the sectsty package (memoir class)?

Can anyone tell me how to underline a section's title without using the sectsty package please? Indeed I am using the memoir class which prohibits this package. Thank You.
1
vote
0answers
40 views

How to properly space unicode ellipsis?

Please note the discussion at the end of this thread. After discussing the tex codes \ldots et al, a commenter points out that there is a unicode code point for an ellipsis. However, on my document ...
7
votes
1answer
192 views

Tufte style table of contents in article class

I want to create a tufte-book style ToC, very similar to how Gonzalo Medina made something in this request: Pretty Table of Contents So far this is what I got: \documentclass[letterpaper]{article} ...
4
votes
1answer
36 views

Reducing the distance in textbf environment

I want to introduce a notation for concatenating vectors in a manuscript that I represent vectors with bold characters, $\textbf{x}$. The problem is defining it like $\textbf{x}:\textbf{y}$ introduces ...
2
votes
2answers
60 views

Beamer: How to format both frametitle and framesubtitle

I wish to customize the appearance of both my frametitle and framesubtitle. However when I try to do so, only the frametitle is rendered. This is a sample code: \documentclass[20pt, ...
6
votes
2answers
113 views

Hanging section - Memoir

I would like to obtain something like this: So far I have this: My MWE: \documentclass[article]{memoir} \usepackage{lipsum} % Layout \settrims{0pt}{0pt} \settypeblocksize{562pt}{330pt}{*} ...
2
votes
1answer
49 views

How to hide references from navigation bar in beamer class?

I am doing a presentation using the beamer class with the Warsaw theme. Further, I have to disclose my bibliography at the end of the presentation. Unfortunately, as soon as I type in \bibliography{} ...
3
votes
1answer
57 views

customizing chapter title format in classicthesis

I'm using classicthesis and I'd like to change the formatting of the chapter title a little bit (f.e. size and color). I think I've found the according part in the classicthesis-style % ...
3
votes
1answer
44 views

Custom floats are not labeled correctly in the listof or text references

I'm new to StackExchange and LaTeX. I am using a custom float for "schemes" using the caption package. The problem I'm having is that the label "Scheme" does not show up when using the \ref command in ...
2
votes
1answer
35 views

change spacedallcaps and spacedlowsmallcaps to something like spacedsmallcaps (classicthesis)

Instead of \spacedallcaps and \spacedlowsmallcaps would like to have big and small capitals (like \scshape) but keep the definitions for space between the letters, size, colour, ... With ...
14
votes
2answers
3k views

\listings code style for HTML5 (CSS, HTML, JavaScript)

I would like to create a code style for HTML5 that can be used with the \listings package. An HTML5 document consists of three languages: CSS, HTML and JavaScript. That makes the whole thing a bit ...
12
votes
2answers
756 views

Typesetting email with internet-style quoting using LaTeX?

I'm wondering if there exists a package, that would take so-called Internet-Style Quoted plain text of an email, and format it accordingly for a PDF output. Internet-style quoting is discussed on the ...
2
votes
2answers
49 views

Adding a dash between words in List of Figures

Yesteday I was Searching in this site some help to construct my dissertation, my trouble was modify the style of the list of figures in LaTeX, more specificaly, add the word "Figure 1" before each ...
1
vote
0answers
28 views

using macro to identify “line breaks” as properties separator, “:” colon as properties name separator, and “-” hyphen as description

Here I have created document as per requirement. But I need to use macro in specific way. Here is my document : ...
2
votes
1answer
43 views

How to add horizontal line after references (biblatex) and glossary title?

I need to have horizontal lines after each title. For table of contents this works with: \renewcommand{\cftaftertoctitle}{\vskip 3em \auftaktvz} and ...
2
votes
1answer
83 views

How to replicate this chess-related list formatting?

I'm trying to create a chess-repeated document. I already understand how to use the skak package to put chess piece symbols in my documents. My current question is more pedestrian. I would like to ...