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

Vertical chapter title in the table of contents

I'm about to write my thesis, and finally decided to do so in LaTeX. I'm still new to it though, and was wondering if something like this is possible in the table of contents: --+ | I | N | ...
0
votes
0answers
19 views

Configuring tocdepth in mini-toc/titletoc of “Legrand Orange Book”-template

I'm fairly new to LaTeX, so ... here is my problem: I am writing a thesis with many subsections in one section and many of such sections in a chapter. This causes the problem, that the area for ...
0
votes
0answers
27 views

Change reference style

I usually find references directly through Web of Science search in Endnote and make my references list. Then each Endnote record contains some unnecessary information such as DOI, URL and notes. ...
0
votes
1answer
73 views

Using Easylist and leaving one entry bullet blank

So I have a checklist using the checkboxes. I want to make occasional ones not have the check box because there are several indented checkboxes I want to choose from. I see Choosing the bullet of a ...
0
votes
1answer
102 views

Problem with crosswords

While making a crosswords in LaTeX, I found out I am unable to do two things: A part of it must be blue. Two letters must be visible in the unsolved version. Can anybody tell me how to do these ...
0
votes
1answer
30 views

list all 3 to 5 author names in the first in-text citation using apacite

I use \usepackage{apacite} in the preamble (sublime 2 editor) and \bibliographystyle{apacite}. I did not have to manually install the apacite package. For in-text citations of 3 to 5 authors, I need ...
1
vote
1answer
93 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: ...
6
votes
1answer
57 views

How do I change the size of a matrix within a matrix?

I am trying to make the inner matrix the same size as the 0, i.e. the large matrix should have two equally sized components, a 0 and a small matrix (1,0). Here is my MWE ...
3
votes
2answers
89 views

How to use \underline and \emph over several words with gb4e?

