{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
1answer
30 views

changing font in a particular environment

For a book, I want to change the default font in the Examples environment (declared in the same way as theorem) to the usual roman (not italic) so that there are not very large areas of italic font. ...
1
vote
2answers
63 views

What is the best way to achieve Figure - Comment structure in article class?

I'm writing my thesis in LaTeX. However, as most of the users do, I face the problem of placing figures. I tried various methods to place figures, and all of them were perfect -- except, when I add ...
0
votes
0answers
28 views

Convert .R into Latex

I'm really new at this and I couldn't found any realted subject. So I've created my .R file where I generate my graphs from my data: barplot(wmaefile$FC,xaxt="n",col="snow2",border="black", ...
0
votes
1answer
19 views

print the chapter number as name in class file latex

I am using a Duke University LaTeX template for master thesis, the template print chapter headers as follows: Chapter 1 chapter name but I want to print it as follows Chapter one: ...
3
votes
2answers
57 views

Problem due to an image inserted in a table

This is my follow up question. My previous question is here: How can I do the following in latex Problem: If I add the image in my table, I get the following output as shown in the image below. Why ...
1
vote
1answer
49 views

How can I do the following in latex [duplicate]

I am new to latex. I have recently started to work with it. I have basic understanding. But still I am trying hard to get the things done. I am struck here. I want some thing like this below on my ...
2
votes
1answer
42 views

Broken automatic line breaking in section titles when ulem and hyperref are used

I am trying to use the ulem package to underline section titles while still being able to have automatic line breaking: \documentclass{scrartcl} \usepackage[normalem]{ulem} \begin{document} ...
2
votes
2answers
73 views

Lots of text in one table cell

I need to place lots of text in one table cell. I tried to use longtable, but it seems to work, say, only on a row basis and gives terrible result in case when one row isn't fit in a page. Something ...
0
votes
0answers
13 views

Bibliograph format for JACS

I am using the journal = jacsat (JACS) format and try to create a bibliograph with BibTex, using the \cite commands. This works, in principle, fine, as far as I can see, but I have noticed a flaw in ...
3
votes
2answers
51 views

Remove label A from Appendix

I'm using the appendix package to format my thesis. The issue is in the naming of the Appendix within the TOC. Currently it looks like this: APPENDIX A LIST OF ...
3
votes
1answer
73 views

I want to write an expression like this, but I've never seen it before.

I want to write an expression almost the same as that in the picture, but I don't know which package should be used and what kind of grammar I should write down. Thank you all!
0
votes
0answers
23 views

How to bold the chapter number

I have removed the "Chapter" text. Now I want to make the number of chapter bold. How can I do this \titleformat{\chapter}{\rmfamily\huge}{\thechapter.}{25pt}{\huge\textbf}
21
votes
3answers
753 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 ...
2
votes
0answers
39 views

align text and figure on same line [duplicate]

my problem is to align text and figure on the same line. I got the basics from this link placed below (placing of tiger). But i was not able to put a caption and label to the figure as figure ...
0
votes
1answer
45 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 ...
0
votes
0answers
13 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 ...
0
votes
0answers
33 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
73 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 ...
5
votes
2answers
44 views

Formatting list of figures with no space on left side

Basically I want this: Abbildungsverzeichnis Abbildung 1: somecaptiontextxxxxxxxxxxxxxxxxxxxxxxxxxxx xxxxxxxxxxxxxxxxxxxxxxxx.........................................................34 ...
2
votes
1answer
29 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 ...
3
votes
0answers
47 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 "." ...
4
votes
1answer
64 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
457 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
47 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
25 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
70 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
106 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
93 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
55 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
137 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
42 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
143 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
87 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
73 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
59 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
69 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
37 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
85 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
48 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
56 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
36 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: ...
98
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
585 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 ...
4
votes
1answer
62 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
42 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 ...