How can I underline several words in a gloss without messing up the alignment? Here is an MWE. \documentclass{article} \usepackage{gb4e} \begin{document} \begin{exe} \ex[*]{\gll Me ...
0
votes
1answer
19 views

TOC Spacing between number and header [duplicate]

How do I increase the spacing between the subsection number and header name in the table of contents. I am using www.sharelatex.com. When I have a large number of subsections the section numbers and ...
3
votes
3answers
68 views

Writing manual summation of two numbers

How would you write a manual summation of numbers in TeX? That is, something like this(not necessarily identical):               ...
2
votes
1answer
87 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
76 views

Same command is used more than one number of time but i am getting only last output

I am defined \editor{strong text} and \reviewer{strong text} command is used more than one number of time. But, I am getting only last \editor{Some Text} command output. My class file defined this ...
2
votes
1answer
25 views

Using default values in arguments in marginsize command

I am using the resume document class to write my resume. Since I want to make my resume fit in one page, I would like to decrease the spacing at the top of the document but keep the bottom, right ...
1
vote
1answer
27 views

Change some basic details about document type resume

I am writing my resume and using template "9b" from this website. However, there are a couple of items that I would like to modify. Here is the .tex file and corresponding screen-shot after ...
5
votes
1answer
58 views

Long form of acronyms capitalized in section headings

I use the glossaries package and defined headers often in section titles. In general I keep the first letter of each word in the headings in capital case, but if an acronym occurs the first time, it ...
5
votes
3answers
69 views

how to change the font of the number after theorem

I want to change the font of the number to \itshape, for example, I want to get Theorem {\itshape 1.1}. Is there any way to do it in the theorem environment
3
votes
1answer
73 views

How to blend two different documents?

Below is document one with its associated .lco file: .lco \ProvidesFile{standard.lco}[% 2002/07/09 v0.9a LaTeX2e unsupported letter-class-option] \usepackage[english]{babel} ...
7
votes
3answers
180 views

How can I format the formula

Hi I need to give the syntax of a formula as a figure. How can I format it \begin{figure}[h] Formula $\to$ PrimitiveFormula $\vert$ (Formula Connective Formula) $\vert \neg$ Sentence $\vert$ ...
3
votes
1answer
25 views

Procedure name with small caps in algorithm2e

I know that procedure in algorithm2e only allows captions like \caption{ProcedureName()}. However, I'd like my procedure to appear in small caps: \documentclass[12pt,a4paper]{article} ...
0
votes
0answers
40 views

Adding references to cv

https://www.writelatex.com/2006263vsgfgk#/5055479/ I want to add references to a resume template. In order to do this I added : \section{References} \cvdoublecolumn{\cvreference{Nicolai ...
10
votes
3answers
3k views

How can I create a Chicago Manual of Style formatted document in LaTeX?

I have an assignment which requires me to use CMS formatting, double spaced, in 12pt font. I'd rather avoid using the much inferior "Word" or "Writer" programs -- in particular I like how LaTeX ...
2
votes
1answer
62 views

How do I ensure that linebreaks in URLs occur at the right position?

I am writing my survey report using LyX. In my bibliography section, there is unusual behavior in my pdf. One reference breaks the margin. This is the issue You can see that one line is out of ...
2
votes
1answer
30 views

How can I maintain TeX code layout when pasting into a LyX ERT inset?

When I paste TeX code from a text editor in an ERT inset in a LyX document, the text layout from the text editor is lost, I have to enter the newlines and the tabulations manually in order to regain ...
6
votes
2answers
32 views

Bring down words from theorem

I have a theorem that goes like this: \documentclass[12pt]{book} \begin{document} \newtheorem{definition}{Definition}[section] \begin{definition}[Integers] Integers are positive and negative ...
0
votes
1answer
30 views

Adding picture in write latex

I have been using kile as latex editor but I found some errors and couldn't overcome with that so I i am trying to compile my tex file in write-latex. But the online editor is showing that picture is ...
1
vote
1answer
40 views

Rotated Text in Table Extending into Rows in Lyx

I'm trying to create a table with some rotated text in it, but the rotated text is extending into the rows below the cell, as shown here: Here is what my screen looks like in Lyx: I've tried ...
4
votes
2answers
165 views

Missing character: there is no 'x' in font nullfont

I want to generate an image from a Tex file. I use a template and then programmatically insert LaTeX inside it. For example, if I want to create an image for x^2 + \phi, this would be the resulting ...
0
votes
0answers
17 views

JaxoDraw in Latex, \Line incorrect

I drew a feynmann diagram in JaxoDraw, however, when I want to compile it in Latex, it gives me the error that: ! Use of \Line doesn't match its definition. Can someone please help me? Thanks! ...
3
votes
2answers
111 views

Chapter template

What I want: What I already have: Can someone help me to recreate this kind of chapter heading (first pic)? All help is welcome! Code for the second picture: \documentclass[ ...
3
votes
2answers
43 views

Placing Two Generic Tables Beside Each Other

I have two tables that are virtually identical and look like so: \begin{table}[!ht] \fontsize{8}{8}\selectfont \caption{caption$.} \label{label} \center{ \begin{tabular}{|c|c|c|c|} \hline ...
2
votes
2answers
31 views

Image inside exam environment above question

I am wondering how can I fix the constant problem in inserting an image for a question. When I insert the image, I always have the image being above the question number. I want the question number to ...
5
votes
0answers
121 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 ...
5
votes
1answer
151 views

Add box to labeled sections

I want to add a box to a repeated section of a textbook, which provides question discussions. Is it possible to do it by adding "tex style setting" command(s) to the preamble? I am using the memoir ...
5
votes
1answer
81 views

Format Name of Video codecs

I'm currently writing my Masterthesis for a german University. I used a few different codecs in my work (like H.264). What is the correct/sensible way to write them in my Latex Document? Examples of ...
0
votes
0answers
37 views

Latex wont show any of my references and just adds [?] where I have cited?

I have made a bibliography 'Mybibliography' saved as a .bib file properly in the same folder as my .tex file and I try to run it each time by: PDFLaTeX, BibTeX, PDFLaTeX, PDFLaTeX. But it simply wont ...
5
votes
2answers
348 views

Trouble with Bible Style page header lines

I'm attempting to typeset a Bible for my mom and I'm running into a few problems and I was hoping someone here could help. First I'll start with the easy question. I'm currently using two columns ...
1
vote
0answers
35 views

How to automatically vertically center text in Lyx?

I have the following table in Lyx: Here is how it looks in Lyx: I want the text "My words" to be automatically vertically centered. I also want the text for the items that are rotated to be ...
2
votes
1answer
115 views

Journal of Fluid Mechanics Class Constraints [closed]

I am trying to format a paper to be consistent with the JFM style guidelines. I am using the JFM Latex class provided on the website. However, this class appears to be forcing a format that is not ...
2
votes
0answers
45 views

Adjusting Text Vertical Space between lines in Tikz

I have this flowchart and the preamble is set to add a vertical space between lines and when I compiled this flowchart it follwed the preamble i guess. how can I adjust the vertical spaces of lines ...
5
votes
3answers
1k views

Glossaries: Make a glossary entry recognizable in printing

How do you make it visible to the reader that the printed word/term is an entry in the glossary? In my PDF on the computer, I just see it because I use the hyperref package and there's a red box ...
2
votes
2answers
41 views

Removing indentation from macro

I've created two macros for my math book project. One is an enumerate environment that numbers problems as "Example 1.1" and so on. The other is a command that writes metadata about each problem to ...
3
votes
1answer
31 views

How to: height of “|” depends on both sides

I want that a vertical line depends on the height of the signs to its left and to its right: i.e. \documentclass{article} \begin{document} \begin{equation} \left. AAAA \right| BBBB ...
4
votes
2answers
187 views

What is the simplest way to get graphs for each answer choice like in the example below

I am trying to make an exam with multiple questions having graphs as answer choices. I want them to be aligned as shown below. Thank you in advance!
3
votes
1answer
358 views

How to display sine squared more compactly

If I have: \sin ^2(\theta ) My output is: This output just have too much space between the power and the parenthesis. How could I change this?
5
votes
2answers
104 views

How do I get my subsection to not appear bold and with no period at the end?

This is what I have for my codes: \section{MAIN RESULTS} \subsection{Graphical Analysis} I am getting this in the pdf: Instead I want the subsection in Italic non-bold form with no period at the ...
6
votes
1answer
183 views

Maintaining structure Workbook style

--Revised-- I am looking at a math workbook for teenagers. This one has the following structure: 1.Main Chapter 1.1 Subchapter 1.11 Task 1 a) problem 1 b) problem 2 c) problem ...
2
votes
1answer
77 views

Reduce space between footnote and page number

I am fairly new to LaTeX so please bear with me. I am trying to reduce the space between the footnote and the page numbering (see screenshots in the attachment). What command will do the trick? ...
6
votes
1answer
131 views

How to change the shape of reference numbers in the bibliography

I have the following document. After compiling the document, the reference number in the bibliography appears as [ 1 ]. I would like to know if it would be possible to do the following customizations ...
2
votes
1answer
27 views

Centering Headings - list of contents - but not chapters

I need to center some sections using normal size fonts in the front sections of a document, but not the chapter headings. So, I need a "Contents" and "List of Tables" and "List of Figures" centered ...